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.001169/0.00117, allocations: 102.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001185/0.001185, allocations: 216.5 kB / 18.58 MB, free: 4.406 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.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2209/0.2209, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 78.06 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1133, allocations: 62.44 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01154/0.1249, allocations: 11.52 MB / 491.6 MB, free: 9.629 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006638/0.1315, allocations: 3.053 MB / 494.7 MB, free: 6.566 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002003/0.1336, allocations: 59.88 kB / 494.7 MB, free: 6.508 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003225/0.1369, allocations: 1.565 MB / 496.3 MB, free: 4.938 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003735/0.1406, allocations: 1.58 MB / 497.9 MB, free: 3.352 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004792/0.1411, allocations: 115.9 kB / 498 MB, free: 3.238 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004901/0.1461, allocations: 3.301 MB / 0.4896 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004097/0.1502, allocations: 2.183 MB / 0.4917 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002309/0.1525, allocations: 1.152 MB / 0.4928 GB, free: 12.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00471/0.1572, allocations: 2.423 MB / 0.4952 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009444/0.1582, allocations: 232 kB / 0.4954 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002337/0.1606, allocations: 0.7021 MB / 0.4961 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002433/0.163, allocations: 1.496 MB / 0.4975 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003135/0.1662, allocations: 1.808 MB / 0.4993 GB, free: 5.879 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005943/0.1722, allocations: 5.63 MB / 0.5048 GB, free: 236 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1722, allocations: 0 / 0.5048 GB, free: 236 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.1722, allocations: 8 kB / 0.5048 GB, free: 228 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001878/0.1724, allocations: 0 / 0.5048 GB, free: 228 kB / 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.2113/0.3837, allocations: 3.979 MB / 0.5087 GB, free: 39.65 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.3838, allocations: 11.11 kB / 0.5087 GB, free: 39.65 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001117/0.3849, allocations: 0.6937 MB / 0.5094 GB, free: 39.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01092/0.3958, allocations: 2.958 MB / 0.5123 GB, free: 39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004705/0.4006, allocations: 1.812 MB / 0.5141 GB, free: 38.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001566/0.4008, allocations: 186.7 kB / 0.5142 GB, free: 37.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006241/0.4014, allocations: 236.8 kB / 0.5145 GB, free: 37.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0159/0.4173, allocations: 9.759 MB / 0.524 GB, free: 33.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.559e-05/0.4174, allocations: 19.22 kB / 0.524 GB, free: 33.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003428/0.4178, allocations: 113.2 kB / 0.5241 GB, free: 33.1 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003485/0.4213, allocations: 2.367 MB / 0.5264 GB, free: 32.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01401/0.4353, allocations: 8.952 MB / 0.5352 GB, free: 23.58 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04006/0.4754, allocations: 29.73 MB / 0.5642 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006751/0.4822, allocations: 3.473 MB / 0.5676 GB, free: 5.414 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001871/0.4841, allocations: 1.107 MB / 0.5687 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01103/0.4952, allocations: 6.467 MB / 0.575 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/0.4953, allocations: 51.14 kB / 0.575 GB, free: 13.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=135): time 4.949e-06/0.4953, allocations: 0 / 0.575 GB, free: 13.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=135): time 0.008178/0.5034, allocations: 3.13 MB / 0.5781 GB, free: 10.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.97e-05/0.5036, allocations: 119.5 kB / 0.5782 GB, free: 10.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005579/0.5092, allocations: 2.729 MB / 0.5809 GB, free: 7.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001573/0.5094, allocations: 37.7 kB / 0.5809 GB, free: 7.277 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002135/0.5115, allocations: 2.735 MB / 0.5836 GB, free: 4.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006286/0.5121, allocations: 0.5169 MB / 0.5841 GB, free: 3.977 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001281/0.5134, allocations: 0.9283 MB / 0.585 GB, free: 3.035 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.5136, allocations: 305.1 kB / 0.5853 GB, free: 2.734 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002081/0.5157, allocations: 1.406 MB / 0.5867 GB, free: 1.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004165/0.5198, allocations: 4.229 MB / 0.5908 GB, free: 11.67 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00732/0.5272, allocations: 6.156 MB / 0.5968 GB, free: 4.113 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001291/0.5274, allocations: 28 kB / 0.5968 GB, free: 4.086 MB / 430.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.0111/0.5385, allocations: 5.443 MB / 0.6021 GB, free: 14.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001288/0.5387, allocations: 52 kB / 0.6022 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001879/0.5389, allocations: 100 kB / 0.6023 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001728/0.5391, allocations: 135.9 kB / 0.6024 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003196/0.5423, allocations: 0.998 MB / 0.6034 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002207/0.5425, allocations: 195.2 kB / 0.6036 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003586/0.5461, allocations: 0.6145 MB / 0.6042 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007636/0.5469, allocations: 288 kB / 0.6044 GB, free: 12.26 MB / 446.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.004042/0.5509, allocations: 1.985 MB / 0.6064 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008282/0.5518, allocations: 225 kB / 0.6066 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008945/0.5527, allocations: 292.7 kB / 0.6069 GB, free: 9.746 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.508e-05/0.5528, allocations: 20 kB / 0.6069 GB, free: 9.727 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/0.5528, allocations: 0 / 0.6069 GB, free: 9.727 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.711e-05/0.5528, allocations: 3.984 kB / 0.6069 GB, free: 9.723 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01755/0.5704, allocations: 6.192 MB / 0.6129 GB, free: 3.363 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.236e-05/0.5704, allocations: 8 kB / 0.613 GB, free: 3.355 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/0.5715, allocations: 167.7 kB / 0.6131 GB, free: 3.191 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.592e-05/0.5716, allocations: 12.81 kB / 0.6131 GB, free: 3.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001596/0.5717, allocations: 28 kB / 0.6132 GB, free: 3.152 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.239e-05/0.5718, allocations: 19.98 kB / 0.6132 GB, free: 3.133 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.649e-05/0.5718, allocations: 11.94 kB / 0.6132 GB, free: 3.121 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004021/0.5758, allocations: 1.998 MB / 0.6151 GB, free: 1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008536/0.5767, allocations: 305.8 kB / 0.6154 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006652/0.5774, allocations: 27.98 kB / 0.6155 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/0.5787, allocations: 43.95 kB / 0.6155 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002226/0.579, allocations: 84.42 kB / 0.6156 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001278/0.5791, allocations: 51.98 kB / 0.6156 GB, free: 488 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00412/0.5832, allocations: 1.662 MB / 0.6172 GB, free: 14.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5832, allocations: 0 / 0.6172 GB, free: 14.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005952/0.5892, allocations: 1.03 MB / 0.6183 GB, free: 13.77 MB / 462.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.004293/0.5935, allocations: 2.648 MB / 0.6208 GB, free: 10.99 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009558/0.6031, allocations: 4.087 MB / 0.6248 GB, free: 6.93 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/0.6031, allocations: 0 / 0.6248 GB, free: 6.93 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00152/0.6047, allocations: 0.797 MB / 0.6256 GB, free: 6.137 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001929/0.6066, allocations: 303.4 kB / 0.6259 GB, free: 5.844 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05532/0.6619, allocations: 32.97 MB / 0.6581 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005092/0.6671, allocations: 3.095 MB / 0.6611 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004268/0.6714, allocations: 1.552 MB / 0.6626 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003163/0.6746, allocations: 1.601 MB / 0.6642 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of SimCode: time 2.295e-06/0.6746, allocations: 0 / 0.6642 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2974/0.972, allocations: 44 MB / 0.7072 GB, free: 180 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.927/9.899, allocations: 9.531 kB / 0.7072 GB, free: 180 MB / 0.5294 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