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.001132/0.001132, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001108/0.001108, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.401/1.401, allocations: 222.9 MB / 242.3 MB, free: 15.27 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.21/0.21, allocations: 44.18 MB / 336.6 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 59.12 kB / 408.5 MB, free: 27.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09751/0.09891, allocations: 60.83 MB / 469.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01403/0.113, allocations: 12.03 MB / 481.4 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008154/0.1212, allocations: 4.039 MB / 485.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002318/0.1235, allocations: 79.81 kB / 485.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003423/0.127, allocations: 1.67 MB / 487.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003786/0.1308, allocations: 1.553 MB / 488.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002246/0.1331, allocations: 1.184 MB / 489.9 MB, free: 9.656 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004455/0.1375, allocations: 3.517 MB / 493.4 MB, free: 6.133 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003253/0.1408, allocations: 2.477 MB / 495.9 MB, free: 3.605 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001859/0.1427, allocations: 1.179 MB / 497.1 MB, free: 2.422 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002209/0.1449, allocations: 1.592 MB / 498.7 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007436/0.1457, allocations: 240 kB / 498.9 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001594/0.1473, allocations: 0.7138 MB / 499.6 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001717/0.149, allocations: 1.593 MB / 0.4895 GB, free: 14.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002615/0.1516, allocations: 1.921 MB / 0.4914 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00619/0.1578, allocations: 5.977 MB / 0.4972 GB, free: 6.348 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1579, allocations: 0 / 0.4972 GB, free: 6.348 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1579, allocations: 0 / 0.4972 GB, free: 6.348 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000226/0.1581, allocations: 4 kB / 0.4972 GB, free: 6.344 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: 1568 * Number of variables: 1568 Notification: Performance of Generate backend data structure: time 0.00837/0.1665, allocations: 4.074 MB / 0.5012 GB, free: 2.199 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.1665, allocations: 12.03 kB / 0.5012 GB, free: 2.188 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008978/0.1674, allocations: 0.7288 MB / 0.5019 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2307/0.3982, allocations: 2.999 MB / 0.5048 GB, free: 46.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0038/0.402, allocations: 1.821 MB / 0.5066 GB, free: 46.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001601/0.4022, allocations: 193.5 kB / 0.5068 GB, free: 45.99 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007231/0.403, allocations: 251.1 kB / 0.507 GB, free: 45.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01668/0.4196, allocations: 10.23 MB / 0.517 GB, free: 41.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.828e-05/0.4198, allocations: 27.22 kB / 0.517 GB, free: 41.37 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004106/0.4202, allocations: 130.8 kB / 0.5172 GB, free: 41.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003534/0.4237, allocations: 2.374 MB / 0.5195 GB, free: 40.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01362/0.4374, allocations: 9.084 MB / 0.5284 GB, free: 33.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04085/0.4783, allocations: 38.14 MB / 0.5656 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005798/0.4841, allocations: 3.387 MB / 0.5689 GB, free: 7.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001771/0.4859, allocations: 1.237 MB / 0.5701 GB, free: 5.766 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008599/0.4945, allocations: 5.188 MB / 0.5752 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.218e-05/0.4946, allocations: 47.06 kB / 0.5752 GB, free: 380 kB / 398.1 MB Notification: Performance of pre-optimization done (n=150): time 4.067e-06/0.4946, allocations: 4 kB / 0.5752 GB, free: 376 kB / 398.1 MB Notification: Performance of matching and sorting (n=150): time 0.007109/0.5017, allocations: 3.323 MB / 0.5785 GB, free: 13.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/0.5019, allocations: 174.7 kB / 0.5786 GB, free: 12.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006011/0.5079, allocations: 3.869 MB / 0.5824 GB, free: 8.969 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001819/0.5081, allocations: 41.7 kB / 0.5825 GB, free: 8.922 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002382/0.5105, allocations: 3.22 MB / 0.5856 GB, free: 5.652 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008052/0.5113, allocations: 0.6098 MB / 0.5862 GB, free: 5.035 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002095/0.5134, allocations: 1.313 MB / 0.5875 GB, free: 3.711 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.779e-05/0.5135, allocations: 301.1 kB / 0.5878 GB, free: 3.414 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003066/0.5166, allocations: 1.962 MB / 0.5897 GB, free: 1.449 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006474/0.5231, allocations: 6.16 MB / 0.5957 GB, free: 9.195 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01034/0.5335, allocations: 8.849 MB / 0.6043 GB, free: 14.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000162/0.5337, allocations: 44 kB / 0.6044 GB, free: 14.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01463/0.5483, allocations: 7.757 MB / 0.612 GB, free: 6.445 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001299/0.5485, allocations: 68.97 kB / 0.612 GB, free: 6.379 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002052/0.5487, allocations: 148.3 kB / 0.6122 GB, free: 6.234 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001905/0.5489, allocations: 200 kB / 0.6124 GB, free: 6.039 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00433/0.5532, allocations: 1.47 MB / 0.6138 GB, free: 4.566 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000231/0.5535, allocations: 294.9 kB / 0.6141 GB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004248/0.5577, allocations: 0.9121 MB / 0.615 GB, free: 3.355 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006437/0.5584, allocations: 408 kB / 0.6154 GB, free: 2.957 MB / 446.1 MB 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.003186/0.5616, allocations: 2.23 MB / 0.6175 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005389/0.5621, allocations: 315.8 kB / 0.6178 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008074/0.5629, allocations: 411.4 kB / 0.6182 GB, free: 0 / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.957e-05/0.563, allocations: 39.98 kB / 0.6183 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/0.563, allocations: 0 / 0.6183 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.5631, allocations: 7.984 kB / 0.6183 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009634/0.5727, allocations: 5.531 MB / 0.6237 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.73e-05/0.5728, allocations: 8 kB / 0.6237 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009985/0.5738, allocations: 203.6 kB / 0.6239 GB, free: 10.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.019e-05/0.5738, allocations: 12 kB / 0.6239 GB, free: 10.08 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001174/0.5739, allocations: 36.62 kB / 0.6239 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.528e-05/0.5739, allocations: 11.94 kB / 0.6239 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.574, allocations: 12 kB / 0.6239 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003063/0.577, allocations: 2.525 MB / 0.6264 GB, free: 7.406 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007871/0.5778, allocations: 380.6 kB / 0.6268 GB, free: 7.012 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005495/0.5784, allocations: 27.98 kB / 0.6268 GB, free: 6.984 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/0.5796, allocations: 59.92 kB / 0.6269 GB, free: 6.926 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/0.5798, allocations: 84.33 kB / 0.6269 GB, free: 6.844 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.502e-05/0.5799, allocations: 44 kB / 0.627 GB, free: 6.801 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003863/0.5838, allocations: 2.354 MB / 0.6293 GB, free: 4.461 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5838, allocations: 0 / 0.6293 GB, free: 4.461 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005014/0.5888, allocations: 1.1 MB / 0.6304 GB, free: 3.359 MB / 462.1 MB 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.003754/0.5926, allocations: 3.178 MB / 0.6335 GB, free: 96 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008501/0.6011, allocations: 5.116 MB / 0.6385 GB, free: 11.02 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.334e-05/0.6012, allocations: 4 kB / 0.6385 GB, free: 11.02 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001346/0.6025, allocations: 0.9527 MB / 0.6394 GB, free: 10.07 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00271/0.6052, allocations: 364.3 kB / 0.6397 GB, free: 9.723 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07103/0.6763, allocations: 46.04 MB / 0.6847 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004587/0.6809, allocations: 3.209 MB / 0.6878 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006186/0.6872, allocations: 2.239 MB / 0.69 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003104/0.6903, allocations: 1.698 MB / 0.6917 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of SimCode: time 1.904e-06/0.6903, allocations: 0 / 0.6917 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3178/1.008, allocations: 55.44 MB / 0.7458 GB, free: 166.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.965/9.973, allocations: 10.25 kB / 0.7458 GB, free: 166.1 MB / 0.5294 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