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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008642/0.0008642, allocations: 79.53 kB / 20.02 MB, free: 4.508 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 169.9 kB / 23.32 MB, free: 1.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8505/0.8505, allocations: 158.6 MB / 185.1 MB, free: 3.008 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1331/0.1331, allocations: 32.36 MB / 269.7 MB, free: 14.92 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 407 MB, free: 2.164 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.025e-05/2.19e-05, allocations: 6.078 kB / 407 MB, free: 2.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.009372/0.009394, allocations: 10.85 MB / 417.9 MB, free: 7.25 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.006699/0.01609, allocations: 3.887 MB / 421.8 MB, free: 3.352 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001346/0.01744, allocations: 87.75 kB / 421.9 MB, free: 3.266 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001974/0.01941, allocations: 1.728 MB / 423.6 MB, free: 1.531 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002188/0.0216, allocations: 1.688 MB / 425.3 MB, free: 15.84 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.02271, allocations: 1.219 MB / 426.5 MB, free: 14.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002507/0.02522, allocations: 3.696 MB / 430.2 MB, free: 10.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001601/0.02682, allocations: 2.074 MB / 432.3 MB, free: 8.785 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001327/0.02815, allocations: 1.816 MB / 434.1 MB, free: 6.965 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001235/0.02938, allocations: 1.722 MB / 435.8 MB, free: 5.238 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002456/0.02963, allocations: 255.9 kB / 436.1 MB, free: 4.988 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007128/0.03034, allocations: 0.6943 MB / 436.8 MB, free: 4.293 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000856/0.0312, allocations: 1.753 MB / 438.5 MB, free: 2.535 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006744/0.03187, allocations: 1.024 MB / 439.5 MB, free: 1.508 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003751/0.03563, allocations: 6.415 MB / 445.9 MB, free: 11.07 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.03563, allocations: 0 / 445.9 MB, free: 11.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.03563, allocations: 4 kB / 445.9 MB, free: 11.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.873e-05/0.03569, allocations: 0 / 445.9 MB, free: 11.07 MB / 426.7 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.004291/0.03998, allocations: 4.187 MB / 450.1 MB, free: 6.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.04002, allocations: 8.031 kB / 450.1 MB, free: 6.812 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005675/0.04059, allocations: 0.7457 MB / 450.9 MB, free: 6.055 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005227/0.04582, allocations: 3.079 MB / 454 MB, free: 2.969 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00197/0.04779, allocations: 1.852 MB / 455.8 MB, free: 1.078 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.918e-05/0.04788, allocations: 201.3 kB / 456 MB, free: 0.8789 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003159/0.04819, allocations: 260.2 kB / 456.3 MB, free: 0.625 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008034/0.05623, allocations: 10.53 MB / 466.8 MB, free: 5.43 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.57e-05/0.05627, allocations: 31.69 kB / 466.8 MB, free: 5.398 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002616/0.05653, allocations: 131.8 kB / 467 MB, free: 5.27 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002123/0.05866, allocations: 2.435 MB / 469.4 MB, free: 2.832 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1655/0.2241, allocations: 9.34 MB / 478.7 MB, free: 91.79 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02358/0.2477, allocations: 37.31 MB / 0.504 GB, free: 66.29 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003095/0.2508, allocations: 2.515 MB / 0.5064 GB, free: 65.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001032/0.2518, allocations: 1.17 MB / 0.5076 GB, free: 65.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004812/0.2566, allocations: 4.874 MB / 0.5123 GB, free: 62.81 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.2567, allocations: 52.53 kB / 0.5124 GB, free: 62.76 MB / 442.7 MB Notification: Performance of pre-optimization done (n=153): time 3.135e-06/0.2567, allocations: 0 / 0.5124 GB, free: 62.76 MB / 442.7 MB Notification: Performance of matching and sorting (n=153): time 0.004248/0.2609, allocations: 3.482 MB / 0.5158 GB, free: 61.77 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.261, allocations: 167.5 kB / 0.5159 GB, free: 61.57 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003266/0.2642, allocations: 4.228 MB / 0.52 GB, free: 59.91 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.88e-05/0.2643, allocations: 44.94 kB / 0.5201 GB, free: 59.86 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001004/0.2653, allocations: 3.421 MB / 0.5234 GB, free: 57.17 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002593/0.2655, allocations: 0.6355 MB / 0.5241 GB, free: 56.72 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008975/0.2664, allocations: 1.341 MB / 0.5254 GB, free: 56.05 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.648e-05/0.2665, allocations: 301.1 kB / 0.5257 GB, free: 55.75 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001781/0.2682, allocations: 2.009 MB / 0.5276 GB, free: 54.72 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002759/0.271, allocations: 6.304 MB / 0.5338 GB, free: 46.69 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004515/0.2755, allocations: 9.056 MB / 0.5426 GB, free: 36 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.986e-05/0.2755, allocations: 44 kB / 0.5427 GB, free: 35.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.006145/0.2817, allocations: 7.951 MB / 0.5504 GB, free: 28.82 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.13e-05/0.2817, allocations: 68.19 kB / 0.5505 GB, free: 28.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.072e-05/0.2818, allocations: 156 kB / 0.5506 GB, free: 28.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.339e-05/0.2819, allocations: 204 kB / 0.5508 GB, free: 28.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002157/0.2841, allocations: 1.513 MB / 0.5523 GB, free: 26.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.102e-05/0.2841, allocations: 303.1 kB / 0.5526 GB, free: 26.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002331/0.2865, allocations: 0.9688 MB / 0.5535 GB, free: 25.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002522/0.2867, allocations: 421 kB / 0.5539 GB, free: 25.21 MB / 442.7 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.002353/0.2891, allocations: 2.284 MB / 0.5562 GB, free: 22.91 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002394/0.2893, allocations: 337.6 kB / 0.5565 GB, free: 22.58 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000299/0.2896, allocations: 424.2 kB / 0.5569 GB, free: 22.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.579e-05/0.2897, allocations: 35.98 kB / 0.5569 GB, free: 22.13 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/0.2897, allocations: 4 kB / 0.5569 GB, free: 22.12 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.2897, allocations: 3.984 kB / 0.5569 GB, free: 22.12 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00467/0.2943, allocations: 5.539 MB / 0.5623 GB, free: 16.49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.2944, allocations: 4 kB / 0.5624 GB, free: 16.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004304/0.2948, allocations: 211.7 kB / 0.5626 GB, free: 16.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.2948, allocations: 12.75 kB / 0.5626 GB, free: 16.27 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.151e-05/0.2948, allocations: 26.5 kB / 0.5626 GB, free: 16.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.734e-06/0.2948, allocations: 19.98 kB / 0.5626 GB, free: 16.22 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.2948, allocations: 11.94 kB / 0.5626 GB, free: 16.21 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.2962, allocations: 2.588 MB / 0.5652 GB, free: 13.53 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002157/0.2964, allocations: 317.3 kB / 0.5655 GB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/0.2966, allocations: 31.98 kB / 0.5655 GB, free: 13.19 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004964/0.2971, allocations: 63.92 kB / 0.5655 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.173e-05/0.2972, allocations: 94.44 kB / 0.5656 GB, free: 13.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.626e-05/0.2972, allocations: 44 kB / 0.5657 GB, free: 12.99 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001539/0.2988, allocations: 2.415 MB / 0.568 GB, free: 10.59 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2988, allocations: 0 / 0.568 GB, free: 10.59 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002437/0.3012, allocations: 1.136 MB / 0.5691 GB, free: 9.457 MB / 442.7 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.00164/0.3028, allocations: 3.231 MB / 0.5723 GB, free: 6.133 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003071/0.3059, allocations: 4.364 MB / 0.5766 GB, free: 1.801 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3059, allocations: 0 / 0.5766 GB, free: 1.801 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005584/0.3065, allocations: 0.8838 MB / 0.5774 GB, free: 0.918 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.3075, allocations: 361.1 kB / 0.5778 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03526/0.3428, allocations: 43.08 MB / 0.6198 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002205/0.345, allocations: 2.738 MB / 0.6225 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002837/0.3478, allocations: 2.275 MB / 0.6247 GB, free: 9.637 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001437/0.3492, allocations: 1.754 MB / 0.6265 GB, free: 7.883 MB / 0.4948 GB Notification: Performance of SimCode: time 9.52e-07/0.3493, allocations: 4 kB / 0.6265 GB, free: 7.879 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.204/0.5533, allocations: 51.65 MB / 0.6769 GB, free: 157.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.936/10.49, allocations: 2.281 kB / 0.6769 GB, free: 157.3 MB / 0.5105 GB " [Timeout remaining time 649] (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.000219912 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable freeMotion.r[3] in file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.csv. Warning: Get data of variable freeMotion.r[3] from file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.csv failed! Error: Could not read variable freeMotion.r[2] in file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.csv. Warning: Get data of variable freeMotion.r[2] from file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.csv failed! Error: Could not read variable freeMotion.r[1] in file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.csv. Warning: Get data of variable freeMotion.r[1] from file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.618538652546704]