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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Planes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 107.1 kB / 18.39 MB, free: 4.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 184.1 kB / 19.33 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 243 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2524/0.2524, allocations: 44.18 MB / 337.4 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 68.89 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.152, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01734/0.1694, allocations: 11.55 MB / 482.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009677/0.1791, allocations: 3.025 MB / 485.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003144/0.1823, allocations: 63.88 kB / 485.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004581/0.1869, allocations: 1.545 MB / 486.9 MB, free: 13.4 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006499/0.1935, allocations: 1.576 MB / 488.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007425/0.1943, allocations: 115.7 kB / 488.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007597/0.2019, allocations: 3.337 MB / 491.9 MB, free: 8.359 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005149/0.2072, allocations: 2.191 MB / 494.1 MB, free: 6.137 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003354/0.2105, allocations: 1.16 MB / 495.3 MB, free: 4.969 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00542/0.216, allocations: 2.439 MB / 497.7 MB, free: 2.523 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001135/0.2172, allocations: 228 kB / 497.9 MB, free: 2.301 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002748/0.2199, allocations: 0.7098 MB / 498.6 MB, free: 1.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003096/0.2231, allocations: 1.507 MB / 0.4884 GB, free: 80 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003484/0.2266, allocations: 1.84 MB / 0.4902 GB, free: 14.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008681/0.2353, allocations: 5.966 MB / 0.496 GB, free: 8.238 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.325e-06/0.2354, allocations: 0 / 0.496 GB, free: 8.238 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.2354, allocations: 0 / 0.496 GB, free: 8.238 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001972/0.2356, allocations: 0 / 0.496 GB, free: 8.238 MB / 382.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.01132/0.2469, allocations: 4.03 MB / 0.5 GB, free: 4.141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.296e-05/0.247, allocations: 8.031 kB / 0.5 GB, free: 4.133 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01531/0.2623, allocations: 2.959 MB / 0.5029 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2321/0.4945, allocations: 1.834 MB / 0.5047 GB, free: 45.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002071/0.4948, allocations: 187.9 kB / 0.5048 GB, free: 45.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009385/0.4957, allocations: 236 kB / 0.5051 GB, free: 45.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01806/0.5138, allocations: 9.762 MB / 0.5146 GB, free: 42.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.084e-05/0.5139, allocations: 19.78 kB / 0.5146 GB, free: 42.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003513/0.5143, allocations: 110.6 kB / 0.5147 GB, free: 41.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004003/0.5183, allocations: 2.362 MB / 0.517 GB, free: 41.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01492/0.5332, allocations: 8.949 MB / 0.5258 GB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03447/0.5677, allocations: 29.49 MB / 0.5546 GB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005097/0.5728, allocations: 3.489 MB / 0.558 GB, free: 3.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00121/0.5741, allocations: 1.099 MB / 0.5591 GB, free: 2.621 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008991/0.5831, allocations: 6.461 MB / 0.5654 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.5832, allocations: 43.22 kB / 0.5654 GB, free: 11.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=135): time 4.438e-06/0.5832, allocations: 0 / 0.5654 GB, free: 11.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=135): time 0.007286/0.5905, allocations: 3.138 MB / 0.5685 GB, free: 8.539 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.176e-05/0.5906, allocations: 119.5 kB / 0.5686 GB, free: 8.398 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003906/0.5945, allocations: 2.73 MB / 0.5712 GB, free: 5.648 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001083/0.5946, allocations: 41.7 kB / 0.5713 GB, free: 5.602 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001835/0.5965, allocations: 2.735 MB / 0.574 GB, free: 2.824 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005277/0.597, allocations: 0.5168 MB / 0.5745 GB, free: 2.301 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001063/0.5981, allocations: 0.9245 MB / 0.5754 GB, free: 1.363 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.5982, allocations: 313.1 kB / 0.5757 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001964/0.6002, allocations: 1.403 MB / 0.577 GB, free: 15.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003812/0.604, allocations: 4.229 MB / 0.5812 GB, free: 10 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006784/0.6108, allocations: 6.148 MB / 0.5872 GB, free: 2.449 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.382e-05/0.6109, allocations: 32 kB / 0.5872 GB, free: 2.418 MB / 414.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.008532/0.6194, allocations: 5.452 MB / 0.5925 GB, free: 12.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.342e-05/0.6195, allocations: 55.92 kB / 0.5926 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001169/0.6196, allocations: 100 kB / 0.5927 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001423/0.6198, allocations: 132 kB / 0.5928 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002606/0.6224, allocations: 0.9981 MB / 0.5938 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001416/0.6225, allocations: 187.3 kB / 0.594 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003087/0.6256, allocations: 0.6184 MB / 0.5946 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003396/0.626, allocations: 287.8 kB / 0.5948 GB, free: 10.59 MB / 430.1 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.003095/0.6291, allocations: 1.981 MB / 0.5968 GB, free: 8.598 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003971/0.6295, allocations: 232.8 kB / 0.597 GB, free: 8.367 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004983/0.63, allocations: 288.8 kB / 0.5973 GB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.01e-05/0.63, allocations: 16 kB / 0.5973 GB, free: 8.066 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.48e-05/0.6301, allocations: 3.984 kB / 0.5973 GB, free: 8.062 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.6301, allocations: 3.984 kB / 0.5973 GB, free: 8.059 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008888/0.639, allocations: 6.196 MB / 0.6033 GB, free: 1.695 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/0.639, allocations: 12 kB / 0.6033 GB, free: 1.684 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005935/0.6396, allocations: 164.6 kB / 0.6035 GB, free: 1.523 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.671e-05/0.6396, allocations: 15.94 kB / 0.6035 GB, free: 1.508 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-05/0.6397, allocations: 35.98 kB / 0.6036 GB, free: 1.473 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.618e-05/0.6397, allocations: 19.92 kB / 0.6036 GB, free: 1.453 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/0.6398, allocations: 11.94 kB / 0.6036 GB, free: 1.441 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002205/0.642, allocations: 1.99 MB / 0.6055 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000529/0.6425, allocations: 309.8 kB / 0.6058 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002158/0.6427, allocations: 27.94 kB / 0.6058 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006175/0.6433, allocations: 47.95 kB / 0.6059 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.6435, allocations: 84.28 kB / 0.606 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.412e-05/0.6436, allocations: 48 kB / 0.606 GB, free: 14.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00232/0.6459, allocations: 1.674 MB / 0.6077 GB, free: 13.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6459, allocations: 0 / 0.6077 GB, free: 13.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003469/0.6494, allocations: 1.047 MB / 0.6087 GB, free: 12.07 MB / 446.1 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.000325/0.6497, allocations: 161.5 kB / 0.6088 GB, free: 11.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004531/0.6543, allocations: 3.277 MB / 0.612 GB, free: 8.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/0.6543, allocations: 7.938 kB / 0.612 GB, free: 8.652 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009011/0.6552, allocations: 0.7921 MB / 0.6128 GB, free: 7.859 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/0.6567, allocations: 303.4 kB / 0.6131 GB, free: 7.574 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/0.6677, allocations: 7.676 MB / 0.6206 GB, free: 15.77 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003343/0.6711, allocations: 3.1 MB / 0.6236 GB, free: 12.64 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003139/0.6742, allocations: 1.544 MB / 0.6251 GB, free: 11.09 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000369/0.6746, allocations: 171.4 kB / 0.6253 GB, free: 10.92 MB / 462.1 MB Notification: Performance of SimCode: time 9.31e-07/0.6746, allocations: 0 / 0.6253 GB, free: 10.92 MB / 462.1 MB Notification: Performance of Templates: time 0.03626/0.7109, allocations: 16.16 MB / 0.6411 GB, free: 10.86 MB / 478.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.makefile (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 cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) 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) Reference file matches