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.001445/0.001445, allocations: 87.58 kB / 21.19 MB, free: 3.371 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.001546/0.001546, allocations: 165 kB / 24.56 MB, free: 4 kB / 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.05/1.05, allocations: 177.1 MB / 205 MB, free: 5.605 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.312/0.312, allocations: 32.81 MB / 294.3 MB, free: 1.211 MB / 266.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 1.923e-06/1.923e-06, allocations: 0 / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.385e-05/3.578e-05, allocations: 6.25 kB / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.02355/0.02359, allocations: 11.09 MB / 387.1 MB, free: 9.523 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0129/0.03649, allocations: 3.013 MB / 390.1 MB, free: 6.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005557/0.04204, allocations: 71.75 kB / 390.2 MB, free: 6.43 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006229/0.04827, allocations: 1.666 MB / 391.8 MB, free: 4.758 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003784/0.05205, allocations: 1.672 MB / 393.5 MB, free: 3.078 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003868/0.05244, allocations: 123.7 kB / 393.6 MB, free: 2.957 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004366/0.05681, allocations: 3.364 MB / 397 MB, free: 15.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002813/0.05962, allocations: 1.964 MB / 399 MB, free: 13.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002876/0.0625, allocations: 1.695 MB / 400.7 MB, free: 11.89 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003196/0.06569, allocations: 2.518 MB / 403.2 MB, free: 9.363 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007986/0.06649, allocations: 228 kB / 403.4 MB, free: 9.141 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001306/0.0678, allocations: 0.6748 MB / 404.1 MB, free: 8.465 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001402/0.0692, allocations: 1.597 MB / 405.7 MB, free: 6.863 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001592/0.07079, allocations: 0.9301 MB / 406.6 MB, free: 5.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004583/0.07537, allocations: 3.735 MB / 410.3 MB, free: 2.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.07538, allocations: 0 / 410.3 MB, free: 2.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.07538, allocations: 0 / 410.3 MB, free: 2.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.00024/0.07562, allocations: 0 / 410.3 MB, free: 2.18 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: 1485 * Number of variables: 1485 Notification: Performance of Generate backend data structure: time 0.008773/0.08439, allocations: 4.4 MB / 414.7 MB, free: 13.71 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.08445, allocations: 8.031 kB / 414.7 MB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009265/0.09371, allocations: 3.477 MB / 418.2 MB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005652/0.09937, allocations: 1.738 MB / 420 MB, free: 8.445 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002375/0.0996, allocations: 188.9 kB / 420.1 MB, free: 8.258 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001335/0.1009, allocations: 236.2 kB / 420.4 MB, free: 8.027 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01594/0.1169, allocations: 4.86 MB / 425.2 MB, free: 2.672 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-05/0.117, allocations: 19.81 kB / 425.2 MB, free: 2.652 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005207/0.1175, allocations: 111.8 kB / 425.4 MB, free: 2.543 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00327/0.1207, allocations: 2.354 MB / 427.7 MB, free: 192 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009511/0.1303, allocations: 2.894 MB / 430.6 MB, free: 13.28 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2238/0.3541, allocations: 29.15 MB / 459.8 MB, free: 62.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003258/0.3573, allocations: 1.398 MB / 461.2 MB, free: 62.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005365/0.3579, allocations: 361.8 kB / 461.5 MB, free: 62.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00546/0.3633, allocations: 4.052 MB / 465.6 MB, free: 61.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.3634, allocations: 56.02 kB / 465.6 MB, free: 61.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=135): time 6.282e-06/0.3634, allocations: 0 / 465.6 MB, free: 61.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=135): time 0.004582/0.368, allocations: 1.9 MB / 467.5 MB, free: 60.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.368, allocations: 112.8 kB / 467.6 MB, free: 60.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003202/0.3712, allocations: 2.545 MB / 470.2 MB, free: 60.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.554e-05/0.3713, allocations: 43.45 kB / 470.2 MB, free: 60.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00153/0.3728, allocations: 2.972 MB / 473.2 MB, free: 58.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004092/0.3732, allocations: 0.554 MB / 473.7 MB, free: 58.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008994/0.3741, allocations: 1.008 MB / 474.7 MB, free: 58.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.3743, allocations: 0.5349 MB / 475.3 MB, free: 57.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007401/0.375, allocations: 462.8 kB / 475.7 MB, free: 57.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002003/0.377, allocations: 4.638 MB / 480.4 MB, free: 51.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003517/0.3805, allocations: 5.629 MB / 486 MB, free: 45.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.638e-05/0.3806, allocations: 30.69 kB / 486 MB, free: 45.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.004646/0.3852, allocations: 3.808 MB / 489.8 MB, free: 44.92 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.446e-05/0.3853, allocations: 51.81 kB / 489.9 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.12e-05/0.3854, allocations: 101.1 kB / 490 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001059/0.3855, allocations: 131.2 kB / 490.1 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001785/0.3873, allocations: 0.9934 MB / 491.1 MB, free: 44.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002102/0.3875, allocations: 194.1 kB / 491.3 MB, free: 44.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/0.3894, allocations: 0.6154 MB / 491.9 MB, free: 44.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003776/0.3898, allocations: 291.3 kB / 492.2 MB, free: 44.32 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 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedFrameOfWireframe.color_x[3],fixedFrameOfWireframe.color_x[2],fixedFrameOfWireframe.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],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]) * 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.001314/0.3911, allocations: 0.518 MB / 492.7 MB, free: 43.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002856/0.3914, allocations: 263.9 kB / 493 MB, free: 43.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002096/0.3916, allocations: 232.9 kB / 493.2 MB, free: 43.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.959e-05/0.3917, allocations: 22.81 kB / 493.2 MB, free: 43.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.597e-05/0.3917, allocations: 1.125 kB / 493.2 MB, free: 43.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.3917, allocations: 7.766 kB / 493.2 MB, free: 43.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006055/0.3977, allocations: 4.484 MB / 497.7 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/0.3978, allocations: 8.281 kB / 497.7 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004358/0.3982, allocations: 163 kB / 497.9 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.575e-05/0.3982, allocations: 11.34 kB / 497.9 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-05/0.3983, allocations: 30.84 kB / 497.9 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.7e-05/0.3983, allocations: 22.5 kB / 497.9 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.136e-05/0.3983, allocations: 9.938 kB / 498 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.3998, allocations: 1.289 MB / 499.2 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003593/0.4001, allocations: 232.2 kB / 499.5 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001811/0.4003, allocations: 26.16 kB / 499.5 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003661/0.4007, allocations: 42.42 kB / 499.5 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.4008, allocations: 88.89 kB / 499.6 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.311e-05/0.4009, allocations: 50.52 kB / 499.7 MB, free: 40.13 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001482/0.4024, allocations: 1.067 MB / 0.489 GB, free: 39.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4024, allocations: 1.031 kB / 0.489 GB, free: 39.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003887/0.4062, allocations: 1.047 MB / 0.49 GB, free: 39.38 MB / 410.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.0003923/0.4066, allocations: 157.2 kB / 0.4902 GB, free: 39.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003387/0.41, allocations: 1.954 MB / 0.4921 GB, free: 38.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/0.41, allocations: 128 / 0.4921 GB, free: 38.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004266/0.4105, allocations: 346.8 kB / 0.4924 GB, free: 38.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.4117, allocations: 239.2 kB / 0.4926 GB, free: 38.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/0.4217, allocations: 6.623 MB / 0.4991 GB, free: 34.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000939/0.4226, allocations: 1.114 MB / 0.5002 GB, free: 34.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00188/0.4245, allocations: 1.306 MB / 0.5015 GB, free: 34.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002661/0.4248, allocations: 164.4 kB / 0.5016 GB, free: 34.42 MB / 410.7 MB Notification: Performance of SimCode: time 1.673e-06/0.4248, allocations: 0 / 0.5016 GB, free: 34.42 MB / 410.7 MB Notification: Performance of Templates: time 0.03/0.4548, allocations: 13.54 MB / 0.5148 GB, free: 29.66 MB / 410.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: 4.024792483076453]