Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_3_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.004946/0.004946, allocations: 100.4 kB / 15.87 MB, free: 6.309 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.00129/0.00129, allocations: 195.1 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 205.1 MB / 222.6 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3298/0.3298, allocations: 43.5 MB / 313.5 MB, free: 8.277 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 59.91 kB / 382.1 MB, free: 8.422 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1133, allocations: 57.78 MB / 439.9 MB, free: 14.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.2135/0.3268, allocations: 26.33 MB / 466.2 MB, free: 35.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01175/0.3386, allocations: 6.341 MB / 472.6 MB, free: 32.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005697/0.3443, allocations: 115 kB / 472.7 MB, free: 32.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003314/0.3477, allocations: 1.651 MB / 474.3 MB, free: 31.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003742/0.3515, allocations: 1.516 MB / 475.9 MB, free: 30.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002131/0.3536, allocations: 1.18 MB / 477 MB, free: 30.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005107/0.3588, allocations: 5.148 MB / 482.2 MB, free: 28.87 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003422/0.3622, allocations: 2.517 MB / 484.7 MB, free: 27.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001897/0.3641, allocations: 1.053 MB / 485.8 MB, free: 27.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002479/0.3666, allocations: 1.782 MB / 487.5 MB, free: 27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009008/0.3675, allocations: 183.8 kB / 487.7 MB, free: 26.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002081/0.3696, allocations: 0.6753 MB / 488.4 MB, free: 26.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002684/0.3723, allocations: 1.605 MB / 490 MB, free: 26.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004094/0.3764, allocations: 1.937 MB / 491.9 MB, free: 24.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00942/0.3859, allocations: 6.145 MB / 498.1 MB, free: 22.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.3859, allocations: 1.188 kB / 498.1 MB, free: 22.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3859, allocations: 0 / 498.1 MB, free: 22.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002469/0.3862, allocations: 0 / 498.1 MB, free: 22.69 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1617 * Number of variables: 1617 Notification: Performance of Generate backend data structure: time 0.009831/0.396, allocations: 4.183 MB / 0.4905 GB, free: 20.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.3961, allocations: 17.41 kB / 0.4905 GB, free: 20.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001405/0.3975, allocations: 0.7501 MB / 0.4912 GB, free: 19.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009416/0.4069, allocations: 3.008 MB / 0.4942 GB, free: 19.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004339/0.4113, allocations: 1.858 MB / 0.496 GB, free: 17.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002367/0.4115, allocations: 201.9 kB / 0.4962 GB, free: 17.69 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001222/0.4128, allocations: 260.3 kB / 0.4964 GB, free: 17.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01949/0.4323, allocations: 10.53 MB / 0.5067 GB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001321/0.4324, allocations: 37.03 kB / 0.5068 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001157/0.4336, allocations: 135.6 kB / 0.5069 GB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003603/0.4372, allocations: 2.441 MB / 0.5093 GB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0152/0.4524, allocations: 9.361 MB / 0.5184 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05357/0.506, allocations: 38.93 MB / 0.5564 GB, free: 7.992 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005844/0.5119, allocations: 3.488 MB / 0.5598 GB, free: 4.234 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001808/0.5138, allocations: 1.278 MB / 0.5611 GB, free: 2.941 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00917/0.5229, allocations: 5.459 MB / 0.5664 GB, free: 13.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.971e-05/0.523, allocations: 51.12 kB / 0.5665 GB, free: 13.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=153): time 4.989e-06/0.523, allocations: 0 / 0.5665 GB, free: 13.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=153): time 0.006712/0.5298, allocations: 3.359 MB / 0.5697 GB, free: 9.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.377e-05/0.5299, allocations: 166.8 kB / 0.5699 GB, free: 9.711 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00537/0.5352, allocations: 3.955 MB / 0.5738 GB, free: 5.766 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00015/0.5354, allocations: 41.7 kB / 0.5738 GB, free: 5.719 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002078/0.5375, allocations: 3.32 MB / 0.577 GB, free: 2.348 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006774/0.5382, allocations: 0.6175 MB / 0.5776 GB, free: 1.723 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001615/0.5398, allocations: 1.348 MB / 0.579 GB, free: 372 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.5399, allocations: 309 kB / 0.5793 GB, free: 60 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002657/0.5426, allocations: 2.008 MB / 0.5812 GB, free: 14.05 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005025/0.5476, allocations: 6.296 MB / 0.5874 GB, free: 5.602 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008875/0.5565, allocations: 9.07 MB / 0.5962 GB, free: 10.39 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001029/0.5566, allocations: 44 kB / 0.5963 GB, free: 10.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01387/0.5705, allocations: 7.927 MB / 0.604 GB, free: 2.406 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001626/0.5707, allocations: 70.22 kB / 0.6041 GB, free: 2.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002212/0.571, allocations: 152 kB / 0.6042 GB, free: 2.191 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002261/0.5712, allocations: 200 kB / 0.6044 GB, free: 1.996 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004532/0.5757, allocations: 1.517 MB / 0.6059 GB, free: 488 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002732/0.576, allocations: 294.9 kB / 0.6062 GB, free: 192 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005022/0.5811, allocations: 0.9433 MB / 0.6071 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009563/0.582, allocations: 424.3 kB / 0.6075 GB, free: 14.82 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 698 * Number of states: 0 () * Number of discrete variables: 21 (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 (819): * Single equations (assignments): 811 * 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.004422/0.5865, allocations: 2.276 MB / 0.6097 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007005/0.5872, allocations: 319.8 kB / 0.61 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.5882, allocations: 420.2 kB / 0.6104 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.932e-05/0.5883, allocations: 35.97 kB / 0.6105 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-05/0.5883, allocations: 8 kB / 0.6105 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.5884, allocations: 11.86 kB / 0.6105 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0115/0.5999, allocations: 5.7 MB / 0.616 GB, free: 5.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-05/0.5999, allocations: 4 kB / 0.6161 GB, free: 5.906 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009414/0.6009, allocations: 219.6 kB / 0.6163 GB, free: 5.691 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-05/0.6009, allocations: 12 kB / 0.6163 GB, free: 5.68 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.089e-05/0.601, allocations: 24 kB / 0.6163 GB, free: 5.656 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.537e-05/0.601, allocations: 15.94 kB / 0.6163 GB, free: 5.641 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/0.601, allocations: 11.94 kB / 0.6163 GB, free: 5.629 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002987/0.604, allocations: 2.585 MB / 0.6188 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007734/0.6048, allocations: 384.5 kB / 0.6192 GB, free: 2.551 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005152/0.6053, allocations: 24 kB / 0.6192 GB, free: 2.527 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009968/0.6063, allocations: 71.91 kB / 0.6193 GB, free: 2.457 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/0.6065, allocations: 88.22 kB / 0.6194 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.882e-05/0.6066, allocations: 44 kB / 0.6194 GB, free: 2.324 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00411/0.6108, allocations: 2.411 MB / 0.6218 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6108, allocations: 4 kB / 0.6218 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005579/0.6164, allocations: 1.133 MB / 0.6229 GB, free: 14.79 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (111): * Single equations (assignments): 105 * 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.00384/0.6202, allocations: 3.23 MB / 0.626 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007297/0.6275, allocations: 4.527 MB / 0.6305 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/0.6276, allocations: 0 / 0.6305 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001279/0.6289, allocations: 0.9687 MB / 0.6314 GB, free: 6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002974/0.6318, allocations: 347.7 kB / 0.6317 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2279/0.8598, allocations: 49.27 MB / 0.6799 GB, free: 126.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003359/0.8632, allocations: 3.283 MB / 0.6831 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004914/0.8681, allocations: 2.277 MB / 0.6853 GB, free: 125.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00199/0.8701, allocations: 1.752 MB / 0.687 GB, free: 123.8 MB / 0.4981 GB Notification: Performance of SimCode: time 7.71e-07/0.8701, allocations: 3.938 kB / 0.687 GB, free: 123.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07122/0.9413, allocations: 55.69 MB / 0.7414 GB, free: 82.42 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001265/0.9415, allocations: 201.7 kB / 0.7416 GB, free: 82.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.981/3.922, allocations: 4 kB / 0.7416 GB, free: 82.16 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches