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.001366/0.001366, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.001379/0.00138, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.457/1.457, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.235/0.235, allocations: 44.19 MB / 336.8 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 71.88 kB / 470 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3712, allocations: 60.82 MB / 0.5184 GB, free: 3.129 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01517/0.3864, allocations: 11.55 MB / 0.5297 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009147/0.3956, allocations: 3.025 MB / 0.5326 GB, free: 8.797 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003045/0.3987, allocations: 63.12 kB / 0.5327 GB, free: 8.789 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004528/0.4033, allocations: 1.556 MB / 0.5342 GB, free: 7.734 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00567/0.409, allocations: 1.584 MB / 0.5358 GB, free: 6.648 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008553/0.41, allocations: 115.3 kB / 0.5359 GB, free: 6.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006679/0.4167, allocations: 3.327 MB / 0.5391 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004679/0.4214, allocations: 2.191 MB / 0.5413 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00321/0.4246, allocations: 1.156 MB / 0.5424 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005167/0.4299, allocations: 2.434 MB / 0.5448 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001405/0.4313, allocations: 232 kB / 0.545 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002877/0.4342, allocations: 0.7059 MB / 0.5457 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002933/0.4372, allocations: 1.515 MB / 0.5472 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004874/0.4421, allocations: 1.828 MB / 0.549 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01109/0.4532, allocations: 5.993 MB / 0.5548 GB, free: 6.586 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.4533, allocations: 4 kB / 0.5548 GB, free: 6.582 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.4533, allocations: 4 kB / 0.5548 GB, free: 6.578 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002874/0.4536, allocations: 0 / 0.5548 GB, free: 6.578 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.01377/0.4674, allocations: 4.134 MB / 0.5589 GB, free: 2.371 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.503e-05/0.4675, allocations: 12.03 kB / 0.5589 GB, free: 2.359 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002311/0.4698, allocations: 0.6954 MB / 0.5595 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01103/0.4809, allocations: 2.989 MB / 0.5625 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004782/0.4857, allocations: 1.84 MB / 0.5643 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002402/0.486, allocations: 188.7 kB / 0.5644 GB, free: 12.58 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001344/0.4873, allocations: 239.8 kB / 0.5647 GB, free: 12.35 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02109/0.5085, allocations: 9.753 MB / 0.5742 GB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.882e-05/0.5086, allocations: 15.88 kB / 0.5742 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009976/0.5096, allocations: 111.8 kB / 0.5743 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004443/0.5141, allocations: 2.369 MB / 0.5766 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02008/0.5342, allocations: 8.94 MB / 0.5854 GB, free: 6.777 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05246/0.5867, allocations: 29.58 MB / 0.6142 GB, free: 8.457 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007461/0.5942, allocations: 3.48 MB / 0.6176 GB, free: 4.727 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002044/0.5963, allocations: 1.107 MB / 0.6187 GB, free: 3.609 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01271/0.6091, allocations: 6.478 MB / 0.625 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.113e-05/0.6092, allocations: 47.22 kB / 0.6251 GB, free: 12.65 MB / 494.1 MB Notification: Performance of pre-optimization done (n=135): time 5.751e-06/0.6092, allocations: 4 kB / 0.6251 GB, free: 12.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=135): time 0.009031/0.6182, allocations: 3.143 MB / 0.6282 GB, free: 9.496 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.6184, allocations: 115.4 kB / 0.6283 GB, free: 9.359 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0063/0.6247, allocations: 2.746 MB / 0.631 GB, free: 6.594 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002363/0.625, allocations: 37.7 kB / 0.631 GB, free: 6.551 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00292/0.6279, allocations: 2.849 MB / 0.6338 GB, free: 3.672 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000949/0.6289, allocations: 0.5427 MB / 0.6343 GB, free: 3.125 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002242/0.6312, allocations: 0.9369 MB / 0.6352 GB, free: 2.176 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.6314, allocations: 301.1 kB / 0.6355 GB, free: 1.879 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00265/0.634, allocations: 1.403 MB / 0.6369 GB, free: 480 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005794/0.6399, allocations: 4.225 MB / 0.641 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008536/0.6484, allocations: 6.159 MB / 0.647 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001239/0.6486, allocations: 28 kB / 0.647 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01162/0.6602, allocations: 5.471 MB / 0.6524 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001515/0.6604, allocations: 44 kB / 0.6524 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002246/0.6607, allocations: 104 kB / 0.6525 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002073/0.6609, allocations: 132 kB / 0.6527 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003458/0.6644, allocations: 0.9903 MB / 0.6536 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002526/0.6647, allocations: 199.2 kB / 0.6538 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004022/0.6687, allocations: 0.625 MB / 0.6544 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009849/0.6697, allocations: 300 kB / 0.6547 GB, free: 11.38 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.004522/0.6743, allocations: 1.969 MB / 0.6566 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006927/0.675, allocations: 246.4 kB / 0.6569 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.6761, allocations: 288.8 kB / 0.6571 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.1e-05/0.6762, allocations: 23.97 kB / 0.6572 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-05/0.6762, allocations: 4 kB / 0.6572 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.91e-05/0.6762, allocations: 7.969 kB / 0.6572 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01481/0.691, allocations: 6.189 MB / 0.6632 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-05/0.6911, allocations: 12.03 kB / 0.6632 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007822/0.6919, allocations: 167.7 kB / 0.6634 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.478e-05/0.6919, allocations: 12 kB / 0.6634 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001479/0.6921, allocations: 27.98 kB / 0.6634 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.231e-05/0.6921, allocations: 15.94 kB / 0.6634 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.196e-05/0.6922, allocations: 23.86 kB / 0.6635 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003137/0.6953, allocations: 2.007 MB / 0.6654 GB, free: 100 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008184/0.6961, allocations: 323.1 kB / 0.6657 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005494/0.6967, allocations: 24 kB / 0.6658 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/0.6978, allocations: 47.94 kB / 0.6658 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002449/0.6981, allocations: 84.3 kB / 0.6659 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001315/0.6982, allocations: 47.94 kB / 0.6659 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003864/0.7021, allocations: 1.674 MB / 0.6676 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.11e-07/0.7022, allocations: 0 / 0.6676 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00517/0.7073, allocations: 1.067 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.004169/0.7115, allocations: 2.653 MB / 0.6712 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006201/0.7178, allocations: 3.279 MB / 0.6744 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/0.7178, allocations: 4 kB / 0.6744 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001353/0.7192, allocations: 0.7973 MB / 0.6752 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002591/0.7218, allocations: 300.4 kB / 0.6755 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0609/0.7828, allocations: 31.06 MB / 0.7058 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006145/0.789, allocations: 3.107 MB / 0.7088 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004106/0.7931, allocations: 1.544 MB / 0.7103 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003285/0.7964, allocations: 1.601 MB / 0.7119 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of SimCode: time 1.132e-06/0.7965, allocations: 4 kB / 0.7119 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3734/1.17, allocations: 41.53 MB / 0.7525 GB, free: 175.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.7/16.87, allocations: 2.438 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