Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002079/0.002079, allocations: 210.8 kB / 24.49 MB, free: 3.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.494/1.494, allocations: 230.6 MB / 258.3 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2401/0.2401, allocations: 46.97 MB / 361.6 MB, free: 4.051 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002275, allocations: 67.89 kB / 0.4974 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3553, allocations: 66.03 MB / 0.5618 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01068/0.3659, allocations: 7.659 MB / 0.5693 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005701/0.3716, allocations: 2.188 MB / 0.5715 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008007/0.3724, allocations: 43.94 kB / 0.5715 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00331/0.3758, allocations: 1.495 MB / 0.573 GB, free: 8.742 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001211/0.377, allocations: 493.3 kB / 0.5734 GB, free: 8.258 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.3772, allocations: 71.84 kB / 0.5735 GB, free: 8.188 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001097/0.3783, allocations: 0.937 MB / 0.5744 GB, free: 7.246 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00171/0.38, allocations: 1.205 MB / 0.5756 GB, free: 6.016 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007974/0.3808, allocations: 0.5411 MB / 0.5761 GB, free: 5.473 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001214/0.3821, allocations: 0.7161 MB / 0.5768 GB, free: 4.754 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002085/0.3823, allocations: 119.9 kB / 0.5769 GB, free: 4.637 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003213/0.3826, allocations: 124 kB / 0.577 GB, free: 4.516 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007197/0.3833, allocations: 0.7439 MB / 0.5778 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000661/0.384, allocations: 0.6445 MB / 0.5784 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002944/0.3869, allocations: 2.351 MB / 0.5807 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3869, allocations: 0 / 0.5807 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3869, allocations: 0 / 0.5807 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.562e-05/0.387, allocations: 0 / 0.5807 GB, free: 0.7617 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.00292/0.3899, allocations: 1.926 MB / 0.5826 GB, free: 14.8 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.3899, allocations: 8.031 kB / 0.5826 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000572/0.3905, allocations: 227.4 kB / 0.5828 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.3918, allocations: 0.6664 MB / 0.5835 GB, free: 13.87 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.3919, allocations: 115.4 kB / 0.5836 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000204/0.3921, allocations: 154.2 kB / 0.5837 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004539/0.3966, allocations: 3.379 MB / 0.587 GB, free: 9.895 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.356e-05/0.3966, allocations: 15.88 kB / 0.587 GB, free: 9.879 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002311/0.3969, allocations: 71.94 kB / 0.5871 GB, free: 9.809 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007784/0.3977, allocations: 0.6188 MB / 0.5877 GB, free: 9.191 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003034/0.4007, allocations: 1.869 MB / 0.5895 GB, free: 7.32 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01299/0.4137, allocations: 12.41 MB / 0.6016 GB, free: 10.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.4138, allocations: 177.1 kB / 0.6018 GB, free: 10.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.255e-05/0.4138, allocations: 80.14 kB / 0.6019 GB, free: 10.22 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.4139, allocations: 75.28 kB / 0.602 GB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.108e-05/0.4139, allocations: 105.8 kB / 0.6021 GB, free: 10.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.154e-06/0.4139, allocations: 0 / 0.6021 GB, free: 10.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002178/0.4142, allocations: 136.9 kB / 0.6022 GB, free: 9.895 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.4142, allocations: 51.41 kB / 0.6022 GB, free: 9.832 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001851/0.4161, allocations: 1.442 MB / 0.6036 GB, free: 8.379 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.4161, allocations: 29.7 kB / 0.6037 GB, free: 8.344 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001152/0.4172, allocations: 1.447 MB / 0.6051 GB, free: 6.879 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.286e-05/0.4173, allocations: 43.95 kB / 0.6051 GB, free: 6.836 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005245/0.4178, allocations: 423.2 kB / 0.6055 GB, free: 6.414 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.418, allocations: 337.9 kB / 0.6059 GB, free: 6.078 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005437/0.4185, allocations: 375.8 kB / 0.6062 GB, free: 5.707 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00196/0.4205, allocations: 1.925 MB / 0.6081 GB, free: 2.965 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002947/0.4234, allocations: 2.511 MB / 0.6105 GB, free: 15.65 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.021e-05/0.4234, allocations: 20 kB / 0.6106 GB, free: 15.63 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.00335/0.4268, allocations: 2.1 MB / 0.6126 GB, free: 13.52 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.399e-05/0.4268, allocations: 32 kB / 0.6126 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.914e-05/0.4269, allocations: 56 kB / 0.6127 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.492e-05/0.427, allocations: 72 kB / 0.6128 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/0.4283, allocations: 491.1 kB / 0.6132 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.499e-05/0.4284, allocations: 107.6 kB / 0.6133 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.4297, allocations: 306.2 kB / 0.6136 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001474/0.4298, allocations: 140 kB / 0.6138 GB, free: 12.34 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * Number of states: 0 () * Number of discrete variables: 39 (world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],cone.color[3],cone.color[2],cone.color[1],spring.color[3],spring.color[2],spring.color[1],gearwheel.color[3],gearwheel.color[2],gearwheel.color[1],beam.color[3],beam.color[2],beam.color[1],pipe.color[3],pipe.color[2],pipe.color[1],cylinder.color[3],cylinder.color[2],cylinder.color[1],sphere.color[3],sphere.color[2],sphere.color[1],box.color[3],box.color[2],box.color[1],fixed.color[3],fixed.color[2],fixed.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 260 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001132/0.431, allocations: 0.8627 MB / 0.6146 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/0.4312, allocations: 216.2 kB / 0.6148 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001854/0.4313, allocations: 210.1 kB / 0.615 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-05/0.4314, allocations: 180.3 kB / 0.6152 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.359e-05/0.4315, allocations: 105 kB / 0.6153 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000241/0.4317, allocations: 204.2 kB / 0.6155 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/0.4319, allocations: 184.2 kB / 0.6157 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.4321, allocations: 101 kB / 0.6158 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.4323, allocations: 192.2 kB / 0.6159 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001945/0.4324, allocations: 251.5 kB / 0.6162 GB, free: 9.789 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004198/0.4329, allocations: 488.1 kB / 0.6166 GB, free: 9.289 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.385e-05/0.4329, allocations: 104.9 kB / 0.6167 GB, free: 9.18 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001323/0.4343, allocations: 0.8045 MB / 0.6175 GB, free: 8.371 MB / 462.1 MB Notification: Performance of Backend: time 5.01e-07/0.4343, allocations: 0 / 0.6175 GB, free: 8.371 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001765/0.436, allocations: 0.9474 MB / 0.6185 GB, free: 7.434 MB / 462.1 MB Notification: Performance of SimCode: time 0.005232/0.4412, allocations: 3.659 MB / 0.622 GB, free: 3.711 MB / 462.1 MB Notification: Performance of Templates: time 0.02074/0.462, allocations: 9.029 MB / 0.6308 GB, free: 10.81 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.33341552499769]