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.001454/0.001454, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.001523/0.001523, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.467/1.467, allocations: 177.2 MB / 204.9 MB, free: 9.055 MB / 190.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.2125/0.2125, allocations: 32.8 MB / 294.1 MB, free: 60 kB / 270.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.002045/0.002045, allocations: 67.89 kB / 440.5 MB, free: 9.504 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3579, allocations: 65.44 MB / 0.4941 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.009529/0.3674, allocations: 10.06 MB / 0.504 GB, free: 24.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006342/0.3738, allocations: 2.918 MB / 0.5068 GB, free: 23.01 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001858/0.3756, allocations: 72.06 kB / 0.5069 GB, free: 23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002776/0.3784, allocations: 1.545 MB / 0.5084 GB, free: 22.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003599/0.382, allocations: 1.618 MB / 0.51 GB, free: 21.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.3824, allocations: 117.4 kB / 0.5101 GB, free: 21.6 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003815/0.3862, allocations: 3.292 MB / 0.5133 GB, free: 20.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002394/0.3886, allocations: 1.901 MB / 0.5151 GB, free: 19.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001763/0.3903, allocations: 1.16 MB / 0.5163 GB, free: 18.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003659/0.394, allocations: 2.53 MB / 0.5187 GB, free: 17.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006768/0.3947, allocations: 230 kB / 0.519 GB, free: 17.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001445/0.3961, allocations: 0.6126 MB / 0.5196 GB, free: 17.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001521/0.3976, allocations: 1.54 MB / 0.5211 GB, free: 17.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001421/0.3991, allocations: 1.278 MB / 0.5223 GB, free: 16.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00943/0.4085, allocations: 5.965 MB / 0.5281 GB, free: 14.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.4085, allocations: 1.062 kB / 0.5281 GB, free: 14.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4085, allocations: 0 / 0.5281 GB, free: 14.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002331/0.4087, allocations: 0.75 kB / 0.5281 GB, free: 14.09 MB / 446.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.009677/0.4184, allocations: 4.045 MB / 0.5321 GB, free: 11.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.4184, allocations: 8.312 kB / 0.5321 GB, free: 11.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01061/0.4291, allocations: 3.017 MB / 0.535 GB, free: 10.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005644/0.4347, allocations: 1.789 MB / 0.5368 GB, free: 9.293 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002036/0.4349, allocations: 187.6 kB / 0.537 GB, free: 9.199 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00105/0.436, allocations: 248.5 kB / 0.5372 GB, free: 9.105 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01565/0.4516, allocations: 9.773 MB / 0.5468 GB, free: 2.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.71e-05/0.4517, allocations: 31.73 kB / 0.5468 GB, free: 2.629 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003574/0.452, allocations: 115.8 kB / 0.5469 GB, free: 2.516 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003013/0.455, allocations: 2.362 MB / 0.5492 GB, free: 152 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01921/0.4742, allocations: 8.948 MB / 0.5579 GB, free: 7.191 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05228/0.5265, allocations: 26.98 MB / 0.5843 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006982/0.5335, allocations: 2.596 MB / 0.5868 GB, free: 8.855 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001782/0.5353, allocations: 1.018 MB / 0.5878 GB, free: 7.832 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01107/0.5463, allocations: 4.864 MB / 0.5926 GB, free: 2.938 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.585e-05/0.5464, allocations: 39.22 kB / 0.5926 GB, free: 2.891 MB / 494.1 MB Notification: Performance of pre-optimization done (n=135): time 4.96e-06/0.5464, allocations: 0 / 0.5926 GB, free: 2.891 MB / 494.1 MB Notification: Performance of matching and sorting (n=135): time 0.008655/0.5551, allocations: 3.342 MB / 0.5959 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.5552, allocations: 115.5 kB / 0.596 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006535/0.5617, allocations: 2.777 MB / 0.5987 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001457/0.5618, allocations: 37.7 kB / 0.5987 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002699/0.5645, allocations: 2.86 MB / 0.6015 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008656/0.5654, allocations: 0.535 MB / 0.602 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001949/0.5674, allocations: 0.933 MB / 0.603 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002359/0.5676, allocations: 361.9 kB / 0.6033 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002456/0.5701, allocations: 1.403 MB / 0.6047 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005051/0.5751, allocations: 4.225 MB / 0.6088 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008304/0.5834, allocations: 6.155 MB / 0.6148 GB, free: 9.215 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001615/0.5836, allocations: 28 kB / 0.6148 GB, free: 9.188 MB / 0.5138 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01122/0.5948, allocations: 5.457 MB / 0.6202 GB, free: 3.723 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.5949, allocations: 55.88 kB / 0.6202 GB, free: 3.668 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001843/0.5951, allocations: 100 kB / 0.6203 GB, free: 3.57 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001903/0.5953, allocations: 131.9 kB / 0.6204 GB, free: 3.441 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003343/0.5986, allocations: 0.9942 MB / 0.6214 GB, free: 2.445 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002075/0.5988, allocations: 195.3 kB / 0.6216 GB, free: 2.254 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003349/0.6022, allocations: 0.6127 MB / 0.6222 GB, free: 1.637 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009797/0.6032, allocations: 292 kB / 0.6225 GB, free: 1.352 MB / 0.5138 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.004233/0.6074, allocations: 1.974 MB / 0.6244 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005409/0.6079, allocations: 234.3 kB / 0.6246 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006912/0.6086, allocations: 279.8 kB / 0.6249 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-05/0.6087, allocations: 20.12 kB / 0.6249 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.6087, allocations: 4 kB / 0.6249 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.6087, allocations: 7.969 kB / 0.6249 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01097/0.6197, allocations: 4.838 MB / 0.6296 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/0.6197, allocations: 8.188 kB / 0.6297 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007014/0.6204, allocations: 167.7 kB / 0.6298 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-05/0.6204, allocations: 12 kB / 0.6298 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.765e-05/0.6205, allocations: 35.97 kB / 0.6299 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.658e-05/0.6205, allocations: 16.19 kB / 0.6299 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.291e-05/0.6205, allocations: 15.94 kB / 0.6299 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002828/0.6233, allocations: 1.999 MB / 0.6318 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006733/0.624, allocations: 230.1 kB / 0.6321 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004687/0.6245, allocations: 28 kB / 0.6321 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009196/0.6254, allocations: 39.95 kB / 0.6321 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/0.6256, allocations: 92.12 kB / 0.6322 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/0.6257, allocations: 47.98 kB / 0.6323 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003574/0.6293, allocations: 1.585 MB / 0.6338 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6293, allocations: 0 / 0.6338 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004918/0.6342, allocations: 1.043 MB / 0.6348 GB, free: 4.395 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.0004599/0.6346, allocations: 162.8 kB / 0.635 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005549/0.6402, allocations: 3.139 MB / 0.638 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/0.6402, allocations: 0 / 0.638 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.6413, allocations: 0.7411 MB / 0.6388 GB, free: 384 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001722/0.643, allocations: 223.6 kB / 0.639 GB, free: 160 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01686/0.6598, allocations: 7.789 MB / 0.6466 GB, free: 8.227 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004938/0.6648, allocations: 2.552 MB / 0.6491 GB, free: 5.641 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003723/0.6685, allocations: 1.527 MB / 0.6506 GB, free: 4.105 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005216/0.669, allocations: 168.5 kB / 0.6507 GB, free: 3.941 MB / 0.545 GB Notification: Performance of SimCode: time 9.01e-07/0.669, allocations: 0 / 0.6507 GB, free: 3.941 MB / 0.545 GB Notification: Performance of Templates: time 0.0377/0.7067, allocations: 13.03 MB / 0.6635 GB, free: 7.223 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","/var/lib/jenkins1/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.2790563920279965]