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.001225/0.001225, 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.001519/0.001519, 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.415/1.415, allocations: 222.9 MB / 242.3 MB, free: 15.22 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.2253/0.2253, allocations: 44.18 MB / 336.6 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 64.94 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1181, allocations: 60.82 MB / 469.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01332/0.1315, allocations: 12.06 MB / 481.4 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008341/0.1399, allocations: 4.035 MB / 485.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002119/0.1421, allocations: 79.81 kB / 485.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003659/0.1458, allocations: 1.666 MB / 487.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004248/0.15, allocations: 1.557 MB / 488.7 MB, free: 10.81 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002561/0.1526, allocations: 1.177 MB / 489.9 MB, free: 9.633 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004983/0.1576, allocations: 3.523 MB / 493.4 MB, free: 6.109 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003676/0.1613, allocations: 2.489 MB / 495.9 MB, free: 3.57 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002425/0.1638, allocations: 1.168 MB / 497.1 MB, free: 2.398 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002766/0.1666, allocations: 1.592 MB / 498.7 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008615/0.1674, allocations: 240 kB / 498.9 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00196/0.1694, allocations: 0.7138 MB / 499.6 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002085/0.1715, allocations: 1.597 MB / 0.4895 GB, free: 14.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002737/0.1743, allocations: 1.913 MB / 0.4914 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00749/0.1818, allocations: 5.992 MB / 0.4972 GB, free: 6.312 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.064e-05/0.1818, allocations: 4 kB / 0.4972 GB, free: 6.309 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.989e-06/0.1819, allocations: 0 / 0.4972 GB, free: 6.309 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003158/0.1822, allocations: 3.938 kB / 0.4972 GB, free: 6.305 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.009974/0.1922, allocations: 4.067 MB / 0.5012 GB, free: 2.168 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.1922, allocations: 8.031 kB / 0.5012 GB, free: 2.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001721/0.194, allocations: 0.7289 MB / 0.5019 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2646/0.4585, allocations: 2.997 MB / 0.5048 GB, free: 46.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004755/0.4633, allocations: 1.819 MB / 0.5066 GB, free: 45.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002651/0.4636, allocations: 197.4 kB / 0.5068 GB, free: 45.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001078/0.4647, allocations: 249.3 kB / 0.507 GB, free: 45.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02114/0.4859, allocations: 10.23 MB / 0.517 GB, free: 41.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.996e-05/0.486, allocations: 27.94 kB / 0.5171 GB, free: 41.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004468/0.4865, allocations: 130.5 kB / 0.5172 GB, free: 41.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004089/0.4906, allocations: 2.375 MB / 0.5195 GB, free: 40.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01627/0.5069, allocations: 9.083 MB / 0.5284 GB, free: 33.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04121/0.5481, allocations: 38.14 MB / 0.5656 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006242/0.5544, allocations: 3.371 MB / 0.5689 GB, free: 6.988 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002054/0.5565, allocations: 1.235 MB / 0.5701 GB, free: 5.734 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01048/0.567, allocations: 5.19 MB / 0.5752 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.847e-05/0.5671, allocations: 59.05 kB / 0.5752 GB, free: 336 kB / 398.1 MB Notification: Performance of pre-optimization done (n=150): time 7.344e-06/0.5672, allocations: 0 / 0.5752 GB, free: 336 kB / 398.1 MB Notification: Performance of matching and sorting (n=150): time 0.008161/0.5753, allocations: 3.324 MB / 0.5785 GB, free: 13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.5755, allocations: 170.7 kB / 0.5787 GB, free: 12.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007569/0.5831, allocations: 3.865 MB / 0.5824 GB, free: 8.938 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002982/0.5834, allocations: 41.7 kB / 0.5825 GB, free: 8.891 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002745/0.5862, allocations: 3.22 MB / 0.5856 GB, free: 5.621 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001012/0.5872, allocations: 0.6098 MB / 0.5862 GB, free: 5.004 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002877/0.5901, allocations: 1.313 MB / 0.5875 GB, free: 3.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.5902, allocations: 309.1 kB / 0.5878 GB, free: 3.375 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003605/0.5939, allocations: 1.965 MB / 0.5897 GB, free: 1.406 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006595/0.6005, allocations: 6.153 MB / 0.5957 GB, free: 9.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01066/0.6112, allocations: 8.848 MB / 0.6044 GB, free: 14.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001866/0.6114, allocations: 44 kB / 0.6044 GB, free: 14.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01583/0.6272, allocations: 7.766 MB / 0.612 GB, free: 6.406 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002035/0.6275, allocations: 68 kB / 0.612 GB, free: 6.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000257/0.6277, allocations: 152 kB / 0.6122 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002544/0.628, allocations: 192 kB / 0.6124 GB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004837/0.6329, allocations: 1.466 MB / 0.6138 GB, free: 4.535 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002643/0.6331, allocations: 290.9 kB / 0.6141 GB, free: 4.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006012/0.6392, allocations: 0.9164 MB / 0.615 GB, free: 3.324 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001368/0.6406, allocations: 404 kB / 0.6154 GB, free: 2.93 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.004633/0.6452, allocations: 2.238 MB / 0.6175 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006629/0.6459, allocations: 315.9 kB / 0.6178 GB, free: 376 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.6469, allocations: 407.5 kB / 0.6182 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.429e-05/0.647, allocations: 39.98 kB / 0.6183 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.647, allocations: 0 / 0.6183 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.589e-05/0.6471, allocations: 7.984 kB / 0.6183 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0113/0.6584, allocations: 5.531 MB / 0.6237 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-05/0.6584, allocations: 8 kB / 0.6237 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.6595, allocations: 207.7 kB / 0.6239 GB, free: 10.06 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.065e-05/0.6595, allocations: 12 kB / 0.6239 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001156/0.6596, allocations: 24 kB / 0.6239 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-05/0.6597, allocations: 15.92 kB / 0.6239 GB, free: 10.01 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.6597, allocations: 11.98 kB / 0.6239 GB, free: 9.996 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003173/0.6628, allocations: 2.543 MB / 0.6264 GB, free: 7.363 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000845/0.6637, allocations: 368.6 kB / 0.6268 GB, free: 6.98 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005988/0.6643, allocations: 24 kB / 0.6268 GB, free: 6.957 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/0.6658, allocations: 67.92 kB / 0.6269 GB, free: 6.891 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002001/0.666, allocations: 84.52 kB / 0.627 GB, free: 6.809 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/0.6661, allocations: 40 kB / 0.627 GB, free: 6.77 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00525/0.6714, allocations: 2.362 MB / 0.6293 GB, free: 4.422 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6714, allocations: 0 / 0.6293 GB, free: 4.422 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007254/0.6787, allocations: 1.101 MB / 0.6304 GB, free: 3.32 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.004933/0.6836, allocations: 3.173 MB / 0.6335 GB, free: 56 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009199/0.6929, allocations: 5.116 MB / 0.6385 GB, free: 10.99 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.048e-05/0.693, allocations: 4 kB / 0.6385 GB, free: 10.98 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001582/0.6945, allocations: 0.9517 MB / 0.6394 GB, free: 10.04 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0033/0.6979, allocations: 363.5 kB / 0.6397 GB, free: 9.688 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07566/0.7736, allocations: 46.04 MB / 0.6847 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006519/0.7801, allocations: 3.207 MB / 0.6878 GB, free: 500 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007677/0.7878, allocations: 2.239 MB / 0.69 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004383/0.7923, allocations: 1.694 MB / 0.6917 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of SimCode: time 1.843e-06/0.7923, allocations: 4 kB / 0.6917 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3357/1.128, allocations: 55.44 MB / 0.7458 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.014/10.14, allocations: 5.094 kB / 0.7458 GB, free: 165.9 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_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.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_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches