Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.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.001362/0.001362, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.006209/0.006209, allocations: 152.2 kB / 24.69 MB, free: 8.922 MB / 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 0.914/0.914, allocations: 177 MB / 204.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.2668/0.2668, allocations: 34.24 MB / 295.6 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] 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.Planes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.Planes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 443.4 MB, free: 1.055 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.768e-05/1.895e-05, allocations: 2.281 kB / 443.4 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.1553/0.1554, allocations: 10.07 MB / 453.5 MB, free: 38.62 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003034/0.1584, allocations: 2.921 MB / 456.4 MB, free: 36.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004785/0.1589, allocations: 71.09 kB / 456.5 MB, free: 36.78 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.1602, allocations: 1.613 MB / 458.1 MB, free: 36.11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001432/0.1617, allocations: 1.652 MB / 459.7 MB, free: 35.39 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.1619, allocations: 136.3 kB / 459.9 MB, free: 35.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001582/0.1635, allocations: 3.361 MB / 463.2 MB, free: 33.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009841/0.1644, allocations: 1.91 MB / 465.1 MB, free: 33.01 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009171/0.1654, allocations: 1.692 MB / 466.8 MB, free: 32.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001375/0.1667, allocations: 2.486 MB / 469.3 MB, free: 31.43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001879/0.1669, allocations: 228.9 kB / 469.5 MB, free: 31.43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006279/0.1676, allocations: 0.6702 MB / 470.2 MB, free: 31.31 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006097/0.1682, allocations: 1.584 MB / 471.8 MB, free: 30.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004736/0.1686, allocations: 0.939 MB / 472.7 MB, free: 30.17 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002552/0.1712, allocations: 5.825 MB / 478.5 MB, free: 28.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1712, allocations: 0 / 478.5 MB, free: 28.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1712, allocations: 3.938 kB / 478.6 MB, free: 28.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.995e-05/0.1712, allocations: 0 / 478.6 MB, free: 28.11 MB / 410.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.003148/0.1744, allocations: 3.984 MB / 482.5 MB, free: 25.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.1744, allocations: 9.844 kB / 482.5 MB, free: 25.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005462/0.1799, allocations: 3.016 MB / 485.6 MB, free: 25.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002118/0.182, allocations: 1.797 MB / 487.4 MB, free: 24.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.1821, allocations: 187.3 kB / 487.5 MB, free: 24.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003766/0.1825, allocations: 236.5 kB / 487.8 MB, free: 24.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008749/0.1912, allocations: 9.783 MB / 497.6 MB, free: 20.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.162e-05/0.1913, allocations: 22.31 kB / 497.6 MB, free: 20.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002346/0.1915, allocations: 114 kB / 497.7 MB, free: 20.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002265/0.1938, allocations: 2.361 MB / 0.4883 GB, free: 19.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009217/0.203, allocations: 8.952 MB / 0.4971 GB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01888/0.2219, allocations: 26.93 MB / 0.5234 GB, free: 2.777 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00364/0.2255, allocations: 2.593 MB / 0.5259 GB, free: 172 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009283/0.2264, allocations: 1.011 MB / 0.5269 GB, free: 15.15 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005603/0.232, allocations: 4.878 MB / 0.5317 GB, free: 10.25 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.2321, allocations: 43.22 kB / 0.5317 GB, free: 10.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=135): time 3.306e-06/0.2321, allocations: 0 / 0.5317 GB, free: 10.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=135): time 0.004604/0.2367, allocations: 3.327 MB / 0.5349 GB, free: 6.863 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.2367, allocations: 119.4 kB / 0.5351 GB, free: 6.719 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002602/0.2393, allocations: 2.78 MB / 0.5378 GB, free: 3.91 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.635e-05/0.2394, allocations: 45.69 kB / 0.5378 GB, free: 3.859 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001349/0.2407, allocations: 2.833 MB / 0.5406 GB, free: 0.9961 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002792/0.241, allocations: 0.531 MB / 0.5411 GB, free: 472 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007143/0.2417, allocations: 0.9252 MB / 0.542 GB, free: 15.52 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.2418, allocations: 359.4 kB / 0.5423 GB, free: 15.17 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001241/0.2431, allocations: 1.399 MB / 0.5437 GB, free: 13.76 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002713/0.2458, allocations: 4.233 MB / 0.5478 GB, free: 8.113 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00444/0.2502, allocations: 6.151 MB / 0.5539 GB, free: 0.5625 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.037e-05/0.2502, allocations: 32 kB / 0.5539 GB, free: 0.5312 MB / 458.7 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.005401/0.2556, allocations: 5.46 MB / 0.5592 GB, free: 11.07 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.706e-05/0.2557, allocations: 48 kB / 0.5593 GB, free: 11.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.754e-05/0.2558, allocations: 100 kB / 0.5594 GB, free: 10.92 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.679e-05/0.2558, allocations: 132 kB / 0.5595 GB, free: 10.79 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/0.2574, allocations: 0.9903 MB / 0.5605 GB, free: 9.801 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.955e-05/0.2575, allocations: 196.7 kB / 0.5606 GB, free: 9.609 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/0.259, allocations: 0.6205 MB / 0.5612 GB, free: 8.984 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002246/0.2593, allocations: 280 kB / 0.5615 GB, free: 8.711 MB / 474.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.002284/0.2615, allocations: 1.985 MB / 0.5635 GB, free: 6.711 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001753/0.2617, allocations: 230.4 kB / 0.5637 GB, free: 6.484 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002555/0.262, allocations: 275.9 kB / 0.5639 GB, free: 6.211 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-05/0.262, allocations: 19.98 kB / 0.564 GB, free: 6.191 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/0.262, allocations: 3.938 kB / 0.564 GB, free: 6.188 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.262, allocations: 3.984 kB / 0.564 GB, free: 6.184 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005045/0.2671, allocations: 4.835 MB / 0.5687 GB, free: 1.207 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.2671, allocations: 15.97 kB / 0.5687 GB, free: 1.191 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003261/0.2674, allocations: 163.7 kB / 0.5689 GB, free: 1.031 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/0.2674, allocations: 12 kB / 0.5689 GB, free: 1.02 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.706e-05/0.2674, allocations: 31.94 kB / 0.5689 GB, free: 0.9883 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.076e-05/0.2675, allocations: 19.92 kB / 0.5689 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.2675, allocations: 11.94 kB / 0.5689 GB, free: 0.957 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/0.2689, allocations: 1.983 MB / 0.5709 GB, free: 14.85 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001922/0.2691, allocations: 238.3 kB / 0.5711 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.2692, allocations: 24 kB / 0.5711 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003358/0.2696, allocations: 47.95 kB / 0.5712 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.835e-05/0.2696, allocations: 88.14 kB / 0.5712 GB, free: 14.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.462e-05/0.2697, allocations: 55.97 kB / 0.5713 GB, free: 14.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001304/0.271, allocations: 1.577 MB / 0.5728 GB, free: 12.81 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.271, allocations: 0 / 0.5728 GB, free: 12.81 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002383/0.2734, allocations: 1.051 MB / 0.5739 GB, free: 11.76 MB / 490.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.0002894/0.2737, allocations: 158.9 kB / 0.574 GB, free: 11.59 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002715/0.2764, allocations: 3.131 MB / 0.5771 GB, free: 8.488 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.2764, allocations: 448 / 0.5771 GB, free: 8.488 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005742/0.277, allocations: 0.7466 MB / 0.5778 GB, free: 7.746 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007647/0.2777, allocations: 225.7 kB / 0.578 GB, free: 7.527 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008156/0.2859, allocations: 8.206 MB / 0.586 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002337/0.2882, allocations: 2.564 MB / 0.5885 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003544/0.2886, allocations: 204.5 kB / 0.5887 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of SimCode: time 9.72e-07/0.2886, allocations: 0 / 0.5887 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of Templates: time 0.1957/0.4843, allocations: 45.13 MB / 0.6328 GB, free: 150 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 7.233088116161525]