Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001138/0.001138, allocations: 121.8 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001288/0.001288, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2184/0.2184, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 75.88 kB / 480.8 MB, free: 4.605 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3261, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01323/0.3393, allocations: 11.51 MB / 0.5417 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007312/0.3467, allocations: 3.056 MB / 0.5447 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00228/0.349, allocations: 62.44 kB / 0.5448 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003602/0.3526, allocations: 1.575 MB / 0.5463 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004811/0.3575, allocations: 1.604 MB / 0.5479 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000638/0.3582, allocations: 116.1 kB / 0.548 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005016/0.3633, allocations: 3.296 MB / 0.5512 GB, free: 12.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003051/0.3663, allocations: 2.194 MB / 0.5534 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002207/0.3686, allocations: 1.137 MB / 0.5545 GB, free: 9.184 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004103/0.3727, allocations: 2.436 MB / 0.5568 GB, free: 6.742 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001236/0.374, allocations: 232 kB / 0.5571 GB, free: 6.516 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002483/0.3765, allocations: 0.706 MB / 0.5578 GB, free: 5.809 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00252/0.3791, allocations: 1.5 MB / 0.5592 GB, free: 4.305 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003679/0.3828, allocations: 1.812 MB / 0.561 GB, free: 2.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007863/0.3907, allocations: 5.939 MB / 0.5668 GB, free: 12.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.3907, allocations: 0 / 0.5668 GB, free: 12.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3907, allocations: 0 / 0.5668 GB, free: 12.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002477/0.391, allocations: 0 / 0.5668 GB, free: 12.52 MB / 430.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.008622/0.3996, allocations: 4.105 MB / 0.5708 GB, free: 8.336 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.3997, allocations: 8.031 kB / 0.5708 GB, free: 8.328 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001253/0.401, allocations: 0.6916 MB / 0.5715 GB, free: 7.625 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009801/0.4108, allocations: 2.989 MB / 0.5744 GB, free: 4.629 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004307/0.4151, allocations: 1.844 MB / 0.5762 GB, free: 2.738 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001752/0.4153, allocations: 188.7 kB / 0.5764 GB, free: 2.551 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008771/0.4162, allocations: 235.8 kB / 0.5766 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01624/0.4325, allocations: 9.757 MB / 0.5861 GB, free: 8.191 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.529e-05/0.4326, allocations: 23.8 kB / 0.5862 GB, free: 8.168 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007536/0.4334, allocations: 115.8 kB / 0.5863 GB, free: 8.055 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00383/0.4372, allocations: 2.369 MB / 0.5886 GB, free: 5.684 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01706/0.4543, allocations: 8.952 MB / 0.5973 GB, free: 12.71 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04769/0.502, allocations: 29.56 MB / 0.6262 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006772/0.5088, allocations: 3.478 MB / 0.6296 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001632/0.5105, allocations: 1.103 MB / 0.6307 GB, free: 9.582 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01129/0.5218, allocations: 6.481 MB / 0.637 GB, free: 2.672 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.5219, allocations: 43.16 kB / 0.637 GB, free: 2.621 MB / 494.1 MB Notification: Performance of pre-optimization done (n=135): time 5.15e-06/0.5219, allocations: 3.938 kB / 0.637 GB, free: 2.617 MB / 494.1 MB Notification: Performance of matching and sorting (n=135): time 0.008135/0.5301, allocations: 3.147 MB / 0.6401 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/0.5302, allocations: 111.5 kB / 0.6402 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004658/0.5348, allocations: 2.734 MB / 0.6429 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.535, allocations: 45.64 kB / 0.6429 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002335/0.5373, allocations: 2.845 MB / 0.6457 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007435/0.5381, allocations: 0.5388 MB / 0.6462 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001679/0.5398, allocations: 0.9369 MB / 0.6472 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.5399, allocations: 305.1 kB / 0.6474 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002239/0.5422, allocations: 1.406 MB / 0.6488 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004606/0.5468, allocations: 4.221 MB / 0.6529 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006917/0.5537, allocations: 6.151 MB / 0.6589 GB, free: 9.25 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.995e-05/0.5538, allocations: 28 kB / 0.659 GB, free: 9.223 MB / 0.5138 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.009183/0.563, allocations: 5.468 MB / 0.6643 GB, free: 3.75 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 9.919e-05/0.5632, allocations: 49.88 kB / 0.6644 GB, free: 3.703 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001497/0.5633, allocations: 96 kB / 0.6645 GB, free: 3.609 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001504/0.5635, allocations: 132 kB / 0.6646 GB, free: 3.48 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003019/0.5665, allocations: 0.9981 MB / 0.6656 GB, free: 2.48 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001788/0.5667, allocations: 199.2 kB / 0.6657 GB, free: 2.285 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003041/0.5698, allocations: 0.632 MB / 0.6664 GB, free: 1.648 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005575/0.5703, allocations: 292 kB / 0.6666 GB, free: 1.363 MB / 0.5138 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.003278/0.5736, allocations: 1.969 MB / 0.6686 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005035/0.5742, allocations: 242.3 kB / 0.6688 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006434/0.5748, allocations: 289 kB / 0.6691 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.974e-05/0.5749, allocations: 19.98 kB / 0.6691 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.5749, allocations: 0 / 0.6691 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.5749, allocations: 7.984 kB / 0.6691 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01147/0.5864, allocations: 6.2 MB / 0.6751 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/0.5864, allocations: 12.91 kB / 0.6752 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006849/0.5871, allocations: 159.8 kB / 0.6753 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.65e-05/0.5871, allocations: 15.94 kB / 0.6753 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.466e-05/0.5873, allocations: 39.97 kB / 0.6754 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.416e-05/0.5873, allocations: 12.25 kB / 0.6754 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.929e-06/0.5873, allocations: 15.94 kB / 0.6754 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00253/0.5898, allocations: 2.015 MB / 0.6774 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005815/0.5904, allocations: 319.1 kB / 0.6777 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003729/0.5908, allocations: 27.98 kB / 0.6777 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008274/0.5917, allocations: 47.95 kB / 0.6777 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/0.5918, allocations: 88.22 kB / 0.6778 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/0.5919, allocations: 48 kB / 0.6779 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002833/0.5948, allocations: 1.666 MB / 0.6795 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.81e-07/0.5948, allocations: 0 / 0.6795 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004152/0.599, allocations: 1.032 MB / 0.6805 GB, free: 2.828 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.0034/0.6024, allocations: 2.665 MB / 0.6831 GB, free: 36 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005189/0.6076, allocations: 3.28 MB / 0.6863 GB, free: 12.78 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/0.6077, allocations: 0 / 0.6863 GB, free: 12.78 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.6088, allocations: 0.7961 MB / 0.6871 GB, free: 11.98 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/0.6108, allocations: 303.8 kB / 0.6874 GB, free: 11.69 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05059/0.6614, allocations: 31.04 MB / 0.7177 GB, free: 8.613 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004181/0.6656, allocations: 3.096 MB / 0.7207 GB, free: 5.488 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.003461/0.6691, allocations: 1.548 MB / 0.7222 GB, free: 3.934 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002486/0.6716, allocations: 1.601 MB / 0.7238 GB, free: 2.332 MB / 0.5763 GB Notification: Performance of SimCode: time 7.31e-07/0.6716, allocations: 0 / 0.7238 GB, free: 2.332 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3274/0.999, allocations: 41.45 MB / 0.7643 GB, free: 156.3 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.03/16.02, allocations: 10.62 kB / 0.7643 GB, free: 156.3 MB / 0.5763 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Visualizers_Planes.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.Planes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches