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.001189/0.001189, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001299/0.001299, allocations: 164.4 kB / 24.99 MB, free: 8.297 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 0.9867/0.9867, allocations: 177.1 MB / 205.3 MB, free: 5.574 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.2675/0.2675, allocations: 32.81 MB / 294.6 MB, free: 1.301 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.513e-06/1.513e-06, allocations: 0 / 376 MB, free: 5.039 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.931e-05/2.082e-05, allocations: 4.281 kB / 376 MB, free: 5.035 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.009734/0.009755, allocations: 11.05 MB / 387 MB, free: 9.922 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0048/0.01456, allocations: 3.01 MB / 390 MB, free: 6.902 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008859/0.01544, allocations: 71.75 kB / 390.1 MB, free: 6.832 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001841/0.01728, allocations: 1.658 MB / 391.8 MB, free: 5.168 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002023/0.01931, allocations: 1.665 MB / 393.4 MB, free: 3.496 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.0195, allocations: 123.8 kB / 393.6 MB, free: 3.375 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002277/0.02178, allocations: 3.369 MB / 396.9 MB, free: 4 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001467/0.02325, allocations: 1.964 MB / 398.9 MB, free: 14 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001241/0.02449, allocations: 1.695 MB / 400.6 MB, free: 12.3 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001906/0.02639, allocations: 2.506 MB / 403.1 MB, free: 9.793 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002425/0.02664, allocations: 240 kB / 403.3 MB, free: 9.559 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006988/0.02733, allocations: 0.6747 MB / 404 MB, free: 8.883 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008474/0.02818, allocations: 1.601 MB / 405.6 MB, free: 7.277 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006722/0.02885, allocations: 0.9301 MB / 406.5 MB, free: 6.344 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00253/0.03138, allocations: 3.723 MB / 410.2 MB, free: 2.605 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.03139, allocations: 0 / 410.2 MB, free: 2.605 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.03139, allocations: 0 / 410.2 MB, free: 2.605 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.012e-05/0.03143, allocations: 0 / 410.2 MB, free: 2.605 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.004005/0.03543, allocations: 4.404 MB / 414.7 MB, free: 14.14 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.03547, allocations: 8.031 kB / 414.7 MB, free: 14.13 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005804/0.04128, allocations: 3.473 MB / 418.1 MB, free: 10.65 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001813/0.04309, allocations: 1.695 MB / 419.8 MB, free: 8.914 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.349e-05/0.04318, allocations: 184.9 kB / 420 MB, free: 8.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002902/0.04347, allocations: 236.2 kB / 420.2 MB, free: 8.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006323/0.0498, allocations: 4.86 MB / 425.1 MB, free: 3.145 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.931e-05/0.04984, allocations: 11.88 kB / 425.1 MB, free: 3.133 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002384/0.05007, allocations: 115.8 kB / 425.2 MB, free: 3.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002084/0.05216, allocations: 2.365 MB / 427.6 MB, free: 0.6523 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005163/0.05732, allocations: 2.885 MB / 430.5 MB, free: 13.76 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1811/0.2384, allocations: 29.15 MB / 459.6 MB, free: 79.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002925/0.2414, allocations: 1.4 MB / 461 MB, free: 79.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004772/0.2419, allocations: 357.5 kB / 461.4 MB, free: 79.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004488/0.2463, allocations: 4.053 MB / 465.4 MB, free: 78.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.2464, allocations: 48.33 kB / 465.5 MB, free: 78.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=135): time 3.457e-06/0.2464, allocations: 0 / 465.5 MB, free: 78.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=135): time 0.003936/0.2503, allocations: 1.908 MB / 467.4 MB, free: 77.69 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.2503, allocations: 112.7 kB / 467.5 MB, free: 77.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002021/0.2524, allocations: 2.551 MB / 470 MB, free: 76.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.2524, allocations: 47.44 kB / 470.1 MB, free: 76.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009336/0.2533, allocations: 2.959 MB / 473.1 MB, free: 74.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002569/0.2536, allocations: 0.5663 MB / 473.6 MB, free: 73.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006901/0.2543, allocations: 1.004 MB / 474.6 MB, free: 73.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.585e-05/0.2544, allocations: 0.5392 MB / 475.2 MB, free: 72.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006558/0.255, allocations: 459.8 kB / 475.6 MB, free: 72.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001755/0.2568, allocations: 4.641 MB / 480.3 MB, free: 66.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002914/0.2597, allocations: 5.624 MB / 485.9 MB, free: 60.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-05/0.2597, allocations: 27.12 kB / 485.9 MB, free: 60.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.003919/0.2637, allocations: 3.808 MB / 489.7 MB, free: 58.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.507e-05/0.2637, allocations: 50.25 kB / 489.8 MB, free: 58.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-05/0.2638, allocations: 98.75 kB / 489.9 MB, free: 58.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.678e-05/0.2638, allocations: 131.8 kB / 490 MB, free: 58.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001708/0.2656, allocations: 0.9962 MB / 491 MB, free: 58.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001471/0.2657, allocations: 195.2 kB / 491.2 MB, free: 58.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/0.2673, allocations: 0.6195 MB / 491.8 MB, free: 58.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003728/0.2677, allocations: 286.6 kB / 492.1 MB, free: 58.34 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.0009605/0.2686, allocations: 0.5174 MB / 492.6 MB, free: 57.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002279/0.2689, allocations: 258.8 kB / 492.8 MB, free: 57.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002091/0.2691, allocations: 234.2 kB / 493.1 MB, free: 57.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.219e-05/0.2691, allocations: 19.81 kB / 493.1 MB, free: 57.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/0.2691, allocations: 1.25 kB / 493.1 MB, free: 57.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.2691, allocations: 4.453 kB / 493.1 MB, free: 57.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005304/0.2744, allocations: 4.475 MB / 497.6 MB, free: 55.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/0.2744, allocations: 7.688 kB / 497.6 MB, free: 55.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000368/0.2748, allocations: 170.5 kB / 497.7 MB, free: 55.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/0.2748, allocations: 11.25 kB / 497.8 MB, free: 55.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.37e-05/0.2748, allocations: 35.33 kB / 497.8 MB, free: 55.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.238e-05/0.2749, allocations: 15.53 kB / 497.8 MB, free: 55.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/0.2749, allocations: 13.72 kB / 497.8 MB, free: 55.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.2759, allocations: 1.296 MB / 499.1 MB, free: 54.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001758/0.2761, allocations: 228.2 kB / 499.3 MB, free: 54.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.2762, allocations: 32.22 kB / 499.4 MB, free: 54.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003258/0.2766, allocations: 47.64 kB / 499.4 MB, free: 54.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.2767, allocations: 80.61 kB / 499.5 MB, free: 54.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.935e-05/0.2767, allocations: 52.22 kB / 499.5 MB, free: 54.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001162/0.2779, allocations: 1.069 MB / 0.4889 GB, free: 53.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2779, allocations: 0 / 0.4889 GB, free: 53.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002781/0.2807, allocations: 1.056 MB / 0.4899 GB, free: 53.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.000273/0.2809, allocations: 162.2 kB / 0.4901 GB, free: 53.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00247/0.2834, allocations: 1.949 MB / 0.492 GB, free: 52.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.2834, allocations: 0 / 0.492 GB, free: 52.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004053/0.2838, allocations: 340.8 kB / 0.4923 GB, free: 52.53 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009707/0.2848, allocations: 242.2 kB / 0.4925 GB, free: 52.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006594/0.2914, allocations: 6.624 MB / 0.499 GB, free: 48.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009342/0.2923, allocations: 1.123 MB / 0.5001 GB, free: 48.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002085/0.2944, allocations: 1.305 MB / 0.5014 GB, free: 48.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000275/0.2947, allocations: 165.3 kB / 0.5015 GB, free: 48.41 MB / 410.7 MB Notification: Performance of SimCode: time 8.62e-07/0.2947, allocations: 0 / 0.5015 GB, free: 48.41 MB / 410.7 MB Notification: Performance of Templates: time 0.02712/0.3218, allocations: 12.92 MB / 0.5141 GB, free: 40.77 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: 3.9789975171443075]