Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.002517/0.002517, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002947/0.002947, allocations: 169.3 kB / 24.28 MB, free: 152 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.55/1.55, allocations: 177.2 MB / 204.6 MB, free: 5.602 MB / 186.7 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.4141/0.4141, allocations: 34.27 MB / 295.3 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] 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.Planes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.MultiBody.Visualizers.Planes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 377.3 MB, free: 2.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.763e-05/2.928e-05, allocations: 6.312 kB / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01661/0.01664, allocations: 11.02 MB / 388.3 MB, free: 7.914 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007896/0.02454, allocations: 3.002 MB / 391.3 MB, free: 4.902 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001596/0.02613, allocations: 67.81 kB / 391.4 MB, free: 4.836 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003876/0.03001, allocations: 1.674 MB / 393 MB, free: 3.156 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004114/0.03412, allocations: 1.661 MB / 394.7 MB, free: 1.488 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004651/0.03459, allocations: 123.8 kB / 394.8 MB, free: 1.367 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005577/0.04017, allocations: 3.363 MB / 398.2 MB, free: 14 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003065/0.04323, allocations: 1.972 MB / 400.1 MB, free: 11.99 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003058/0.04629, allocations: 1.691 MB / 401.8 MB, free: 10.29 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004569/0.05086, allocations: 2.514 MB / 404.4 MB, free: 7.773 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007542/0.05161, allocations: 228 kB / 404.6 MB, free: 7.551 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/0.05323, allocations: 0.6747 MB / 405.2 MB, free: 6.875 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002235/0.05546, allocations: 1.597 MB / 406.8 MB, free: 5.273 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001793/0.05725, allocations: 0.9301 MB / 407.8 MB, free: 4.34 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007775/0.06503, allocations: 5.831 MB / 413.6 MB, free: 14.49 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.144e-05/0.06504, allocations: 8 kB / 413.6 MB, free: 14.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.06504, allocations: 4 kB / 413.6 MB, free: 14.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002279/0.06527, allocations: 0 / 413.6 MB, free: 14.48 MB / 394.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.01011/0.07538, allocations: 4.786 MB / 418.4 MB, free: 9.625 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.07542, allocations: 12.03 kB / 418.4 MB, free: 9.613 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01155/0.08697, allocations: 3.481 MB / 421.9 MB, free: 6.125 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005412/0.09238, allocations: 1.691 MB / 423.6 MB, free: 4.395 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002214/0.0926, allocations: 188.9 kB / 423.8 MB, free: 4.207 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009767/0.09358, allocations: 236.2 kB / 424 MB, free: 3.977 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01342/0.107, allocations: 5.289 MB / 429.3 MB, free: 14.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.692e-05/0.1071, allocations: 23.81 kB / 429.3 MB, free: 14.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006577/0.1077, allocations: 111.8 kB / 429.4 MB, free: 14.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004281/0.112, allocations: 2.354 MB / 431.8 MB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01162/0.1236, allocations: 3.382 MB / 435.2 MB, free: 8.309 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2044/0.3281, allocations: 35.77 MB / 470.9 MB, free: 71.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004835/0.3329, allocations: 1.438 MB / 472.4 MB, free: 70.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009581/0.3339, allocations: 391.5 kB / 472.8 MB, free: 70.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0101/0.344, allocations: 4.262 MB / 477 MB, free: 69.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.344, allocations: 45.27 kB / 477.1 MB, free: 68.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=135): time 5.019e-06/0.344, allocations: 0 / 477.1 MB, free: 68.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=135): time 0.006304/0.3503, allocations: 1.91 MB / 479 MB, free: 68.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.3504, allocations: 116.4 kB / 479.1 MB, free: 68.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005753/0.3561, allocations: 3.194 MB / 482.3 MB, free: 67.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001134/0.3562, allocations: 40.44 kB / 482.3 MB, free: 67.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002119/0.3583, allocations: 3.102 MB / 485.4 MB, free: 65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000658/0.359, allocations: 0.6026 MB / 486 MB, free: 64.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001834/0.3608, allocations: 1.165 MB / 487.2 MB, free: 63.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.361, allocations: 0.5636 MB / 487.8 MB, free: 63.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/0.3623, allocations: 497.2 kB / 488.2 MB, free: 63.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003204/0.3655, allocations: 4.822 MB / 493.1 MB, free: 57.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004776/0.3703, allocations: 5.835 MB / 498.9 MB, free: 51.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001841/0.3705, allocations: 29.19 kB / 498.9 MB, free: 51.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.007679/0.3782, allocations: 3.885 MB / 0.491 GB, free: 49.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000135/0.3783, allocations: 48.12 kB / 0.4911 GB, free: 49.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001981/0.3785, allocations: 98.75 kB / 0.4912 GB, free: 49.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001882/0.3787, allocations: 135 kB / 0.4913 GB, free: 49.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003009/0.3817, allocations: 0.9949 MB / 0.4923 GB, free: 49.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001839/0.3819, allocations: 195.4 kB / 0.4925 GB, free: 49.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002977/0.3848, allocations: 0.6193 MB / 0.4931 GB, free: 48.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005158/0.3854, allocations: 289.8 kB / 0.4933 GB, free: 48.92 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.001821/0.3872, allocations: 0.6236 MB / 0.4939 GB, free: 48.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000416/0.3876, allocations: 260.4 kB / 0.4942 GB, free: 48.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005316/0.3881, allocations: 238 kB / 0.4944 GB, free: 48.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-05/0.3882, allocations: 19.78 kB / 0.4944 GB, free: 48.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/0.3882, allocations: 0 / 0.4944 GB, free: 48.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.3882, allocations: 6.75 kB / 0.4944 GB, free: 48.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00933/0.3975, allocations: 5.334 MB / 0.4996 GB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/0.3975, allocations: 15.44 kB / 0.4997 GB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006045/0.3981, allocations: 157.5 kB / 0.4998 GB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.464e-05/0.3981, allocations: 11.19 kB / 0.4998 GB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-05/0.3982, allocations: 39.12 kB / 0.4999 GB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.17e-05/0.3982, allocations: 13.77 kB / 0.4999 GB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.3982, allocations: 11.16 kB / 0.4999 GB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.3996, allocations: 1.336 MB / 0.5012 GB, free: 44.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004588/0.4001, allocations: 230.8 kB / 0.5014 GB, free: 44.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002859/0.4004, allocations: 29.12 kB / 0.5014 GB, free: 44.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006769/0.4011, allocations: 37.8 kB / 0.5015 GB, free: 44.28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.4012, allocations: 91.7 kB / 0.5016 GB, free: 44.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.548e-05/0.4013, allocations: 49.41 kB / 0.5016 GB, free: 44.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001753/0.403, allocations: 1.286 MB / 0.5029 GB, free: 43.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.403, allocations: 3.062 kB / 0.5029 GB, free: 43.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003381/0.4064, allocations: 1.044 MB / 0.5039 GB, free: 43.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.0003313/0.4067, allocations: 157.2 kB / 0.504 GB, free: 43.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003445/0.4102, allocations: 2.141 MB / 0.5061 GB, free: 42.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.4102, allocations: 0 / 0.5061 GB, free: 42.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005029/0.4107, allocations: 383.3 kB / 0.5065 GB, free: 41.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.412, allocations: 235 kB / 0.5067 GB, free: 41.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009797/0.4218, allocations: 6.714 MB / 0.5133 GB, free: 35.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003116/0.4249, allocations: 2.238 MB / 0.5155 GB, free: 33.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003145/0.428, allocations: 1.307 MB / 0.5167 GB, free: 32.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003984/0.4284, allocations: 166 kB / 0.5169 GB, free: 32.69 MB / 410.7 MB Notification: Performance of SimCode: time 1.383e-06/0.4284, allocations: 0 / 0.5169 GB, free: 32.69 MB / 410.7 MB Notification: Performance of Templates: time 0.03119/0.4596, allocations: 12.9 MB / 0.5295 GB, free: 22.79 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.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: 6.398919097031467]