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.0009898/0.0009899, allocations: 93.31 kB / 18 MB, free: 5.602 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.001109/0.001109, allocations: 179.7 kB / 18.91 MB, free: 4.734 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.324/1.324, allocations: 223.3 MB / 243 MB, free: 14.3 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.1967/0.1967, allocations: 44.25 MB / 338.3 MB, free: 2.402 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003129/0.0003129, allocations: 10 kB / 411 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1153, allocations: 61.92 MB / 472.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.0264/0.1417, allocations: 28.04 MB / 0.4892 GB, free: 1.156 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01309/0.1549, allocations: 5.827 MB / 0.4949 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005207/0.1601, allocations: 119.8 kB / 0.495 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001451/0.1616, allocations: 426.1 kB / 0.4954 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004035/0.1657, allocations: 1.503 MB / 0.4969 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005969/0.1663, allocations: 103.9 kB / 0.497 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005984/0.1723, allocations: 4.881 MB / 0.5018 GB, free: 4.273 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00493/0.1773, allocations: 2.798 MB / 0.5045 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002065/0.1794, allocations: 0.9101 MB / 0.5054 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2344/0.4138, allocations: 2.732 MB / 0.508 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009798/0.4149, allocations: 119.8 kB / 0.5082 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002096/0.417, allocations: 0.6418 MB / 0.5088 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002342/0.4193, allocations: 1.418 MB / 0.5102 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00361/0.423, allocations: 1.726 MB / 0.5119 GB, free: 13.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006701/0.4297, allocations: 4.54 MB / 0.5163 GB, free: 12.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.4297, allocations: 1.156 kB / 0.5163 GB, free: 12.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4297, allocations: 0 / 0.5163 GB, free: 12.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001986/0.4299, allocations: 0 / 0.5163 GB, free: 12.77 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.007523/0.4375, allocations: 3.298 MB / 0.5195 GB, free: 11.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.4375, allocations: 9.062 kB / 0.5195 GB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01029/0.4478, allocations: 3.047 MB / 0.5225 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004206/0.4521, allocations: 1.813 MB / 0.5243 GB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001658/0.4523, allocations: 184.3 kB / 0.5244 GB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00112/0.4534, allocations: 237.3 kB / 0.5247 GB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01557/0.469, allocations: 9.77 MB / 0.5342 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.65e-05/0.4691, allocations: 19.38 kB / 0.5342 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004525/0.4695, allocations: 110.6 kB / 0.5343 GB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003271/0.4728, allocations: 2.364 MB / 0.5366 GB, free: 5.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01699/0.4898, allocations: 8.945 MB / 0.5454 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04293/0.5328, allocations: 29.76 MB / 0.5744 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006677/0.5395, allocations: 3.479 MB / 0.5778 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001674/0.5413, allocations: 1.095 MB / 0.5789 GB, free: 12.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01111/0.5524, allocations: 6.486 MB / 0.5852 GB, free: 5.621 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.5525, allocations: 45.19 kB / 0.5853 GB, free: 5.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=135): time 4.959e-06/0.5525, allocations: 0 / 0.5853 GB, free: 5.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=135): time 0.007965/0.5604, allocations: 3.133 MB / 0.5883 GB, free: 2.438 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.383e-05/0.5605, allocations: 111.5 kB / 0.5884 GB, free: 2.305 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005299/0.5659, allocations: 2.746 MB / 0.5911 GB, free: 15.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001547/0.566, allocations: 41.7 kB / 0.5912 GB, free: 15.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002085/0.5681, allocations: 2.73 MB / 0.5938 GB, free: 12.76 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007155/0.5689, allocations: 0.5201 MB / 0.5943 GB, free: 12.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000783/0.5697, allocations: 408.1 kB / 0.5947 GB, free: 11.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.74e-05/0.5698, allocations: 301.1 kB / 0.595 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002376/0.5722, allocations: 1.406 MB / 0.5964 GB, free: 10.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004248/0.5764, allocations: 4.221 MB / 0.6005 GB, free: 4.539 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006973/0.5834, allocations: 6.159 MB / 0.6065 GB, free: 13.39 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-05/0.5835, allocations: 28 kB / 0.6066 GB, free: 13.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01059/0.5941, allocations: 5.453 MB / 0.6119 GB, free: 8.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001547/0.5943, allocations: 54.59 kB / 0.6119 GB, free: 8.449 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002067/0.5946, allocations: 100 kB / 0.612 GB, free: 8.352 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001729/0.5947, allocations: 128.8 kB / 0.6121 GB, free: 8.227 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003398/0.5982, allocations: 0.9975 MB / 0.6131 GB, free: 7.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001916/0.5984, allocations: 198 kB / 0.6133 GB, free: 7.168 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00373/0.6021, allocations: 0.6168 MB / 0.6139 GB, free: 6.547 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008742/0.603, allocations: 288 kB / 0.6142 GB, free: 6.266 MB / 462.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.004662/0.6077, allocations: 1.98 MB / 0.6161 GB, free: 4.367 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006185/0.6083, allocations: 228.9 kB / 0.6163 GB, free: 4.141 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009541/0.6093, allocations: 292.8 kB / 0.6166 GB, free: 3.848 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.775e-05/0.6094, allocations: 20 kB / 0.6166 GB, free: 3.828 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.6094, allocations: 2.531 kB / 0.6166 GB, free: 3.828 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.6094, allocations: 4.172 kB / 0.6166 GB, free: 3.824 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01324/0.6227, allocations: 6.197 MB / 0.6227 GB, free: 13.51 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.423e-05/0.6227, allocations: 8 kB / 0.6227 GB, free: 13.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007253/0.6235, allocations: 167.7 kB / 0.6229 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.101e-05/0.6235, allocations: 15.98 kB / 0.6229 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/0.6236, allocations: 24 kB / 0.6229 GB, free: 13.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-05/0.6237, allocations: 19.92 kB / 0.6229 GB, free: 13.28 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.687e-06/0.6237, allocations: 8.25 kB / 0.6229 GB, free: 13.27 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002631/0.6263, allocations: 2 MB / 0.6249 GB, free: 11.16 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000757/0.6271, allocations: 321.7 kB / 0.6252 GB, free: 10.82 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005015/0.6276, allocations: 31.98 kB / 0.6252 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009553/0.6286, allocations: 47.95 kB / 0.6253 GB, free: 10.75 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/0.6288, allocations: 84.23 kB / 0.6253 GB, free: 10.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/0.6289, allocations: 50.81 kB / 0.6254 GB, free: 10.61 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003407/0.6323, allocations: 1.67 MB / 0.627 GB, free: 8.934 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6323, allocations: 0 / 0.627 GB, free: 8.934 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005046/0.6374, allocations: 1.046 MB / 0.628 GB, free: 7.887 MB / 478.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.0005896/0.638, allocations: 151.5 kB / 0.6282 GB, free: 7.73 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005544/0.6436, allocations: 3.249 MB / 0.6314 GB, free: 4.508 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/0.6436, allocations: 4 kB / 0.6314 GB, free: 4.504 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.6447, allocations: 0.799 MB / 0.6321 GB, free: 3.711 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004456/0.6492, allocations: 296.5 kB / 0.6324 GB, free: 3.426 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01866/0.6679, allocations: 10.24 MB / 0.6424 GB, free: 9.043 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005406/0.6733, allocations: 3.1 MB / 0.6455 GB, free: 5.914 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007354/0.6741, allocations: 211.4 kB / 0.6457 GB, free: 5.707 MB / 494.1 MB Notification: Performance of SimCode: time 1.583e-06/0.6741, allocations: 4 kB / 0.6457 GB, free: 5.703 MB / 494.1 MB Notification: Performance of Templates: time 0.06761/0.7417, allocations: 43.63 MB / 0.6883 GB, free: 10.16 MB / 0.5294 GB 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 -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