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.001937/0.001937, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.002494/0.002494, allocations: 208.2 kB / 23.72 MB, free: 4.41 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.541/1.541, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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.2239/0.2239, allocations: 44.94 MB / 358.8 MB, free: 6.07 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002427/0.002427, allocations: 71.89 kB / 0.4935 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3422, allocations: 65.48 MB / 0.5574 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01319/0.3554, allocations: 10.05 MB / 0.5673 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007012/0.3624, allocations: 2.92 MB / 0.5701 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001656/0.3641, allocations: 71.75 kB / 0.5702 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003396/0.3675, allocations: 1.549 MB / 0.5717 GB, free: 8.836 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004238/0.3717, allocations: 1.615 MB / 0.5733 GB, free: 7.215 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003609/0.3721, allocations: 115.8 kB / 0.5734 GB, free: 7.102 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004511/0.3766, allocations: 3.305 MB / 0.5766 GB, free: 3.793 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002445/0.379, allocations: 1.897 MB / 0.5785 GB, free: 1.855 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001861/0.3809, allocations: 1.164 MB / 0.5796 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003742/0.3846, allocations: 2.523 MB / 0.5821 GB, free: 14.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006456/0.3853, allocations: 232 kB / 0.5823 GB, free: 13.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001287/0.3865, allocations: 0.6123 MB / 0.5829 GB, free: 13.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001592/0.3881, allocations: 1.542 MB / 0.5844 GB, free: 11.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001472/0.3896, allocations: 1.272 MB / 0.5856 GB, free: 10.49 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006653/0.3963, allocations: 5.97 MB / 0.5915 GB, free: 4.496 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3963, allocations: 4 kB / 0.5915 GB, free: 4.492 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3963, allocations: 0 / 0.5915 GB, free: 4.492 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001255/0.3964, allocations: 0 / 0.5915 GB, free: 4.492 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.00729/0.4037, allocations: 4.029 MB / 0.5954 GB, free: 416 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.4037, allocations: 12.03 kB / 0.5954 GB, free: 404 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009777/0.4135, allocations: 2.989 MB / 0.5983 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004622/0.4181, allocations: 1.783 MB / 0.6001 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001713/0.4183, allocations: 188.9 kB / 0.6002 GB, free: 11.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005496/0.4189, allocations: 239.8 kB / 0.6005 GB, free: 11.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01472/0.4336, allocations: 9.756 MB / 0.61 GB, free: 1.039 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-05/0.4336, allocations: 19.81 kB / 0.61 GB, free: 1.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003152/0.434, allocations: 115.8 kB / 0.6101 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003824/0.4378, allocations: 2.369 MB / 0.6124 GB, free: 14.53 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01764/0.4554, allocations: 8.928 MB / 0.6212 GB, free: 5.586 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04191/0.4973, allocations: 26.8 MB / 0.6473 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006261/0.5036, allocations: 2.453 MB / 0.6497 GB, free: 7.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001548/0.5051, allocations: 1.017 MB / 0.6507 GB, free: 6.543 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01044/0.5156, allocations: 4.704 MB / 0.6553 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.775e-05/0.5156, allocations: 39.22 kB / 0.6554 GB, free: 1.762 MB / 494.1 MB Notification: Performance of pre-optimization done (n=135): time 5.13e-06/0.5156, allocations: 3.938 kB / 0.6554 GB, free: 1.758 MB / 494.1 MB Notification: Performance of matching and sorting (n=135): time 0.008129/0.5238, allocations: 3.143 MB / 0.6584 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.281e-05/0.5238, allocations: 115.5 kB / 0.6585 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004073/0.5279, allocations: 2.777 MB / 0.6613 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.959e-05/0.528, allocations: 37.7 kB / 0.6613 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002226/0.5302, allocations: 2.868 MB / 0.6641 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005541/0.5308, allocations: 0.5311 MB / 0.6646 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001258/0.532, allocations: 0.9369 MB / 0.6655 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002175/0.5322, allocations: 357.9 kB / 0.6659 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002177/0.5344, allocations: 1.403 MB / 0.6672 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004617/0.539, allocations: 4.229 MB / 0.6714 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007802/0.5468, allocations: 6.155 MB / 0.6774 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001063/0.5469, allocations: 28 kB / 0.6774 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.009668/0.5566, allocations: 5.448 MB / 0.6827 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.616e-05/0.5567, allocations: 55.91 kB / 0.6828 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001261/0.5568, allocations: 100 kB / 0.6829 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001418/0.557, allocations: 132 kB / 0.683 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002836/0.5598, allocations: 0.9981 MB / 0.684 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001686/0.56, allocations: 191.3 kB / 0.6842 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003045/0.563, allocations: 0.6168 MB / 0.6848 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003936/0.5634, allocations: 291.9 kB / 0.685 GB, free: 420 kB / 0.5137 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.003332/0.5667, allocations: 1.97 MB / 0.687 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004152/0.5672, allocations: 242.3 kB / 0.6872 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005162/0.5677, allocations: 283.8 kB / 0.6875 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.231e-05/0.5677, allocations: 19.98 kB / 0.6875 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/0.5677, allocations: 4 kB / 0.6875 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.5677, allocations: 3.984 kB / 0.6875 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00902/0.5767, allocations: 4.799 MB / 0.6922 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/0.5768, allocations: 8 kB / 0.6922 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006673/0.5774, allocations: 163.7 kB / 0.6923 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.976e-05/0.5774, allocations: 16.03 kB / 0.6924 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.823e-05/0.5775, allocations: 31.98 kB / 0.6924 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-05/0.5775, allocations: 15.94 kB / 0.6924 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.228e-05/0.5776, allocations: 11.94 kB / 0.6924 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002882/0.5804, allocations: 1.995 MB / 0.6944 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005833/0.581, allocations: 238.1 kB / 0.6946 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002114/0.5812, allocations: 23.98 kB / 0.6946 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006292/0.5819, allocations: 47.95 kB / 0.6947 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.582, allocations: 84.14 kB / 0.6947 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/0.5821, allocations: 51.98 kB / 0.6948 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002489/0.5846, allocations: 1.577 MB / 0.6963 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5846, allocations: 4 kB / 0.6963 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004493/0.5891, allocations: 1.047 MB / 0.6974 GB, free: 3.492 MB / 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.0004728/0.5896, allocations: 166.8 kB / 0.6975 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005608/0.5952, allocations: 3.126 MB / 0.7006 GB, free: 228 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.5952, allocations: 7.938 kB / 0.7006 GB, free: 220 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000983/0.5962, allocations: 0.7382 MB / 0.7013 GB, free: 15.48 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/0.5976, allocations: 229.4 kB / 0.7015 GB, free: 15.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01392/0.6115, allocations: 7.797 MB / 0.7091 GB, free: 7.316 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003478/0.615, allocations: 2.544 MB / 0.7116 GB, free: 4.738 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003344/0.6183, allocations: 1.531 MB / 0.7131 GB, free: 3.199 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003872/0.6187, allocations: 159.4 kB / 0.7133 GB, free: 3.043 MB / 0.545 GB Notification: Performance of SimCode: time 9.62e-07/0.6187, allocations: 0 / 0.7133 GB, free: 3.043 MB / 0.545 GB Notification: Performance of Templates: time 0.04144/0.6601, allocations: 16.77 MB / 0.7296 GB, free: 2.574 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.759669741615653]