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.001177/0.001177, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009832/0.0009832, allocations: 165.4 kB / 24.56 MB, free: 16 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 0.9677/0.9677, allocations: 177.2 MB / 205 MB, free: 5.285 MB / 186.7 MB " [Timeout remaining time 179] 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.2469/0.2469, allocations: 34.26 MB / 295.7 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] 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.693e-06/1.693e-06, allocations: 0 / 378 MB, free: 2.691 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.066e-05/3.235e-05, allocations: 6.25 kB / 378 MB, free: 2.684 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.02347/0.0235, allocations: 11.09 MB / 389.1 MB, free: 7.539 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008151/0.03165, allocations: 3.013 MB / 392.1 MB, free: 4.516 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.03266, allocations: 71.75 kB / 392.2 MB, free: 4.445 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001808/0.03447, allocations: 1.674 MB / 393.9 MB, free: 2.766 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00229/0.03676, allocations: 1.665 MB / 395.5 MB, free: 1.094 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.03698, allocations: 131.7 kB / 395.7 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002667/0.03965, allocations: 3.363 MB / 399 MB, free: 13.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001645/0.04129, allocations: 1.964 MB / 401 MB, free: 11.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001397/0.04269, allocations: 1.703 MB / 402.7 MB, free: 9.887 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001894/0.04458, allocations: 2.499 MB / 405.2 MB, free: 7.383 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002769/0.04486, allocations: 232 kB / 405.4 MB, free: 7.156 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007436/0.0456, allocations: 0.6825 MB / 406.1 MB, free: 6.473 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008095/0.04641, allocations: 1.597 MB / 407.7 MB, free: 4.871 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006634/0.04708, allocations: 0.934 MB / 408.6 MB, free: 3.934 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002495/0.04957, allocations: 3.731 MB / 412.4 MB, free: 192 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.04958, allocations: 0 / 412.4 MB, free: 192 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.04958, allocations: 0 / 412.4 MB, free: 192 kB / 378.7 MB Notification: Performance of Transformations before backend: time 4.358e-05/0.04962, allocations: 0 / 412.4 MB, free: 192 kB / 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.003955/0.05357, allocations: 4.4 MB / 416.8 MB, free: 11.72 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.05361, allocations: 8.031 kB / 416.8 MB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005269/0.05888, allocations: 3.469 MB / 420.2 MB, free: 8.234 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00176/0.06064, allocations: 1.738 MB / 422 MB, free: 6.457 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.622e-05/0.06074, allocations: 188.9 kB / 422.2 MB, free: 6.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000383/0.06112, allocations: 244.2 kB / 422.4 MB, free: 6.031 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005552/0.06667, allocations: 4.856 MB / 427.3 MB, free: 0.6797 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.215e-05/0.06671, allocations: 19.81 kB / 427.3 MB, free: 0.6602 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002224/0.06693, allocations: 115.8 kB / 427.4 MB, free: 0.5469 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00317/0.0701, allocations: 2.361 MB / 429.7 MB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008708/0.07881, allocations: 2.896 MB / 432.6 MB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1658/0.2447, allocations: 29.14 MB / 461.8 MB, free: 71.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003003/0.2477, allocations: 1.401 MB / 463.2 MB, free: 71.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004966/0.2482, allocations: 361 kB / 463.5 MB, free: 71.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004819/0.253, allocations: 4.057 MB / 467.6 MB, free: 70.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.253, allocations: 45.14 kB / 467.6 MB, free: 70.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=135): time 4.218e-06/0.253, allocations: 0 / 467.6 MB, free: 70.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=135): time 0.003623/0.2566, allocations: 1.907 MB / 469.5 MB, free: 70.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.2567, allocations: 112.9 kB / 469.6 MB, free: 70.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002095/0.2588, allocations: 2.549 MB / 472.2 MB, free: 69.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.358e-05/0.2588, allocations: 40.77 kB / 472.2 MB, free: 69.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009919/0.2598, allocations: 2.967 MB / 475.2 MB, free: 67.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002405/0.26, allocations: 0.5572 MB / 475.8 MB, free: 67.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007745/0.2608, allocations: 1.015 MB / 476.8 MB, free: 66.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.164e-05/0.2609, allocations: 0.5367 MB / 477.3 MB, free: 66.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005981/0.2615, allocations: 458.8 kB / 477.8 MB, free: 66.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001824/0.2633, allocations: 4.635 MB / 482.4 MB, free: 60.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003597/0.2669, allocations: 5.632 MB / 488 MB, free: 54.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.892e-05/0.267, allocations: 28.78 kB / 488.1 MB, free: 54.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.00502/0.272, allocations: 3.809 MB / 491.9 MB, free: 52.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.498e-05/0.2721, allocations: 46.22 kB / 491.9 MB, free: 52.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.98e-05/0.2722, allocations: 99.78 kB / 492 MB, free: 52.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001072/0.2723, allocations: 133.4 kB / 492.1 MB, free: 52.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001736/0.274, allocations: 0.9903 MB / 493.1 MB, free: 52.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001418/0.2741, allocations: 196.1 kB / 493.3 MB, free: 52.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/0.276, allocations: 0.6284 MB / 493.9 MB, free: 52.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003144/0.2764, allocations: 286.7 kB / 494.2 MB, free: 52.14 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.001224/0.2776, allocations: 0.5205 MB / 494.7 MB, free: 51.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003433/0.2779, allocations: 256 kB / 495 MB, free: 51.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002178/0.2781, allocations: 238 kB / 495.2 MB, free: 51.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.001e-05/0.2782, allocations: 19.47 kB / 495.3 MB, free: 51.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/0.2782, allocations: 1.094 kB / 495.3 MB, free: 51.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.2782, allocations: 4.625 kB / 495.3 MB, free: 51.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005972/0.2842, allocations: 4.471 MB / 499.7 MB, free: 49.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/0.2842, allocations: 9.219 kB / 499.7 MB, free: 49.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003881/0.2846, allocations: 166.5 kB / 499.9 MB, free: 49.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.518e-05/0.2846, allocations: 11.03 kB / 499.9 MB, free: 49.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.722e-05/0.2846, allocations: 31.25 kB / 499.9 MB, free: 49.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-05/0.2846, allocations: 23.23 kB / 500 MB, free: 49.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/0.2846, allocations: 12.84 kB / 500 MB, free: 49.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.2863, allocations: 1.285 MB / 0.4895 GB, free: 48.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003777/0.2866, allocations: 240.1 kB / 0.4897 GB, free: 48.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001686/0.2868, allocations: 25.41 kB / 0.4898 GB, free: 48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003545/0.2872, allocations: 47.58 kB / 0.4898 GB, free: 47.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.2873, allocations: 83.84 kB / 0.4899 GB, free: 47.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.031e-05/0.2873, allocations: 51.39 kB / 0.4899 GB, free: 47.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001409/0.2887, allocations: 1.07 MB / 0.491 GB, free: 47.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2887, allocations: 0 / 0.491 GB, free: 47.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003308/0.2921, allocations: 1.045 MB / 0.492 GB, free: 47.2 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.0003367/0.2924, allocations: 157.8 kB / 0.4922 GB, free: 47.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002887/0.2953, allocations: 1.959 MB / 0.4941 GB, free: 46.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.826e-06/0.2953, allocations: 0 / 0.4941 GB, free: 46.44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004192/0.2957, allocations: 342.8 kB / 0.4944 GB, free: 46.35 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009812/0.2967, allocations: 231.6 kB / 0.4946 GB, free: 46.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008383/0.3051, allocations: 6.622 MB / 0.5011 GB, free: 42.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008996/0.306, allocations: 1.119 MB / 0.5022 GB, free: 42.37 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001758/0.3077, allocations: 1.308 MB / 0.5035 GB, free: 42.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002803/0.308, allocations: 154.6 kB / 0.5036 GB, free: 42.24 MB / 410.7 MB Notification: Performance of SimCode: time 1.904e-06/0.308, allocations: 4 kB / 0.5036 GB, free: 42.24 MB / 410.7 MB Notification: Performance of Templates: time 0.02738/0.3354, allocations: 13.53 MB / 0.5168 GB, free: 34.99 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","",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.88985686423257]