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.001436/0.001436, allocations: 112.8 kB / 17.77 MB, free: 5.383 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.001596/0.001596, allocations: 184.8 kB / 18.71 MB, free: 4.457 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.355/1.355, allocations: 222.9 MB / 242.4 MB, free: 15.1 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.2089/0.2089, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 67.89 kB / 470 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3763, allocations: 60.82 MB / 0.5184 GB, free: 3.168 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.0135/0.3899, allocations: 11.55 MB / 0.5297 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008231/0.3982, allocations: 3.022 MB / 0.5326 GB, free: 8.852 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002989/0.4012, allocations: 62.72 kB / 0.5327 GB, free: 8.844 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004076/0.4053, allocations: 1.556 MB / 0.5342 GB, free: 7.789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005492/0.4109, allocations: 1.628 MB / 0.5358 GB, free: 6.672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007862/0.4118, allocations: 112.2 kB / 0.5359 GB, free: 6.598 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00637/0.4181, allocations: 3.328 MB / 0.5392 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004105/0.4223, allocations: 2.188 MB / 0.5413 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002845/0.4252, allocations: 1.156 MB / 0.5424 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004579/0.4298, allocations: 2.436 MB / 0.5448 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001161/0.431, allocations: 231.9 kB / 0.545 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002468/0.4335, allocations: 0.7061 MB / 0.5457 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002599/0.4362, allocations: 1.523 MB / 0.5472 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003844/0.44, allocations: 1.824 MB / 0.549 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008236/0.4483, allocations: 6.005 MB / 0.5548 GB, free: 6.578 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.4484, allocations: 0 / 0.5548 GB, free: 6.578 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4484, allocations: 4 kB / 0.5548 GB, free: 6.574 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002375/0.4486, allocations: 4 kB / 0.5549 GB, free: 6.57 MB / 414.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.009843/0.4585, allocations: 4.132 MB / 0.5589 GB, free: 2.363 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.4585, allocations: 12.03 kB / 0.5589 GB, free: 2.352 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001728/0.4603, allocations: 0.6916 MB / 0.5596 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01039/0.4707, allocations: 2.989 MB / 0.5625 GB, free: 14.65 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00487/0.4756, allocations: 1.84 MB / 0.5643 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002682/0.4759, allocations: 192.7 kB / 0.5645 GB, free: 12.57 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001112/0.4771, allocations: 243.8 kB / 0.5647 GB, free: 12.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01798/0.4951, allocations: 9.745 MB / 0.5742 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.091e-05/0.4952, allocations: 19.81 kB / 0.5742 GB, free: 2.203 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000634/0.4958, allocations: 111.8 kB / 0.5743 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00387/0.4997, allocations: 2.373 MB / 0.5767 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01713/0.5169, allocations: 8.952 MB / 0.5854 GB, free: 6.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04667/0.5636, allocations: 29.57 MB / 0.6143 GB, free: 8.434 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006633/0.5703, allocations: 3.472 MB / 0.6177 GB, free: 4.711 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/0.5719, allocations: 1.107 MB / 0.6188 GB, free: 3.594 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01144/0.5834, allocations: 6.481 MB / 0.6251 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/0.5835, allocations: 47.2 kB / 0.6251 GB, free: 12.63 MB / 494.1 MB Notification: Performance of pre-optimization done (n=135): time 5.601e-06/0.5835, allocations: 4 kB / 0.6251 GB, free: 12.63 MB / 494.1 MB Notification: Performance of matching and sorting (n=135): time 0.0082/0.5917, allocations: 3.143 MB / 0.6282 GB, free: 9.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.122e-05/0.5918, allocations: 115.5 kB / 0.6283 GB, free: 9.344 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004156/0.596, allocations: 2.738 MB / 0.631 GB, free: 6.586 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001723/0.5962, allocations: 45.69 kB / 0.631 GB, free: 6.535 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002029/0.5982, allocations: 2.853 MB / 0.6338 GB, free: 3.652 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000666/0.5989, allocations: 0.535 MB / 0.6343 GB, free: 3.113 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001234/0.6002, allocations: 0.9369 MB / 0.6353 GB, free: 2.164 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.74e-05/0.6003, allocations: 301.1 kB / 0.6355 GB, free: 1.867 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00201/0.6023, allocations: 1.403 MB / 0.6369 GB, free: 468 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004821/0.6071, allocations: 4.229 MB / 0.641 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007092/0.6143, allocations: 6.155 MB / 0.6471 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.563e-05/0.6144, allocations: 28 kB / 0.6471 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.009766/0.6242, allocations: 5.471 MB / 0.6524 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.749e-05/0.6243, allocations: 44 kB / 0.6525 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001337/0.6244, allocations: 100 kB / 0.6526 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001215/0.6246, allocations: 135.9 kB / 0.6527 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003232/0.6278, allocations: 0.9981 MB / 0.6537 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001615/0.628, allocations: 195.3 kB / 0.6539 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003401/0.6314, allocations: 0.6243 MB / 0.6545 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006859/0.6321, allocations: 288.5 kB / 0.6547 GB, free: 11.37 MB / 0.5137 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.003351/0.6355, allocations: 1.977 MB / 0.6567 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004516/0.636, allocations: 258.2 kB / 0.6569 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005771/0.6365, allocations: 288.8 kB / 0.6572 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.333e-05/0.6366, allocations: 16 kB / 0.6572 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/0.6366, allocations: 4 kB / 0.6572 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.6366, allocations: 3.984 kB / 0.6572 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01196/0.6486, allocations: 6.193 MB / 0.6633 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.732e-05/0.6487, allocations: 12.14 kB / 0.6633 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007014/0.6494, allocations: 167.7 kB / 0.6634 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.859e-05/0.6494, allocations: 12 kB / 0.6634 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.573e-05/0.6495, allocations: 31.94 kB / 0.6635 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.584e-05/0.6495, allocations: 15.94 kB / 0.6635 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-05/0.6495, allocations: 15.94 kB / 0.6635 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002402/0.6519, allocations: 2.015 MB / 0.6655 GB, free: 80 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006844/0.6527, allocations: 315.1 kB / 0.6658 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003691/0.653, allocations: 31.98 kB / 0.6658 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000806/0.6539, allocations: 43.95 kB / 0.6658 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.654, allocations: 84.23 kB / 0.6659 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.94e-05/0.6541, allocations: 51.98 kB / 0.666 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002739/0.6569, allocations: 1.67 MB / 0.6676 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.11e-07/0.6569, allocations: 0 / 0.6676 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004619/0.6615, allocations: 1.051 MB / 0.6686 GB, free: 12.81 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.003064/0.6646, allocations: 2.669 MB / 0.6712 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005199/0.6699, allocations: 3.276 MB / 0.6744 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/0.6699, allocations: 12 kB / 0.6744 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.671, allocations: 0.7897 MB / 0.6752 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001937/0.6729, allocations: 307.7 kB / 0.6755 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04653/0.7195, allocations: 31.06 MB / 0.7058 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005064/0.7246, allocations: 3.111 MB / 0.7089 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00347/0.7281, allocations: 1.54 MB / 0.7104 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002608/0.7308, allocations: 1.601 MB / 0.712 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of SimCode: time 1.313e-06/0.7308, allocations: 0 / 0.712 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3496/1.08, allocations: 41.52 MB / 0.7525 GB, free: 175.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.75/16.83, allocations: 13.55 kB / 0.7525 GB, free: 175.9 MB / 0.5762 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