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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001888/0.001889, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.37/1.37, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.223/0.223, allocations: 44.19 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 58.5 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1266, allocations: 60.82 MB / 469.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01335/0.14, allocations: 11.55 MB / 480.9 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007839/0.1479, allocations: 3.043 MB / 483.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002474/0.1504, allocations: 63.88 kB / 484 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003655/0.1541, allocations: 1.545 MB / 485.5 MB, free: 13.99 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004662/0.1588, allocations: 1.576 MB / 487.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006426/0.1595, allocations: 115.8 kB / 487.2 MB, free: 12.29 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005009/0.1645, allocations: 3.326 MB / 490.6 MB, free: 8.961 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003499/0.168, allocations: 2.195 MB / 492.8 MB, free: 6.734 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002297/0.1704, allocations: 1.16 MB / 493.9 MB, free: 5.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003833/0.1742, allocations: 2.435 MB / 496.4 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009164/0.1751, allocations: 228 kB / 496.6 MB, free: 2.906 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002131/0.1773, allocations: 0.706 MB / 497.3 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002387/0.1797, allocations: 1.511 MB / 498.8 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003533/0.1832, allocations: 1.832 MB / 0.4889 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006398/0.1897, allocations: 5.677 MB / 0.4944 GB, free: 9.145 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1897, allocations: 0 / 0.4944 GB, free: 9.145 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1897, allocations: 0 / 0.4944 GB, free: 9.145 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002322/0.1899, allocations: 0 / 0.4944 GB, free: 9.145 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.008242/0.1982, allocations: 4.036 MB / 0.4984 GB, free: 5.043 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.1983, allocations: 11.97 kB / 0.4984 GB, free: 5.031 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009205/0.1992, allocations: 0.6993 MB / 0.4991 GB, free: 4.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009566/0.2088, allocations: 2.963 MB / 0.502 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2339/0.4427, allocations: 1.805 MB / 0.5037 GB, free: 45.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002068/0.443, allocations: 191.2 kB / 0.5039 GB, free: 45.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008844/0.4439, allocations: 234.4 kB / 0.5041 GB, free: 45.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01416/0.4581, allocations: 9.761 MB / 0.5137 GB, free: 41.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.268e-05/0.4581, allocations: 18.56 kB / 0.5137 GB, free: 41.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003271/0.4585, allocations: 114.5 kB / 0.5138 GB, free: 41.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003738/0.4622, allocations: 2.359 MB / 0.5161 GB, free: 41.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01581/0.4781, allocations: 8.957 MB / 0.5248 GB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03343/0.5115, allocations: 29.72 MB / 0.5539 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005349/0.5169, allocations: 3.478 MB / 0.5573 GB, free: 3.535 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/0.5182, allocations: 1.1 MB / 0.5583 GB, free: 2.426 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009766/0.528, allocations: 6.47 MB / 0.5647 GB, free: 11.53 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.5281, allocations: 47.22 kB / 0.5647 GB, free: 11.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=135): time 6.112e-06/0.5281, allocations: 0 / 0.5647 GB, free: 11.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=135): time 0.007619/0.5357, allocations: 3.134 MB / 0.5678 GB, free: 8.336 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.002e-05/0.5358, allocations: 115.5 kB / 0.5679 GB, free: 8.199 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003846/0.5397, allocations: 2.734 MB / 0.5705 GB, free: 5.445 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001382/0.5398, allocations: 45.7 kB / 0.5706 GB, free: 5.395 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00167/0.5415, allocations: 2.731 MB / 0.5733 GB, free: 2.621 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000487/0.542, allocations: 0.5168 MB / 0.5738 GB, free: 2.098 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001135/0.5432, allocations: 0.9245 MB / 0.5747 GB, free: 1.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.924e-05/0.5433, allocations: 305.1 kB / 0.5749 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001932/0.5452, allocations: 1.406 MB / 0.5763 GB, free: 15.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00356/0.5488, allocations: 4.233 MB / 0.5805 GB, free: 9.797 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007107/0.5559, allocations: 6.147 MB / 0.5865 GB, free: 2.246 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.172e-05/0.556, allocations: 29.59 kB / 0.5865 GB, free: 2.219 MB / 414.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.00967/0.5657, allocations: 5.458 MB / 0.5918 GB, free: 12.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.792e-05/0.5658, allocations: 48 kB / 0.5919 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000127/0.566, allocations: 104 kB / 0.592 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001205/0.5661, allocations: 128.8 kB / 0.5921 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002911/0.569, allocations: 0.9942 MB / 0.5931 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001425/0.5692, allocations: 201.7 kB / 0.5932 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003043/0.5722, allocations: 0.6144 MB / 0.5938 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004251/0.5727, allocations: 288.2 kB / 0.5941 GB, free: 10.39 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.003039/0.5757, allocations: 1.977 MB / 0.5961 GB, free: 8.398 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000385/0.5761, allocations: 225 kB / 0.5963 GB, free: 8.176 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004972/0.5766, allocations: 288.8 kB / 0.5965 GB, free: 7.891 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.869e-05/0.5767, allocations: 23.94 kB / 0.5966 GB, free: 7.867 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-05/0.5767, allocations: 4 kB / 0.5966 GB, free: 7.863 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/0.5767, allocations: 11.91 kB / 0.5966 GB, free: 7.852 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/0.5869, allocations: 6.2 MB / 0.6026 GB, free: 1.484 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/0.587, allocations: 8 kB / 0.6026 GB, free: 1.477 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006508/0.5876, allocations: 163.7 kB / 0.6028 GB, free: 1.316 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.877e-05/0.5877, allocations: 15.94 kB / 0.6028 GB, free: 1.301 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.13e-05/0.5877, allocations: 31.98 kB / 0.6028 GB, free: 1.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-05/0.5878, allocations: 15.94 kB / 0.6029 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.033e-05/0.5878, allocations: 15.92 kB / 0.6029 GB, free: 1.238 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002341/0.5901, allocations: 1.986 MB / 0.6048 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004743/0.5906, allocations: 313.7 kB / 0.6051 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002235/0.5908, allocations: 27.94 kB / 0.6051 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000635/0.5915, allocations: 43.95 kB / 0.6052 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.5916, allocations: 84.28 kB / 0.6053 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.074e-05/0.5917, allocations: 51.94 kB / 0.6053 GB, free: 14.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002246/0.594, allocations: 1.678 MB / 0.607 GB, free: 12.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.594, allocations: 0 / 0.607 GB, free: 12.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003563/0.5976, allocations: 1.043 MB / 0.608 GB, free: 11.87 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.002708/0.6003, allocations: 2.648 MB / 0.6106 GB, free: 9.098 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006123/0.6064, allocations: 4.089 MB / 0.6145 GB, free: 5.043 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/0.6065, allocations: 0 / 0.6145 GB, free: 5.043 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009692/0.6075, allocations: 0.7869 MB / 0.6153 GB, free: 4.258 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/0.6091, allocations: 306.3 kB / 0.6156 GB, free: 3.961 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04796/0.6571, allocations: 33.02 MB / 0.6479 GB, free: 13.85 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003236/0.6604, allocations: 3.096 MB / 0.6509 GB, free: 10.72 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003329/0.6637, allocations: 1.548 MB / 0.6524 GB, free: 9.168 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001842/0.6656, allocations: 1.601 MB / 0.654 GB, free: 7.566 MB / 494.1 MB Notification: Performance of SimCode: time 6.81e-07/0.6656, allocations: 3.938 kB / 0.654 GB, free: 7.562 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2836/0.9492, allocations: 44.1 MB / 0.697 GB, free: 172.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.233/10.18, allocations: 8.156 kB / 0.697 GB, free: 172.4 MB / 0.5137 GB (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes_res.csv","/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