Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.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.000976/0.000976, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001146/0.001146, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 18.57 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.059/1.059, allocations: 177.2 MB / 206.1 MB, free: 4.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1392/0.1392, allocations: 32.81 MB / 295.4 MB, free: 15.36 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Planes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes") translateModel(ModelicaTest.MultiBody.Visualizers.Planes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 377.2 MB, free: 25.62 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.653e-05/2.883e-05, allocations: 6.312 kB / 377.2 MB, free: 25.61 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.007826/0.007855, allocations: 10.8 MB / 388 MB, free: 14.76 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006023/0.01388, allocations: 2.98 MB / 391 MB, free: 11.77 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001652/0.01553, allocations: 67.75 kB / 391.1 MB, free: 11.71 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002032/0.01756, allocations: 1.65 MB / 392.7 MB, free: 10.05 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003193/0.02075, allocations: 1.68 MB / 394.4 MB, free: 8.363 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003687/0.02112, allocations: 127.7 kB / 394.5 MB, free: 8.238 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002853/0.02398, allocations: 3.356 MB / 397.9 MB, free: 4.875 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00149/0.02547, allocations: 1.98 MB / 399.9 MB, free: 2.855 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001483/0.02695, allocations: 1.699 MB / 401.6 MB, free: 1.152 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002776/0.02973, allocations: 2.514 MB / 404.1 MB, free: 14.63 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000601/0.03033, allocations: 232 kB / 404.3 MB, free: 14.41 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.03142, allocations: 0.6748 MB / 405 MB, free: 13.73 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001116/0.03253, allocations: 1.589 MB / 406.6 MB, free: 12.14 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009508/0.03348, allocations: 0.934 MB / 407.5 MB, free: 11.2 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00383/0.03731, allocations: 3.727 MB / 411.2 MB, free: 7.453 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.03732, allocations: 0 / 411.2 MB, free: 7.453 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.03732, allocations: 3.984 kB / 411.2 MB, free: 7.449 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001366/0.03746, allocations: 0 / 411.2 MB, free: 7.449 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1485 * Number of variables: 1485 Notification: Performance of Generate backend data structure: time 0.005172/0.04263, allocations: 4.372 MB / 415.6 MB, free: 3.012 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.04268, allocations: 15.98 kB / 415.6 MB, free: 2.996 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004228/0.04691, allocations: 1.695 MB / 417.3 MB, free: 1.297 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002661/0.04957, allocations: 1.566 MB / 418.9 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.04967, allocations: 184.9 kB / 419.1 MB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003542/0.05002, allocations: 236.2 kB / 419.3 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006541/0.05656, allocations: 4.456 MB / 423.8 MB, free: 10.33 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.823e-05/0.05661, allocations: 19.81 kB / 423.8 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000258/0.05687, allocations: 115.8 kB / 423.9 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002165/0.05904, allocations: 2.069 MB / 426 MB, free: 8.129 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00532/0.06436, allocations: 2.337 MB / 428.3 MB, free: 5.766 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02603/0.09039, allocations: 27.93 MB / 456.2 MB, free: 8.969 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003102/0.09349, allocations: 1.327 MB / 457.6 MB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005477/0.09403, allocations: 319.4 kB / 457.9 MB, free: 7.289 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005902/0.09994, allocations: 3.835 MB / 461.7 MB, free: 3.426 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.09998, allocations: 53.97 kB / 461.8 MB, free: 3.363 MB / 378.7 MB Notification: Performance of pre-optimization done (n=135): time 5.15e-06/0.09998, allocations: 4 kB / 461.8 MB, free: 3.359 MB / 378.7 MB Notification: Performance of matching and sorting (n=135): time 0.004058/0.104, allocations: 1.812 MB / 463.6 MB, free: 1.543 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.1041, allocations: 111.5 kB / 463.7 MB, free: 1.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002752/0.1068, allocations: 2.549 MB / 466.2 MB, free: 14.83 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.233e-05/0.1069, allocations: 37.7 kB / 466.3 MB, free: 14.79 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002413/0.1093, allocations: 2.999 MB / 469.3 MB, free: 11.75 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007437/0.1101, allocations: 0.5622 MB / 469.8 MB, free: 11.19 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001023/0.1111, allocations: 1.032 MB / 470.9 MB, free: 10.14 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.1113, allocations: 0.5393 MB / 471.4 MB, free: 9.594 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004823/0.1118, allocations: 360.8 kB / 471.8 MB, free: 9.234 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002986/0.1147, allocations: 4.568 MB / 476.3 MB, free: 2.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004264/0.119, allocations: 5.506 MB / 481.8 MB, free: 11.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-05/0.1191, allocations: 28 kB / 481.9 MB, free: 11.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.004623/0.1237, allocations: 3.558 MB / 485.4 MB, free: 7.711 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.996e-05/0.1238, allocations: 50.03 kB / 485.5 MB, free: 7.664 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.954e-05/0.1238, allocations: 100 kB / 485.6 MB, free: 7.566 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.526e-05/0.1239, allocations: 132 kB / 485.7 MB, free: 7.438 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/0.1255, allocations: 0.9747 MB / 486.7 MB, free: 6.461 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004073/0.1259, allocations: 195.2 kB / 486.9 MB, free: 6.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00206/0.128, allocations: 0.597 MB / 487.5 MB, free: 5.668 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002464/0.1282, allocations: 252.3 kB / 487.7 MB, free: 5.422 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 455 * Number of states: 0 () * Number of discrete variables: 21 (world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],fixedRotation.color[1],fixedRotation.color[2],fixedRotation.color[3],fixedFrameOfWireframe.color_x[1],fixedFrameOfWireframe.color_x[2],fixedFrameOfWireframe.color_x[3],fixedFrame.color_x[1],fixedFrame.color_x[2],fixedFrame.color_x[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (551): * Single equations (assignments): 543 * Array equations: 8 * 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.001234/0.1295, allocations: 0.5165 MB / 488.2 MB, free: 4.891 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003148/0.1298, allocations: 262.4 kB / 488.5 MB, free: 4.633 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002703/0.1301, allocations: 235.8 kB / 488.7 MB, free: 4.398 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.496e-05/0.1301, allocations: 16 kB / 488.7 MB, free: 4.383 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/0.1301, allocations: 8 kB / 488.7 MB, free: 4.375 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.1301, allocations: 7.922 kB / 488.7 MB, free: 4.367 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006005/0.1361, allocations: 4.348 MB / 493.1 MB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.1361, allocations: 8 kB / 493.1 MB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003462/0.1365, allocations: 147.6 kB / 493.2 MB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.296e-05/0.1365, allocations: 12 kB / 493.3 MB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.209e-05/0.1365, allocations: 27.98 kB / 493.3 MB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-05/0.1365, allocations: 15.94 kB / 493.3 MB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/0.1365, allocations: 15.94 kB / 493.3 MB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.1379, allocations: 1.244 MB / 494.6 MB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003359/0.1382, allocations: 234 kB / 494.8 MB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/0.1384, allocations: 28 kB / 494.8 MB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003144/0.1387, allocations: 16 kB / 494.8 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.153e-05/0.1388, allocations: 92.12 kB / 494.9 MB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.395e-05/0.1388, allocations: 40 kB / 495 MB, free: 13.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000859/0.1397, allocations: 1.006 MB / 496 MB, free: 12.78 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1397, allocations: 0 / 496 MB, free: 12.78 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002825/0.1425, allocations: 1.039 MB / 497 MB, free: 11.74 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (93): * Single equations (assignments): 87 * Array equations: 6 * 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.0003065/0.1428, allocations: 158.8 kB / 497.2 MB, free: 11.57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002452/0.1453, allocations: 1.842 MB / 499 MB, free: 9.738 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.1453, allocations: 4.062 kB / 499 MB, free: 9.734 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003227/0.1456, allocations: 311.1 kB / 499.3 MB, free: 9.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008168/0.1464, allocations: 240.3 kB / 499.5 MB, free: 9.191 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008664/0.1551, allocations: 6.618 MB / 0.4943 GB, free: 2.359 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/0.1561, allocations: 1.122 MB / 0.4954 GB, free: 1.215 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001012/0.1571, allocations: 357.8 kB / 0.4957 GB, free: 0.8594 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007245/0.1579, allocations: 390.1 kB / 0.4961 GB, free: 488 kB / 426.7 MB Notification: Performance of SimCode: time 1.883e-06/0.1579, allocations: 0 / 0.4961 GB, free: 488 kB / 426.7 MB Notification: Performance of Templates: time 0.1723/0.3301, allocations: 15.16 MB / 0.5109 GB, free: 122.4 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9507347350008786]