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.001672/0.001672, allocations: 102.5 kB / 16.27 MB, free: 5.93 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.001786/0.001787, allocations: 193.2 kB / 17.2 MB, free: 5.574 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.51/1.51, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2334/0.2334, allocations: 43.52 MB / 313.9 MB, free: 0.5273 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.001639/0.001639, allocations: 69.09 kB / 382.8 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1222, allocations: 57.8 MB / 440.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01174/0.134, allocations: 12.42 MB / 453 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009784/0.1439, allocations: 4.05 MB / 457.1 MB, free: 6.254 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00297/0.1469, allocations: 79.88 kB / 457.2 MB, free: 6.176 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003818/0.1508, allocations: 1.678 MB / 458.8 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005466/0.1563, allocations: 1.603 MB / 460.4 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002724/0.1591, allocations: 1.188 MB / 461.6 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006308/0.1654, allocations: 3.615 MB / 465.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003393/0.1688, allocations: 2.524 MB / 467.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002149/0.171, allocations: 1.218 MB / 469 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002226/0.1732, allocations: 1.662 MB / 470.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006328/0.1739, allocations: 252 kB / 470.9 MB, free: 8.359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001452/0.1754, allocations: 0.7139 MB / 471.6 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001431/0.1768, allocations: 1.656 MB / 473.3 MB, free: 5.984 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00172/0.1785, allocations: 1.98 MB / 475.3 MB, free: 3.992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005923/0.1845, allocations: 6.206 MB / 481.5 MB, free: 13.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.1845, allocations: 4 kB / 481.5 MB, free: 13.76 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1845, allocations: 0 / 481.5 MB, free: 13.76 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001727/0.1847, allocations: 0 / 481.5 MB, free: 13.76 MB / 366.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.007686/0.1924, allocations: 4.184 MB / 485.6 MB, free: 9.508 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.1925, allocations: 15.89 kB / 485.7 MB, free: 9.492 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001084/0.1935, allocations: 0.7457 MB / 486.4 MB, free: 8.734 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01029/0.2038, allocations: 3.013 MB / 489.4 MB, free: 5.711 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004611/0.2085, allocations: 1.854 MB / 491.3 MB, free: 3.809 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00019/0.2087, allocations: 205.1 kB / 491.5 MB, free: 3.605 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009697/0.2097, allocations: 263.8 kB / 491.7 MB, free: 3.348 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01634/0.226, allocations: 10.52 MB / 0.4905 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-05/0.2262, allocations: 43.67 kB / 0.4905 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000419/0.2266, allocations: 127.8 kB / 0.4906 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003752/0.2304, allocations: 2.431 MB / 0.493 GB, free: 5.562 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01718/0.2476, allocations: 9.376 MB / 0.5022 GB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2871/0.5347, allocations: 38.92 MB / 0.5402 GB, free: 60.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006615/0.5414, allocations: 3.483 MB / 0.5436 GB, free: 59.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002343/0.5438, allocations: 1.281 MB / 0.5448 GB, free: 59.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009983/0.5538, allocations: 5.46 MB / 0.5502 GB, free: 57.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.76e-05/0.5539, allocations: 52.03 kB / 0.5502 GB, free: 57.58 MB / 414.1 MB Notification: Performance of pre-optimization done (n=153): time 6.502e-06/0.5539, allocations: 0 / 0.5502 GB, free: 57.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=153): time 0.007395/0.5613, allocations: 3.358 MB / 0.5535 GB, free: 57.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/0.5614, allocations: 170.4 kB / 0.5537 GB, free: 56.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005256/0.5666, allocations: 3.96 MB / 0.5575 GB, free: 55.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001402/0.5668, allocations: 41.58 kB / 0.5576 GB, free: 55.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001684/0.5685, allocations: 3.318 MB / 0.5608 GB, free: 52.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005305/0.569, allocations: 0.6151 MB / 0.5614 GB, free: 52.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001349/0.5704, allocations: 1.353 MB / 0.5627 GB, free: 51.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.01e-05/0.5704, allocations: 301.1 kB / 0.563 GB, free: 51.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002344/0.5728, allocations: 1.996 MB / 0.565 GB, free: 50.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003907/0.5767, allocations: 6.315 MB / 0.5711 GB, free: 44.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007538/0.5843, allocations: 9.055 MB / 0.58 GB, free: 35.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001074/0.5844, allocations: 46.25 kB / 0.58 GB, free: 35.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.0103/0.5947, allocations: 7.933 MB / 0.5878 GB, free: 27.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.346e-05/0.5948, allocations: 75.94 kB / 0.5878 GB, free: 27.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000106/0.5949, allocations: 152 kB / 0.588 GB, free: 27.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001345/0.5951, allocations: 200 kB / 0.5882 GB, free: 27.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003748/0.5988, allocations: 1.509 MB / 0.5897 GB, free: 25.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001675/0.599, allocations: 294.9 kB / 0.5899 GB, free: 25.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005058/0.6041, allocations: 0.9453 MB / 0.5909 GB, free: 24.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005326/0.6046, allocations: 416 kB / 0.5913 GB, free: 24.09 MB / 414.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.003057/0.6077, allocations: 2.288 MB / 0.5935 GB, free: 21.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005415/0.6082, allocations: 323.7 kB / 0.5938 GB, free: 21.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006061/0.6089, allocations: 416.2 kB / 0.5942 GB, free: 21.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.141e-05/0.6089, allocations: 36 kB / 0.5942 GB, free: 21.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.605e-05/0.6089, allocations: 0 / 0.5942 GB, free: 21.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.6089, allocations: 11.97 kB / 0.5942 GB, free: 21.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007998/0.617, allocations: 5.703 MB / 0.5998 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.832e-05/0.617, allocations: 15.88 kB / 0.5998 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009097/0.6179, allocations: 211.2 kB / 0.6 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.496e-05/0.618, allocations: 12 kB / 0.6 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-05/0.618, allocations: 24 kB / 0.6001 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.275e-05/0.6181, allocations: 19.92 kB / 0.6001 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.6181, allocations: 8 kB / 0.6001 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002308/0.6204, allocations: 2.581 MB / 0.6026 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006164/0.621, allocations: 398.5 kB / 0.603 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002995/0.6213, allocations: 30.52 kB / 0.603 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009852/0.6223, allocations: 63.92 kB / 0.6031 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.6225, allocations: 84.28 kB / 0.6032 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.499e-05/0.6226, allocations: 51.44 kB / 0.6032 GB, free: 11.63 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002851/0.6254, allocations: 2.411 MB / 0.6056 GB, free: 9.238 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.6254, allocations: 0 / 0.6056 GB, free: 9.238 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00485/0.6303, allocations: 1.132 MB / 0.6067 GB, free: 8.105 MB / 414.1 MB 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.002768/0.6331, allocations: 3.214 MB / 0.6098 GB, free: 4.801 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007107/0.6402, allocations: 5.207 MB / 0.6149 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/0.6402, allocations: 0 / 0.6149 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001274/0.6415, allocations: 0.9544 MB / 0.6158 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002322/0.6439, allocations: 372.4 kB / 0.6162 GB, free: 14.33 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08147/0.7253, allocations: 47.41 MB / 0.6625 GB, free: 6.695 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004968/0.7303, allocations: 3.272 MB / 0.6657 GB, free: 3.402 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005919/0.7363, allocations: 2.282 MB / 0.6679 GB, free: 1.121 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002869/0.7392, allocations: 1.756 MB / 0.6696 GB, free: 15.39 MB / 494.1 MB Notification: Performance of SimCode: time 1.223e-06/0.7392, allocations: 0 / 0.6696 GB, free: 15.39 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09596/0.8352, allocations: 56.64 MB / 0.7249 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.452/10.29, allocations: 7.859 kB / 0.7249 GB, free: 6.715 MB / 0.5294 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