Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001547/0.001547, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001668/0.001668, allocations: 156.9 kB / 24.26 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 177 MB / 204.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3962/0.3962, allocations: 34.25 MB / 295.2 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.707e-05/3.907e-05, allocations: 8.844 kB / 377.2 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01192/0.01196, allocations: 7.671 MB / 384.9 MB, free: 11.2 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006547/0.0185, allocations: 2.188 MB / 387.1 MB, free: 9.008 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00166/0.02016, allocations: 47.88 kB / 387.1 MB, free: 8.961 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003855/0.02402, allocations: 1.604 MB / 388.7 MB, free: 7.352 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001694/0.02571, allocations: 0.489 MB / 389.2 MB, free: 6.859 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004812/0.02619, allocations: 75.77 kB / 389.3 MB, free: 6.785 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001741/0.02793, allocations: 0.96 MB / 390.2 MB, free: 5.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002189/0.03012, allocations: 1.236 MB / 391.5 MB, free: 4.559 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001865/0.03199, allocations: 0.8067 MB / 392.3 MB, free: 3.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001452/0.03344, allocations: 0.6192 MB / 392.9 MB, free: 3.129 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00039/0.03383, allocations: 116 kB / 393 MB, free: 3.016 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006192/0.03445, allocations: 132 kB / 393.1 MB, free: 2.887 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00105/0.0355, allocations: 0.7829 MB / 393.9 MB, free: 2.102 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001017/0.03652, allocations: 0.4906 MB / 394.4 MB, free: 1.609 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003483/0.04, allocations: 2.257 MB / 396.7 MB, free: 15.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.04001, allocations: 0 / 396.7 MB, free: 15.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.04001, allocations: 0 / 396.7 MB, free: 15.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001278/0.04014, allocations: 0 / 396.7 MB, free: 15.34 MB / 378.7 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.004688/0.04482, allocations: 1.9 MB / 398.6 MB, free: 13.4 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.04486, allocations: 8.031 kB / 398.6 MB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009483/0.04581, allocations: 351.4 kB / 398.9 MB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.04709, allocations: 0.6657 MB / 399.6 MB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.04723, allocations: 115.4 kB / 399.7 MB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000225/0.04745, allocations: 152.2 kB / 399.8 MB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005469/0.05292, allocations: 3.376 MB / 403.2 MB, free: 8.387 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-05/0.05297, allocations: 23.75 kB / 403.2 MB, free: 8.363 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001605/0.05313, allocations: 71.94 kB / 403.3 MB, free: 8.293 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009355/0.05407, allocations: 0.6149 MB / 403.9 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003823/0.05789, allocations: 1.866 MB / 405.8 MB, free: 5.809 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01453/0.07243, allocations: 12.4 MB / 418.2 MB, free: 8.988 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.07258, allocations: 165.1 kB / 418.4 MB, free: 8.816 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.065e-05/0.07265, allocations: 84.14 kB / 418.4 MB, free: 8.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.885e-05/0.0727, allocations: 79.27 kB / 418.5 MB, free: 8.652 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.831e-05/0.07277, allocations: 109.8 kB / 418.6 MB, free: 8.535 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 2.645e-06/0.07278, allocations: 0 / 418.6 MB, free: 8.535 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0002985/0.07308, allocations: 136.9 kB / 418.8 MB, free: 8.395 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.07318, allocations: 130.7 kB / 418.9 MB, free: 8.254 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002158/0.07534, allocations: 1.45 MB / 420.3 MB, free: 6.793 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.07536, allocations: 25.7 kB / 420.4 MB, free: 6.762 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001404/0.07677, allocations: 1.427 MB / 421.8 MB, free: 5.316 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.644e-05/0.07683, allocations: 47.95 kB / 421.8 MB, free: 5.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005358/0.07737, allocations: 411.2 kB / 422.2 MB, free: 4.859 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002369/0.0776, allocations: 334 kB / 422.6 MB, free: 4.527 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005808/0.07819, allocations: 375.8 kB / 422.9 MB, free: 4.156 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002445/0.08063, allocations: 1.929 MB / 424.9 MB, free: 1.41 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003539/0.08417, allocations: 2.511 MB / 427.4 MB, free: 14.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.15e-05/0.0842, allocations: 16 kB / 427.4 MB, free: 14.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003867/0.08807, allocations: 2.217 MB / 429.6 MB, free: 11.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.018e-05/0.08812, allocations: 31.98 kB / 429.6 MB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-05/0.08819, allocations: 60 kB / 429.7 MB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.563e-05/0.08829, allocations: 75.94 kB / 429.8 MB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.08955, allocations: 487.1 kB / 430.2 MB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000109/0.08965, allocations: 112.1 kB / 430.3 MB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/0.0912, allocations: 301.8 kB / 430.6 MB, free: 10.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001704/0.09137, allocations: 140 kB / 430.8 MB, free: 10.67 MB / 410.7 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.001488/0.09286, allocations: 0.8589 MB / 431.6 MB, free: 9.801 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002424/0.0931, allocations: 216.2 kB / 431.8 MB, free: 9.582 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002051/0.09331, allocations: 210.3 kB / 432.1 MB, free: 9.367 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000111/0.09342, allocations: 180.2 kB / 432.2 MB, free: 9.184 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001253/0.09354, allocations: 188.2 kB / 432.4 MB, free: 8.992 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001061/0.09365, allocations: 184.3 kB / 432.6 MB, free: 8.805 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001557/0.09521, allocations: 0.9771 MB / 433.6 MB, free: 7.789 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.829e-05/0.09527, allocations: 101 kB / 433.7 MB, free: 7.684 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.787e-05/0.09532, allocations: 105 kB / 433.8 MB, free: 7.574 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001309/0.09545, allocations: 184.2 kB / 433.9 MB, free: 7.387 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/0.09557, allocations: 180.2 kB / 434.1 MB, free: 7.203 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001096/0.09567, allocations: 180.2 kB / 434.3 MB, free: 7.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001038/0.09578, allocations: 184.2 kB / 434.5 MB, free: 6.832 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003573/0.09614, allocations: 408.8 kB / 434.9 MB, free: 6.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002597/0.0964, allocations: 192.3 kB / 435.1 MB, free: 6.215 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001868/0.09658, allocations: 188.2 kB / 435.3 MB, free: 6.023 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002705/0.09685, allocations: 105 kB / 435.4 MB, free: 5.914 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.801e-05/0.09695, allocations: 180.2 kB / 435.5 MB, free: 5.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.135e-05/0.09701, allocations: 108.9 kB / 435.6 MB, free: 5.617 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001193/0.09821, allocations: 0.7968 MB / 436.4 MB, free: 4.816 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.09821, allocations: 0 / 436.4 MB, free: 4.816 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00194/0.1001, allocations: 458.3 kB / 436.9 MB, free: 4.367 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0002384/0.1004, allocations: 178.5 kB / 437.1 MB, free: 4.184 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001594/0.102, allocations: 0.8717 MB / 437.9 MB, free: 3.324 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.102, allocations: 0 / 437.9 MB, free: 3.324 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.829e-06/0.102, allocations: 7.938 kB / 437.9 MB, free: 3.316 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008341/0.1028, allocations: 0.5317 MB / 438.5 MB, free: 2.777 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005207/0.108, allocations: 2.836 MB / 441.3 MB, free: 15.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001494/0.1095, allocations: 0.9916 MB / 442.3 MB, free: 14.86 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001172/0.1107, allocations: 457.7 kB / 442.7 MB, free: 14.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.1108, allocations: 64.5 kB / 442.8 MB, free: 14.35 MB / 426.7 MB Notification: Performance of SimCode: time 1.633e-06/0.1108, allocations: 0 / 442.8 MB, free: 14.35 MB / 426.7 MB Notification: Performance of Templates: time 0.01609/0.1269, allocations: 6.096 MB / 448.9 MB, free: 8.387 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.24535698199179]