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.001933/0.001933, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002443/0.002443, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 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.47/1.47, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 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.2336/0.2336, allocations: 46.95 MB / 361.6 MB, free: 4.02 MB / 286.1 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 0.001919/0.001919, allocations: 71.89 kB / 0.4973 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2883, allocations: 66.02 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.0127/0.301, allocations: 10.06 MB / 0.5716 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005949/0.307, allocations: 2.915 MB / 0.5745 GB, free: 7.141 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/0.3081, allocations: 71.75 kB / 0.5745 GB, free: 7.07 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003263/0.3113, allocations: 1.541 MB / 0.576 GB, free: 5.523 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004042/0.3154, allocations: 1.627 MB / 0.5776 GB, free: 3.891 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003779/0.3157, allocations: 115.8 kB / 0.5777 GB, free: 3.777 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004479/0.3202, allocations: 3.301 MB / 0.581 GB, free: 484 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002463/0.3227, allocations: 1.913 MB / 0.5828 GB, free: 14.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001738/0.3244, allocations: 1.164 MB / 0.584 GB, free: 13.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003696/0.3281, allocations: 2.599 MB / 0.5865 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005912/0.3287, allocations: 236 kB / 0.5867 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/0.3301, allocations: 0.6202 MB / 0.5873 GB, free: 9.898 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001608/0.3317, allocations: 1.542 MB / 0.5888 GB, free: 8.352 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001636/0.3333, allocations: 1.276 MB / 0.5901 GB, free: 7.066 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006966/0.3403, allocations: 5.959 MB / 0.5959 GB, free: 1.082 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3403, allocations: 0 / 0.5959 GB, free: 1.082 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.907e-06/0.3403, allocations: 4 kB / 0.5959 GB, free: 1.078 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000134/0.3404, allocations: 0 / 0.5959 GB, free: 1.078 MB / 430.1 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.007113/0.3475, allocations: 4.026 MB / 0.5998 GB, free: 12.99 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.3476, allocations: 12.03 kB / 0.5999 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01008/0.3577, allocations: 2.993 MB / 0.6028 GB, free: 9.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004537/0.3622, allocations: 1.791 MB / 0.6045 GB, free: 8.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001683/0.3624, allocations: 188.9 kB / 0.6047 GB, free: 7.973 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005393/0.3629, allocations: 239.8 kB / 0.6049 GB, free: 7.738 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01639/0.3793, allocations: 9.756 MB / 0.6145 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-05/0.3793, allocations: 19.81 kB / 0.6145 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003765/0.3797, allocations: 107.8 kB / 0.6146 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003794/0.3835, allocations: 2.369 MB / 0.6169 GB, free: 11.11 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01808/0.4016, allocations: 8.932 MB / 0.6256 GB, free: 2.16 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04287/0.4445, allocations: 26.8 MB / 0.6518 GB, free: 6.625 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006729/0.4512, allocations: 2.461 MB / 0.6542 GB, free: 4.148 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001633/0.4528, allocations: 1.009 MB / 0.6552 GB, free: 3.129 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01124/0.4641, allocations: 4.704 MB / 0.6598 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.834e-05/0.4641, allocations: 43.16 kB / 0.6598 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 6.342e-06/0.4641, allocations: 0 / 0.6598 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.00843/0.4726, allocations: 3.139 MB / 0.6629 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.969e-05/0.4727, allocations: 115.5 kB / 0.663 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004075/0.4767, allocations: 2.777 MB / 0.6657 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.822e-05/0.4768, allocations: 41.7 kB / 0.6657 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002226/0.479, allocations: 2.864 MB / 0.6685 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000539/0.4796, allocations: 0.535 MB / 0.6691 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001265/0.4808, allocations: 0.9369 MB / 0.67 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002043/0.481, allocations: 365.9 kB / 0.6703 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00212/0.4832, allocations: 1.403 MB / 0.6717 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004521/0.4877, allocations: 4.229 MB / 0.6758 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007605/0.4953, allocations: 6.151 MB / 0.6818 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.287e-05/0.4954, allocations: 28 kB / 0.6819 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.008918/0.5043, allocations: 5.452 MB / 0.6872 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.847e-05/0.5044, allocations: 55.92 kB / 0.6872 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001022/0.5045, allocations: 100 kB / 0.6873 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001407/0.5046, allocations: 128 kB / 0.6875 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002944/0.5075, allocations: 0.9942 MB / 0.6884 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001633/0.5077, allocations: 195.8 kB / 0.6886 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002737/0.5104, allocations: 0.6205 MB / 0.6892 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003662/0.5108, allocations: 288 kB / 0.6895 GB, free: 13 MB / 0.5294 GB 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.003006/0.5138, allocations: 1.978 MB / 0.6914 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003593/0.5142, allocations: 234.3 kB / 0.6916 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005067/0.5147, allocations: 279.8 kB / 0.6919 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-05/0.5147, allocations: 16 kB / 0.6919 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.5147, allocations: 4 kB / 0.6919 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.5147, allocations: 3.984 kB / 0.6919 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008773/0.5235, allocations: 4.807 MB / 0.6966 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/0.5235, allocations: 4 kB / 0.6966 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006931/0.5242, allocations: 163.7 kB / 0.6968 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.622e-05/0.5242, allocations: 12 kB / 0.6968 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.108e-05/0.5243, allocations: 32 kB / 0.6968 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.125e-05/0.5243, allocations: 8 kB / 0.6968 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-05/0.5243, allocations: 19.92 kB / 0.6969 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002558/0.5269, allocations: 1.995 MB / 0.6988 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004978/0.5274, allocations: 238 kB / 0.699 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002332/0.5276, allocations: 35.97 kB / 0.6991 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006395/0.5283, allocations: 36.22 kB / 0.6991 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.5284, allocations: 92.12 kB / 0.6992 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.076e-05/0.5285, allocations: 48 kB / 0.6992 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002284/0.5308, allocations: 1.592 MB / 0.7008 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.5308, allocations: 0 / 0.7008 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003687/0.5345, allocations: 1.043 MB / 0.7018 GB, free: 76 kB / 0.5294 GB 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.0003906/0.5349, allocations: 162.9 kB / 0.702 GB, free: 15.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005316/0.5402, allocations: 3.134 MB / 0.705 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.34e-05/0.5402, allocations: 8 kB / 0.705 GB, free: 12.79 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.5412, allocations: 0.7276 MB / 0.7057 GB, free: 12.07 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/0.5428, allocations: 226.9 kB / 0.706 GB, free: 11.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/0.5563, allocations: 7.801 MB / 0.7136 GB, free: 3.902 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003507/0.5598, allocations: 2.548 MB / 0.7161 GB, free: 1.32 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003437/0.5632, allocations: 1.527 MB / 0.7176 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004623/0.5637, allocations: 163.3 kB / 0.7177 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of SimCode: time 9.02e-07/0.5637, allocations: 0 / 0.7177 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of Templates: time 0.269/0.8326, allocations: 18.91 MB / 0.7362 GB, free: 154.4 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","/var/lib/jenkins1/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.2176295520039275]