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.001224/0.001224, allocations: 109.4 kB / 16.41 MB, free: 6.445 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.001069/0.001069, allocations: 185.4 kB / 17.34 MB, free: 5.738 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.345/1.345, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2127/0.2127, allocations: 43.52 MB / 314.1 MB, free: 472 kB / 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.001565/0.001565, allocations: 71.89 kB / 441.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1097, allocations: 57.79 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01418/0.124, allocations: 12.43 MB / 0.4995 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008838/0.1329, allocations: 4.051 MB / 0.5035 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002149/0.135, allocations: 79.81 kB / 0.5036 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003682/0.1388, allocations: 1.682 MB / 0.5052 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004137/0.143, allocations: 1.623 MB / 0.5068 GB, free: 8.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002526/0.1455, allocations: 1.188 MB / 0.508 GB, free: 7.172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005234/0.1508, allocations: 3.631 MB / 0.5115 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003864/0.1547, allocations: 2.52 MB / 0.514 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002118/0.1568, allocations: 1.218 MB / 0.5151 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002512/0.1593, allocations: 1.666 MB / 0.5168 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008461/0.1602, allocations: 252 kB / 0.517 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001752/0.162, allocations: 0.7138 MB / 0.5177 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001966/0.1639, allocations: 1.656 MB / 0.5193 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003476/0.1674, allocations: 1.98 MB / 0.5213 GB, free: 9.453 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008082/0.1755, allocations: 6.542 MB / 0.5277 GB, free: 2.883 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1756, allocations: 0 / 0.5277 GB, free: 2.883 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.1756, allocations: 4 kB / 0.5277 GB, free: 2.879 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002481/0.1758, allocations: 0 / 0.5277 GB, free: 2.879 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: 1617 * Number of variables: 1617 Notification: Performance of Generate backend data structure: time 0.2678/0.4436, allocations: 4.301 MB / 0.5319 GB, free: 38.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.4437, allocations: 14.64 kB / 0.5319 GB, free: 38.15 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001204/0.4449, allocations: 0.7472 MB / 0.5326 GB, free: 38.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01098/0.4559, allocations: 3.043 MB / 0.5356 GB, free: 37.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005256/0.4612, allocations: 1.886 MB / 0.5374 GB, free: 37.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001627/0.4614, allocations: 200.3 kB / 0.5376 GB, free: 37.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007197/0.4621, allocations: 261.1 kB / 0.5379 GB, free: 37.01 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0165/0.4786, allocations: 10.52 MB / 0.5481 GB, free: 32.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.944e-05/0.4787, allocations: 29.22 kB / 0.5482 GB, free: 32.24 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004082/0.4792, allocations: 134.4 kB / 0.5483 GB, free: 32.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003488/0.4826, allocations: 2.437 MB / 0.5507 GB, free: 31.4 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01411/0.4968, allocations: 9.369 MB / 0.5598 GB, free: 24.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04477/0.5416, allocations: 38.82 MB / 0.5977 GB, free: 1.141 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006268/0.5479, allocations: 3.49 MB / 0.6011 GB, free: 13.37 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001843/0.5498, allocations: 1.284 MB / 0.6024 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009995/0.5598, allocations: 5.468 MB / 0.6077 GB, free: 6.488 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.5599, allocations: 47.06 kB / 0.6078 GB, free: 6.434 MB / 446.1 MB Notification: Performance of pre-optimization done (n=153): time 4.599e-06/0.5599, allocations: 0 / 0.6078 GB, free: 6.434 MB / 446.1 MB Notification: Performance of matching and sorting (n=153): time 0.007461/0.5673, allocations: 3.374 MB / 0.6111 GB, free: 3.059 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.604e-05/0.5675, allocations: 174.7 kB / 0.6112 GB, free: 2.852 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005439/0.5729, allocations: 3.961 MB / 0.6151 GB, free: 14.9 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001643/0.5731, allocations: 41.7 kB / 0.6151 GB, free: 14.86 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002383/0.5755, allocations: 3.469 MB / 0.6185 GB, free: 11.35 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007562/0.5762, allocations: 0.6516 MB / 0.6192 GB, free: 10.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001592/0.5778, allocations: 1.357 MB / 0.6205 GB, free: 9.328 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.578, allocations: 309 kB / 0.6208 GB, free: 9.023 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002822/0.5808, allocations: 1.996 MB / 0.6227 GB, free: 7.023 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005612/0.5865, allocations: 6.307 MB / 0.6289 GB, free: 14.57 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009523/0.596, allocations: 9.077 MB / 0.6378 GB, free: 3.348 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001285/0.5961, allocations: 44 kB / 0.6378 GB, free: 3.305 MB / 478.1 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01371/0.6099, allocations: 7.934 MB / 0.6455 GB, free: 11.36 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001436/0.61, allocations: 72 kB / 0.6456 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000234/0.6103, allocations: 156 kB / 0.6458 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000214/0.6105, allocations: 200 kB / 0.646 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004655/0.6152, allocations: 1.509 MB / 0.6474 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003044/0.6155, allocations: 298.7 kB / 0.6477 GB, free: 9.141 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005105/0.6206, allocations: 0.9658 MB / 0.6487 GB, free: 8.168 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009129/0.6215, allocations: 420 kB / 0.6491 GB, free: 7.758 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.003931/0.6255, allocations: 2.288 MB / 0.6513 GB, free: 5.457 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006517/0.6261, allocations: 333.7 kB / 0.6516 GB, free: 5.129 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009622/0.6271, allocations: 420.2 kB / 0.652 GB, free: 4.715 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-05/0.6272, allocations: 43.97 kB / 0.6521 GB, free: 4.672 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.6272, allocations: 0 / 0.6521 GB, free: 4.672 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.6272, allocations: 7.984 kB / 0.6521 GB, free: 4.664 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0125/0.6397, allocations: 5.708 MB / 0.6576 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.39e-05/0.6398, allocations: 8 kB / 0.6576 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/0.6409, allocations: 203.7 kB / 0.6578 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-05/0.641, allocations: 12 kB / 0.6578 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001459/0.6411, allocations: 35.98 kB / 0.6579 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.126e-05/0.6412, allocations: 11.94 kB / 0.6579 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.267e-06/0.6412, allocations: 11.94 kB / 0.6579 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003377/0.6446, allocations: 2.607 MB / 0.6604 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009868/0.6456, allocations: 402.4 kB / 0.6608 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006578/0.6462, allocations: 24 kB / 0.6609 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/0.6477, allocations: 67.91 kB / 0.6609 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/0.6479, allocations: 89.36 kB / 0.661 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/0.648, allocations: 48.03 kB / 0.6611 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004554/0.6525, allocations: 2.403 MB / 0.6634 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.81e-07/0.6526, allocations: 0 / 0.6634 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006137/0.6587, allocations: 1.15 MB / 0.6645 GB, free: 7.672 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.004594/0.6633, allocations: 3.228 MB / 0.6677 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007502/0.6708, allocations: 4.553 MB / 0.6721 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.6709, allocations: 1.75 kB / 0.6721 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001301/0.6722, allocations: 0.9725 MB / 0.6731 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002733/0.6749, allocations: 372.7 kB / 0.6734 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06522/0.7402, allocations: 43.33 MB / 0.7157 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0048/0.745, allocations: 3.284 MB / 0.719 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004997/0.75, allocations: 2.279 MB / 0.7212 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002461/0.7525, allocations: 1.749 MB / 0.7229 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of SimCode: time 8.82e-07/0.7525, allocations: 0 / 0.7229 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3109/1.063, allocations: 52.57 MB / 0.7742 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.82/18.88, allocations: 9.547 kB / 0.7742 GB, free: 210.2 MB / 0.5919 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches