Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001175/0.001175, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00135/0.00135, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2595/0.2595, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 75.88 kB / 480.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3129, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01312/0.3261, allocations: 11.92 MB / 0.5421 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009266/0.3354, allocations: 4.078 MB / 0.5461 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002492/0.3379, allocations: 74.81 kB / 0.5462 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003914/0.3419, allocations: 1.659 MB / 0.5478 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004105/0.3461, allocations: 1.558 MB / 0.5493 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002577/0.3487, allocations: 1.169 MB / 0.5505 GB, free: 13.27 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005064/0.3538, allocations: 3.524 MB / 0.5539 GB, free: 9.738 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003403/0.3572, allocations: 2.448 MB / 0.5563 GB, free: 7.238 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001922/0.3591, allocations: 1.152 MB / 0.5574 GB, free: 6.082 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002314/0.3615, allocations: 1.573 MB / 0.559 GB, free: 4.504 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009028/0.3624, allocations: 236 kB / 0.5592 GB, free: 4.273 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001857/0.3643, allocations: 0.7061 MB / 0.5599 GB, free: 3.566 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001885/0.3662, allocations: 1.554 MB / 0.5614 GB, free: 2.008 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002864/0.3691, allocations: 1.859 MB / 0.5632 GB, free: 140 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007337/0.3765, allocations: 6.158 MB / 0.5692 GB, free: 9.953 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.3765, allocations: 0 / 0.5692 GB, free: 9.953 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3765, allocations: 0 / 0.5692 GB, free: 9.953 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002211/0.3767, allocations: 0 / 0.5692 GB, free: 9.953 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: 1539 * Number of variables: 1539 Notification: Performance of Generate backend data structure: time 0.008387/0.3851, allocations: 4.09 MB / 0.5732 GB, free: 5.785 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.3852, allocations: 12.03 kB / 0.5732 GB, free: 5.773 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001714/0.3869, allocations: 0.7125 MB / 0.5739 GB, free: 5.051 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009496/0.3964, allocations: 2.997 MB / 0.5769 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003998/0.4005, allocations: 1.816 MB / 0.5786 GB, free: 188 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002105/0.4007, allocations: 196.9 kB / 0.5788 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001081/0.4018, allocations: 243.8 kB / 0.5791 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01616/0.418, allocations: 10.04 MB / 0.5889 GB, free: 5.055 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.417e-05/0.4181, allocations: 31.69 kB / 0.5889 GB, free: 5.023 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004861/0.4186, allocations: 127.8 kB / 0.589 GB, free: 4.898 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003364/0.422, allocations: 2.31 MB / 0.5913 GB, free: 2.582 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01583/0.4378, allocations: 8.934 MB / 0.6 GB, free: 9.637 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04531/0.4832, allocations: 37.59 MB / 0.6367 GB, free: 2.926 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005575/0.4888, allocations: 3.383 MB / 0.64 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001761/0.4906, allocations: 1.234 MB / 0.6412 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0086/0.4992, allocations: 5.188 MB / 0.6463 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.4993, allocations: 51.06 kB / 0.6463 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=150): time 5.049e-06/0.4993, allocations: 3.938 kB / 0.6463 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of matching and sorting (n=150): time 0.007132/0.5065, allocations: 3.338 MB / 0.6496 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.507e-05/0.5066, allocations: 174.7 kB / 0.6498 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005801/0.5124, allocations: 3.834 MB / 0.6535 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002552/0.5127, allocations: 41.7 kB / 0.6535 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002649/0.5154, allocations: 3.318 MB / 0.6568 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000871/0.5163, allocations: 0.636 MB / 0.6574 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001727/0.518, allocations: 1.306 MB / 0.6587 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.743e-05/0.5181, allocations: 313.1 kB / 0.659 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002617/0.5207, allocations: 1.953 MB / 0.6609 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005848/0.5266, allocations: 6.1 MB / 0.6668 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009685/0.5363, allocations: 8.796 MB / 0.6754 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001438/0.5365, allocations: 44 kB / 0.6755 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01435/0.5509, allocations: 7.721 MB / 0.683 GB, free: 14.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.551, allocations: 68 kB / 0.6831 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001885/0.5512, allocations: 152.8 kB / 0.6832 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001782/0.5514, allocations: 192 kB / 0.6834 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004507/0.5559, allocations: 1.462 MB / 0.6848 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002466/0.5562, allocations: 286.9 kB / 0.6851 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004528/0.5607, allocations: 0.9268 MB / 0.686 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000939/0.5617, allocations: 400 kB / 0.6864 GB, free: 11.33 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 673 * Number of states: 0 () * Number of discrete variables: 23 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (791): * Single equations (assignments): 783 * 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.003528/0.5652, allocations: 2.206 MB / 0.6886 GB, free: 9.109 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005522/0.5658, allocations: 329.7 kB / 0.6889 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007811/0.5666, allocations: 415 kB / 0.6893 GB, free: 8.375 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.787e-05/0.5667, allocations: 32 kB / 0.6893 GB, free: 8.344 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/0.5667, allocations: 0 / 0.6893 GB, free: 8.344 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/0.5667, allocations: 11.97 kB / 0.6893 GB, free: 8.332 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009411/0.5761, allocations: 5.463 MB / 0.6946 GB, free: 2.742 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.802e-05/0.5762, allocations: 4 kB / 0.6946 GB, free: 2.738 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009629/0.5772, allocations: 211.7 kB / 0.6948 GB, free: 2.531 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.429e-05/0.5772, allocations: 15.88 kB / 0.6949 GB, free: 2.516 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/0.5773, allocations: 36.62 kB / 0.6949 GB, free: 2.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.118e-05/0.5773, allocations: 8 kB / 0.6949 GB, free: 2.473 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/0.5773, allocations: 15.94 kB / 0.6949 GB, free: 2.457 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002932/0.5803, allocations: 2.548 MB / 0.6974 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007556/0.5811, allocations: 394.5 kB / 0.6978 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004191/0.5815, allocations: 24 kB / 0.6978 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.5825, allocations: 67.89 kB / 0.6979 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001942/0.5828, allocations: 80.36 kB / 0.6979 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/0.5829, allocations: 43.98 kB / 0.698 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003592/0.5865, allocations: 2.334 MB / 0.7003 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.21e-07/0.5865, allocations: 4 kB / 0.7003 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005004/0.5915, allocations: 1.072 MB / 0.7013 GB, free: 11.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (108): * Single equations (assignments): 102 * 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.003707/0.5952, allocations: 3.18 MB / 0.7044 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006784/0.6021, allocations: 4.451 MB / 0.7088 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/0.6021, allocations: 0 / 0.7088 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001258/0.6034, allocations: 0.9566 MB / 0.7097 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/0.6055, allocations: 360.2 kB / 0.7101 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2827/0.8883, allocations: 41.79 MB / 0.7509 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003043/0.8914, allocations: 3.163 MB / 0.7539 GB, free: 155.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004128/0.8955, allocations: 2.225 MB / 0.7561 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002014/0.8976, allocations: 1.663 MB / 0.7577 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of SimCode: time 1.002e-06/0.8976, allocations: 0 / 0.7577 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07278/0.9704, allocations: 50.9 MB / 0.8075 GB, free: 100.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.97/19.94, allocations: 11.27 kB / 0.8075 GB, free: 100.9 MB / 0.5762 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches