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.0008745/0.0008743, allocations: 89.33 kB / 17.35 MB, free: 6.043 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.001035/0.001035, allocations: 169.7 kB / 18.26 MB, free: 5.371 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.547/1.547, allocations: 223.3 MB / 242.3 MB, free: 14.45 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.2004/0.2004, allocations: 44.24 MB / 337.7 MB, free: 2.438 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000344/0.000344, allocations: 9.344 kB / 410.3 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1205, allocations: 61.93 MB / 472.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.02993/0.1505, allocations: 28.04 MB / 0.4886 GB, free: 1.168 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01669/0.1673, allocations: 5.815 MB / 0.4942 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004623/0.172, allocations: 127.6 kB / 0.4944 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001096/0.1731, allocations: 422.2 kB / 0.4948 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003477/0.1766, allocations: 1.503 MB / 0.4962 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003354/0.177, allocations: 99.89 kB / 0.4963 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005257/0.1822, allocations: 4.896 MB / 0.5011 GB, free: 4.285 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003829/0.1861, allocations: 2.81 MB / 0.5039 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001326/0.1874, allocations: 0.8945 MB / 0.5047 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2702/0.4577, allocations: 2.739 MB / 0.5074 GB, free: 13.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00159/0.4593, allocations: 121.6 kB / 0.5075 GB, free: 13.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002341/0.4617, allocations: 0.6357 MB / 0.5081 GB, free: 13.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002711/0.4644, allocations: 1.425 MB / 0.5095 GB, free: 13.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003119/0.4676, allocations: 1.723 MB / 0.5112 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007777/0.4754, allocations: 5.491 MB / 0.5166 GB, free: 11.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.4754, allocations: 1.688 kB / 0.5166 GB, free: 11.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4754, allocations: 0 / 0.5166 GB, free: 11.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001807/0.4756, allocations: 0 / 0.5166 GB, free: 11.6 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.00799/0.4836, allocations: 3.301 MB / 0.5198 GB, free: 9.891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.4837, allocations: 9.844 kB / 0.5198 GB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01093/0.4946, allocations: 3.047 MB / 0.5228 GB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004556/0.4992, allocations: 1.811 MB / 0.5246 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002348/0.4995, allocations: 188.8 kB / 0.5247 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00081/0.5003, allocations: 238.6 kB / 0.525 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01474/0.515, allocations: 9.759 MB / 0.5345 GB, free: 5.566 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.196e-05/0.5151, allocations: 18.59 kB / 0.5345 GB, free: 5.566 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003702/0.5155, allocations: 113.4 kB / 0.5346 GB, free: 5.527 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003248/0.5188, allocations: 2.367 MB / 0.5369 GB, free: 4.617 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01742/0.5362, allocations: 8.95 MB / 0.5457 GB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04468/0.5809, allocations: 29.75 MB / 0.5747 GB, free: 176 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006887/0.5879, allocations: 3.475 MB / 0.5781 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001698/0.5896, allocations: 1.104 MB / 0.5792 GB, free: 11.36 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01205/0.6017, allocations: 6.472 MB / 0.5855 GB, free: 4.504 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.6017, allocations: 47.22 kB / 0.5856 GB, free: 4.449 MB / 430.1 MB Notification: Performance of pre-optimization done (n=135): time 5.911e-06/0.6018, allocations: 0 / 0.5856 GB, free: 4.449 MB / 430.1 MB Notification: Performance of matching and sorting (n=135): time 0.007883/0.6096, allocations: 3.132 MB / 0.5886 GB, free: 1.316 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.63e-05/0.6097, allocations: 115.5 kB / 0.5887 GB, free: 1.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004279/0.614, allocations: 2.737 MB / 0.5914 GB, free: 14.42 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.6142, allocations: 48.75 kB / 0.5915 GB, free: 14.37 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001873/0.616, allocations: 2.732 MB / 0.5941 GB, free: 11.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005339/0.6166, allocations: 0.5107 MB / 0.5946 GB, free: 11.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005018/0.6171, allocations: 414.6 kB / 0.595 GB, free: 10.72 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.6172, allocations: 301.1 kB / 0.5953 GB, free: 10.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002017/0.6192, allocations: 1.409 MB / 0.5967 GB, free: 9.008 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00385/0.6231, allocations: 4.228 MB / 0.6008 GB, free: 3.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006652/0.6298, allocations: 6.151 MB / 0.6068 GB, free: 12.27 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.804e-05/0.6299, allocations: 28 kB / 0.6068 GB, free: 12.24 MB / 462.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.009466/0.6394, allocations: 5.454 MB / 0.6122 GB, free: 7.375 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.348e-05/0.6395, allocations: 51.94 kB / 0.6122 GB, free: 7.324 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001184/0.6396, allocations: 100 kB / 0.6123 GB, free: 7.227 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001348/0.6397, allocations: 128 kB / 0.6124 GB, free: 7.102 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002903/0.6427, allocations: 0.996 MB / 0.6134 GB, free: 6.195 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001513/0.6428, allocations: 199.5 kB / 0.6136 GB, free: 6.043 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003195/0.646, allocations: 0.6184 MB / 0.6142 GB, free: 5.418 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004419/0.6465, allocations: 278.3 kB / 0.6145 GB, free: 5.148 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.00445/0.6509, allocations: 1.983 MB / 0.6164 GB, free: 3.246 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005759/0.6515, allocations: 228.9 kB / 0.6166 GB, free: 3.02 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007594/0.6523, allocations: 288.8 kB / 0.6169 GB, free: 2.73 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-05/0.6524, allocations: 23.14 kB / 0.6169 GB, free: 2.711 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.637e-05/0.6524, allocations: 4.188 kB / 0.6169 GB, free: 2.707 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.6524, allocations: 3.984 kB / 0.6169 GB, free: 2.703 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0122/0.6646, allocations: 6.203 MB / 0.623 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.655e-05/0.6647, allocations: 8 kB / 0.623 GB, free: 12.38 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007224/0.6654, allocations: 163.7 kB / 0.6232 GB, free: 12.22 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.528e-05/0.6655, allocations: 12 kB / 0.6232 GB, free: 12.21 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.595e-05/0.6655, allocations: 31.98 kB / 0.6232 GB, free: 12.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.659e-05/0.6656, allocations: 15.94 kB / 0.6232 GB, free: 12.16 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/0.6656, allocations: 13.62 kB / 0.6232 GB, free: 12.15 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002653/0.6682, allocations: 1.99 MB / 0.6252 GB, free: 10.04 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009129/0.6692, allocations: 329.7 kB / 0.6255 GB, free: 9.699 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002597/0.6694, allocations: 22.42 kB / 0.6255 GB, free: 9.68 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007449/0.6702, allocations: 47.95 kB / 0.6255 GB, free: 9.633 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.6703, allocations: 80.3 kB / 0.6256 GB, free: 9.551 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/0.6705, allocations: 54.72 kB / 0.6257 GB, free: 9.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002877/0.6733, allocations: 1.678 MB / 0.6273 GB, free: 7.812 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6734, allocations: 0 / 0.6273 GB, free: 7.812 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006796/0.6802, allocations: 1.044 MB / 0.6283 GB, free: 6.766 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.0007719/0.681, allocations: 150.8 kB / 0.6285 GB, free: 6.613 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006719/0.6877, allocations: 3.243 MB / 0.6316 GB, free: 3.395 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.886e-05/0.6878, allocations: 4 kB / 0.6317 GB, free: 3.391 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.6889, allocations: 0.801 MB / 0.6324 GB, free: 2.598 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00405/0.6929, allocations: 304.1 kB / 0.6327 GB, free: 2.305 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0151/0.7081, allocations: 9.796 MB / 0.6423 GB, free: 8.371 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003484/0.7116, allocations: 3.092 MB / 0.6453 GB, free: 5.25 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003678/0.7153, allocations: 1.552 MB / 0.6468 GB, free: 3.691 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003872/0.7157, allocations: 175.4 kB / 0.647 GB, free: 3.52 MB / 494.1 MB Notification: Performance of SimCode: time 8.72e-07/0.7157, allocations: 0 / 0.647 GB, free: 3.52 MB / 494.1 MB Notification: Performance of Templates: time 0.04187/0.7576, allocations: 18.98 MB / 0.6655 GB, free: 0.6953 MB / 0.4981 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/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) Reference file matches