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.001457/0.001457, allocations: 118.8 kB / 17.79 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001804/0.001805, allocations: 202 kB / 18.74 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2069/0.2069, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 75.88 kB / 480.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3575, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.0139/0.3714, allocations: 11.5 MB / 0.5417 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007384/0.3789, allocations: 3.056 MB / 0.5447 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002307/0.3812, allocations: 62.41 kB / 0.5448 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00347/0.3848, allocations: 1.578 MB / 0.5463 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004545/0.3893, allocations: 1.605 MB / 0.5479 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006149/0.39, allocations: 116.2 kB / 0.548 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00555/0.3955, allocations: 3.297 MB / 0.5512 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003796/0.3994, allocations: 2.195 MB / 0.5534 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002505/0.4019, allocations: 1.137 MB / 0.5545 GB, free: 9.156 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003876/0.4058, allocations: 2.435 MB / 0.5568 GB, free: 6.715 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00101/0.4068, allocations: 228 kB / 0.5571 GB, free: 6.492 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002259/0.4091, allocations: 0.7099 MB / 0.5578 GB, free: 5.781 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00225/0.4114, allocations: 1.507 MB / 0.5592 GB, free: 4.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003847/0.4153, allocations: 1.805 MB / 0.561 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00868/0.424, allocations: 5.939 MB / 0.5668 GB, free: 12.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.424, allocations: 0 / 0.5668 GB, free: 12.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.424, allocations: 4 kB / 0.5668 GB, free: 12.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002179/0.4243, allocations: 0 / 0.5668 GB, free: 12.48 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.008908/0.4332, allocations: 4.105 MB / 0.5708 GB, free: 8.301 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.4333, allocations: 12.03 kB / 0.5708 GB, free: 8.289 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00157/0.4348, allocations: 0.6916 MB / 0.5715 GB, free: 7.586 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009337/0.4442, allocations: 2.985 MB / 0.5744 GB, free: 4.594 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004171/0.4484, allocations: 1.84 MB / 0.5762 GB, free: 2.707 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002017/0.4486, allocations: 184.7 kB / 0.5764 GB, free: 2.523 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001226/0.4499, allocations: 235.8 kB / 0.5766 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01605/0.4659, allocations: 9.764 MB / 0.5861 GB, free: 8.156 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.004e-05/0.4661, allocations: 15.88 kB / 0.5862 GB, free: 8.141 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004221/0.4665, allocations: 111.8 kB / 0.5863 GB, free: 8.031 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003632/0.4701, allocations: 2.373 MB / 0.5886 GB, free: 5.656 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01732/0.4875, allocations: 8.956 MB / 0.5973 GB, free: 12.69 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04653/0.5341, allocations: 29.57 MB / 0.6262 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006531/0.5406, allocations: 3.477 MB / 0.6296 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001657/0.5423, allocations: 1.095 MB / 0.6307 GB, free: 9.555 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01082/0.5532, allocations: 6.486 MB / 0.637 GB, free: 2.645 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.5532, allocations: 43.2 kB / 0.637 GB, free: 2.594 MB / 494.1 MB Notification: Performance of pre-optimization done (n=135): time 4.418e-06/0.5532, allocations: 0 / 0.637 GB, free: 2.594 MB / 494.1 MB Notification: Performance of matching and sorting (n=135): time 0.007994/0.5612, allocations: 3.143 MB / 0.6401 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.679e-05/0.5613, allocations: 119.4 kB / 0.6402 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004052/0.5654, allocations: 2.738 MB / 0.6429 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001796/0.5656, allocations: 41.7 kB / 0.6429 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002096/0.5677, allocations: 2.845 MB / 0.6457 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007053/0.5685, allocations: 0.5388 MB / 0.6462 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001403/0.5699, allocations: 0.933 MB / 0.6471 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.57, allocations: 309.1 kB / 0.6474 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002263/0.5723, allocations: 1.399 MB / 0.6488 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004389/0.5767, allocations: 4.233 MB / 0.6529 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007143/0.5839, allocations: 6.139 MB / 0.6589 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001002/0.584, allocations: 32 kB / 0.659 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01052/0.5945, allocations: 5.463 MB / 0.6643 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.561e-05/0.5946, allocations: 48 kB / 0.6644 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001453/0.5948, allocations: 104.8 kB / 0.6645 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001308/0.5949, allocations: 132 kB / 0.6646 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003177/0.5981, allocations: 0.9982 MB / 0.6656 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001659/0.5983, allocations: 199.2 kB / 0.6657 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003328/0.6016, allocations: 0.6281 MB / 0.6664 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007213/0.6024, allocations: 288 kB / 0.6666 GB, free: 1.344 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.003903/0.6063, allocations: 1.977 MB / 0.6686 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005726/0.6069, allocations: 242.3 kB / 0.6688 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006631/0.6076, allocations: 288.8 kB / 0.6691 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.151e-05/0.6076, allocations: 20 kB / 0.6691 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.456e-05/0.6076, allocations: 4 kB / 0.6691 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.6077, allocations: 3.984 kB / 0.6691 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01085/0.6185, allocations: 6.204 MB / 0.6752 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.97e-05/0.6186, allocations: 4 kB / 0.6752 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006303/0.6192, allocations: 163.7 kB / 0.6753 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.314e-05/0.6193, allocations: 12 kB / 0.6753 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.713e-05/0.6194, allocations: 39.97 kB / 0.6754 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.357e-05/0.6194, allocations: 11.94 kB / 0.6754 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.955e-05/0.6194, allocations: 15.94 kB / 0.6754 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002542/0.6219, allocations: 2.015 MB / 0.6774 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006692/0.6226, allocations: 315.3 kB / 0.6777 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002591/0.6229, allocations: 31.98 kB / 0.6777 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006344/0.6236, allocations: 43.95 kB / 0.6777 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/0.6237, allocations: 88.27 kB / 0.6778 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.633e-05/0.6238, allocations: 48 kB / 0.6779 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00264/0.6265, allocations: 1.67 MB / 0.6795 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.51e-07/0.6265, allocations: 7.938 kB / 0.6795 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003922/0.6304, allocations: 1.028 MB / 0.6805 GB, free: 2.801 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.002945/0.6334, allocations: 2.661 MB / 0.6831 GB, free: 12 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005509/0.6389, allocations: 3.282 MB / 0.6863 GB, free: 12.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/0.639, allocations: 0 / 0.6863 GB, free: 12.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.64, allocations: 0.7989 MB / 0.6871 GB, free: 11.96 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/0.6416, allocations: 308.7 kB / 0.6874 GB, free: 11.66 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04634/0.688, allocations: 31.03 MB / 0.7177 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004016/0.6921, allocations: 3.099 MB / 0.7207 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00324/0.6953, allocations: 1.552 MB / 0.7222 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002277/0.6976, allocations: 1.597 MB / 0.7238 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of SimCode: time 2.284e-06/0.6977, allocations: 0 / 0.7238 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3228/1.021, allocations: 41.45 MB / 0.7643 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.33/16.35, allocations: 4 kB / 0.7643 GB, free: 156.5 MB / 0.5762 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