Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",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.001145/0.001145, allocations: 109.8 kB / 17.78 MB, free: 5.285 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.001114/0.001114, allocations: 183.1 kB / 18.7 MB, free: 4.371 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.294/1.294, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.1977/0.1977, allocations: 44.19 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 67.84 kB / 470 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3453, allocations: 60.82 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01283/0.3582, allocations: 12.05 MB / 0.5302 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009277/0.3675, allocations: 4.033 MB / 0.5341 GB, free: 7.707 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003075/0.3706, allocations: 77.03 kB / 0.5342 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003752/0.3744, allocations: 1.679 MB / 0.5358 GB, free: 6.562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004374/0.3788, allocations: 1.586 MB / 0.5374 GB, free: 5.477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.3813, allocations: 1.186 MB / 0.5385 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005203/0.3866, allocations: 3.521 MB / 0.542 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00317/0.3898, allocations: 2.48 MB / 0.5444 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001971/0.3918, allocations: 1.18 MB / 0.5455 GB, free: 208 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002006/0.3938, allocations: 1.588 MB / 0.5471 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005585/0.3944, allocations: 244 kB / 0.5473 GB, free: 14.37 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.3957, allocations: 0.7138 MB / 0.548 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001357/0.3971, allocations: 1.605 MB / 0.5496 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001925/0.399, allocations: 1.917 MB / 0.5515 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006809/0.4059, allocations: 6.285 MB / 0.5576 GB, free: 3.809 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.4059, allocations: 0 / 0.5576 GB, free: 3.809 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.4059, allocations: 0 / 0.5576 GB, free: 3.809 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001714/0.4061, allocations: 0 / 0.5576 GB, free: 3.809 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: 1568 * Number of variables: 1568 Notification: Performance of Generate backend data structure: time 0.007275/0.4134, allocations: 4.085 MB / 0.5616 GB, free: 15.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.4134, allocations: 8.031 kB / 0.5616 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0011/0.4145, allocations: 0.7288 MB / 0.5623 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009371/0.4239, allocations: 2.998 MB / 0.5652 GB, free: 11.9 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003943/0.4279, allocations: 1.827 MB / 0.567 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001613/0.4281, allocations: 196.9 kB / 0.5672 GB, free: 9.824 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007727/0.4289, allocations: 255.8 kB / 0.5675 GB, free: 9.574 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01509/0.444, allocations: 10.23 MB / 0.5774 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.346e-05/0.4441, allocations: 31.69 kB / 0.5775 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003823/0.4445, allocations: 127.8 kB / 0.5776 GB, free: 14.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003351/0.4478, allocations: 2.372 MB / 0.5799 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01501/0.4629, allocations: 9.078 MB / 0.5888 GB, free: 3.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04729/0.5102, allocations: 37.97 MB / 0.6259 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005422/0.5157, allocations: 3.388 MB / 0.6292 GB, free: 8.293 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001681/0.5174, allocations: 1.233 MB / 0.6304 GB, free: 7.039 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008248/0.5257, allocations: 5.183 MB / 0.6354 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.5257, allocations: 47.12 kB / 0.6355 GB, free: 1.648 MB / 494.1 MB Notification: Performance of pre-optimization done (n=150): time 5.35e-06/0.5258, allocations: 0 / 0.6355 GB, free: 1.648 MB / 494.1 MB Notification: Performance of matching and sorting (n=150): time 0.006887/0.5327, allocations: 3.324 MB / 0.6387 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.838e-05/0.5328, allocations: 162.9 kB / 0.6389 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005893/0.5387, allocations: 3.877 MB / 0.6427 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001924/0.5389, allocations: 45.61 kB / 0.6427 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002284/0.5412, allocations: 3.223 MB / 0.6459 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007875/0.542, allocations: 0.6137 MB / 0.6465 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00165/0.5437, allocations: 1.309 MB / 0.6477 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.017e-05/0.5438, allocations: 309.1 kB / 0.648 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002692/0.5465, allocations: 1.965 MB / 0.6499 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005918/0.5524, allocations: 6.156 MB / 0.656 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008562/0.561, allocations: 8.853 MB / 0.6646 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001062/0.5611, allocations: 48 kB / 0.6646 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01217/0.5733, allocations: 7.743 MB / 0.6722 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001505/0.5735, allocations: 72 kB / 0.6723 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002191/0.5737, allocations: 148 kB / 0.6724 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002374/0.574, allocations: 192 kB / 0.6726 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004318/0.5783, allocations: 1.47 MB / 0.674 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00027/0.5786, allocations: 291.4 kB / 0.6743 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004291/0.5829, allocations: 0.9239 MB / 0.6752 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007942/0.5837, allocations: 404 kB / 0.6756 GB, free: 4.234 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 23 (freeMotion.arrow.arrowLine.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 (797): * Single equations (assignments): 789 * 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.003429/0.5871, allocations: 2.234 MB / 0.6778 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005394/0.5877, allocations: 307.9 kB / 0.6781 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008264/0.5885, allocations: 407.4 kB / 0.6785 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-05/0.5886, allocations: 39.98 kB / 0.6785 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.5886, allocations: 4 kB / 0.6785 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.5886, allocations: 7.984 kB / 0.6785 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009119/0.5977, allocations: 5.535 MB / 0.6839 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/0.5978, allocations: 8.188 kB / 0.6839 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008892/0.5987, allocations: 199.7 kB / 0.6841 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.45e-05/0.5987, allocations: 15.94 kB / 0.6841 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.731e-05/0.5988, allocations: 31.98 kB / 0.6842 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.33e-05/0.5988, allocations: 15.94 kB / 0.6842 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.5988, allocations: 7.938 kB / 0.6842 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002759/0.6016, allocations: 2.537 MB / 0.6867 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006403/0.6023, allocations: 372.6 kB / 0.687 GB, free: 8.293 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002932/0.6026, allocations: 27.98 kB / 0.687 GB, free: 8.266 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009299/0.6035, allocations: 67.92 kB / 0.6871 GB, free: 8.199 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/0.6037, allocations: 84.28 kB / 0.6872 GB, free: 8.117 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.365e-05/0.6038, allocations: 43.98 kB / 0.6872 GB, free: 8.074 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00328/0.6071, allocations: 2.358 MB / 0.6895 GB, free: 5.73 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6071, allocations: 8 kB / 0.6895 GB, free: 5.723 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004975/0.6121, allocations: 1.094 MB / 0.6906 GB, free: 4.625 MB / 0.545 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.003326/0.6154, allocations: 3.158 MB / 0.6937 GB, free: 1.367 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006409/0.6218, allocations: 4.466 MB / 0.6981 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/0.6219, allocations: 4 kB / 0.6981 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001177/0.623, allocations: 0.9544 MB / 0.699 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002048/0.6251, allocations: 356.7 kB / 0.6993 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2998/0.9249, allocations: 42.05 MB / 0.7404 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003862/0.9288, allocations: 3.21 MB / 0.7435 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004858/0.9337, allocations: 2.24 MB / 0.7457 GB, free: 170 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00227/0.936, allocations: 1.696 MB / 0.7474 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.323e-06/0.936, allocations: 0 / 0.7474 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07726/1.013, allocations: 51.5 MB / 0.7977 GB, free: 123.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.88/18.9, allocations: 12.09 kB / 0.7977 GB, free: 123.7 MB / 0.5762 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/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_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches