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.0008664/0.0008664, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.0008566/0.0008566, allocations: 170.3 kB / 23.21 MB, free: 1.352 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.8701/0.8701, allocations: 158.6 MB / 185 MB, free: 3.043 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.1306/0.1306, allocations: 32.37 MB / 269.6 MB, free: 14.95 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.984e-06/1.984e-06, allocations: 0 / 406.8 MB, free: 2.242 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.486e-05, allocations: 6.078 kB / 406.8 MB, free: 2.238 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.008636/0.008661, allocations: 10.84 MB / 417.7 MB, free: 7.336 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00675/0.01541, allocations: 3.895 MB / 421.6 MB, free: 3.43 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001669/0.01708, allocations: 87.69 kB / 421.7 MB, free: 3.344 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00201/0.01909, allocations: 1.724 MB / 423.4 MB, free: 1.613 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002478/0.02157, allocations: 1.692 MB / 425.1 MB, free: 15.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.02295, allocations: 1.219 MB / 426.3 MB, free: 14.69 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002882/0.02583, allocations: 3.684 MB / 430 MB, free: 10.99 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001656/0.02748, allocations: 2.078 MB / 432.1 MB, free: 8.867 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001612/0.0291, allocations: 1.816 MB / 433.9 MB, free: 7.047 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001387/0.03048, allocations: 1.722 MB / 435.6 MB, free: 5.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002449/0.03073, allocations: 252 kB / 435.8 MB, free: 5.074 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000747/0.03148, allocations: 0.702 MB / 436.5 MB, free: 4.371 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008601/0.03234, allocations: 1.753 MB / 438.3 MB, free: 2.613 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007544/0.03309, allocations: 1.024 MB / 439.3 MB, free: 1.586 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004238/0.03733, allocations: 6.415 MB / 445.7 MB, free: 11.15 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.03733, allocations: 0 / 445.7 MB, free: 11.15 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.03734, allocations: 3.938 kB / 445.7 MB, free: 11.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.097e-05/0.03743, allocations: 4 kB / 445.7 MB, free: 11.14 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.004559/0.04199, allocations: 4.187 MB / 449.9 MB, free: 6.895 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.04203, allocations: 8.031 kB / 449.9 MB, free: 6.887 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000553/0.04259, allocations: 0.7457 MB / 450.7 MB, free: 6.129 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005125/0.04771, allocations: 3.083 MB / 453.8 MB, free: 3.039 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002318/0.05003, allocations: 1.836 MB / 455.6 MB, free: 1.164 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.85e-05/0.05013, allocations: 209.3 kB / 455.8 MB, free: 0.9609 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003126/0.05044, allocations: 260.2 kB / 456.1 MB, free: 0.707 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00929/0.05973, allocations: 10.53 MB / 466.6 MB, free: 5.512 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.96e-05/0.05978, allocations: 31.75 kB / 466.6 MB, free: 5.48 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002643/0.06004, allocations: 127.8 kB / 466.7 MB, free: 5.355 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002274/0.06232, allocations: 2.439 MB / 469.2 MB, free: 2.914 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.195/0.2574, allocations: 9.341 MB / 478.5 MB, free: 90.94 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02503/0.2824, allocations: 37.22 MB / 0.5037 GB, free: 65.4 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00334/0.2857, allocations: 2.507 MB / 0.5061 GB, free: 64.62 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/0.2868, allocations: 1.171 MB / 0.5072 GB, free: 64.23 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005036/0.2918, allocations: 4.872 MB / 0.512 GB, free: 62.07 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.2919, allocations: 49.12 kB / 0.5121 GB, free: 62.02 MB / 442.7 MB Notification: Performance of pre-optimization done (n=153): time 3.026e-06/0.2919, allocations: 0.875 kB / 0.5121 GB, free: 62.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=153): time 0.004449/0.2963, allocations: 3.482 MB / 0.5155 GB, free: 61.03 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.2964, allocations: 171.5 kB / 0.5156 GB, free: 60.83 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003551/0.2999, allocations: 4.222 MB / 0.5197 GB, free: 59.34 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.025e-05/0.3, allocations: 44.34 kB / 0.5198 GB, free: 59.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001104/0.3011, allocations: 3.427 MB / 0.5231 GB, free: 56.6 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002761/0.3013, allocations: 0.6403 MB / 0.5238 GB, free: 56.14 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008846/0.3022, allocations: 1.341 MB / 0.5251 GB, free: 55.47 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.14e-05/0.3022, allocations: 301.1 kB / 0.5254 GB, free: 55.18 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001852/0.3041, allocations: 1.999 MB / 0.5273 GB, free: 54.36 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002742/0.3068, allocations: 6.309 MB / 0.5335 GB, free: 46.33 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004879/0.3117, allocations: 9.065 MB / 0.5423 GB, free: 35.64 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.76e-05/0.3118, allocations: 44 kB / 0.5424 GB, free: 35.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.006414/0.3182, allocations: 7.95 MB / 0.5501 GB, free: 28.44 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.518e-05/0.3182, allocations: 69.25 kB / 0.5502 GB, free: 28.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.855e-05/0.3183, allocations: 156 kB / 0.5503 GB, free: 28.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.492e-05/0.3184, allocations: 200 kB / 0.5505 GB, free: 28.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002017/0.3204, allocations: 1.509 MB / 0.552 GB, free: 26.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.306e-05/0.3205, allocations: 299.8 kB / 0.5523 GB, free: 26.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002367/0.3229, allocations: 0.9698 MB / 0.5532 GB, free: 25.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002491/0.3231, allocations: 419.5 kB / 0.5536 GB, free: 24.84 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.002003/0.3251, allocations: 2.272 MB / 0.5559 GB, free: 22.55 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.3253, allocations: 341.7 kB / 0.5562 GB, free: 22.21 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003072/0.3256, allocations: 424.2 kB / 0.5566 GB, free: 21.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.221e-05/0.3256, allocations: 39.98 kB / 0.5566 GB, free: 21.76 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.002e-05/0.3257, allocations: 0 / 0.5566 GB, free: 21.76 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.3257, allocations: 5.359 kB / 0.5566 GB, free: 21.75 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004742/0.3304, allocations: 5.546 MB / 0.562 GB, free: 16.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.3304, allocations: 8.031 kB / 0.5621 GB, free: 16.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004457/0.3309, allocations: 211.7 kB / 0.5623 GB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/0.3309, allocations: 19.64 kB / 0.5623 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.227e-05/0.3309, allocations: 24 kB / 0.5623 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.3309, allocations: 12 kB / 0.5623 GB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.3309, allocations: 11.94 kB / 0.5623 GB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/0.3324, allocations: 2.589 MB / 0.5648 GB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002388/0.3326, allocations: 325.3 kB / 0.5652 GB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/0.3328, allocations: 28.81 kB / 0.5652 GB, free: 12.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005115/0.3333, allocations: 70.09 kB / 0.5653 GB, free: 12.74 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.574e-05/0.3334, allocations: 88.19 kB / 0.5653 GB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.903e-05/0.3334, allocations: 44 kB / 0.5654 GB, free: 12.61 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001605/0.335, allocations: 2.411 MB / 0.5677 GB, free: 10.22 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.335, allocations: 0 / 0.5677 GB, free: 10.22 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002453/0.3375, allocations: 1.14 MB / 0.5688 GB, free: 9.078 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.001682/0.3392, allocations: 3.231 MB / 0.572 GB, free: 5.758 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0032/0.3424, allocations: 4.37 MB / 0.5763 GB, free: 1.422 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3424, allocations: 0 / 0.5763 GB, free: 1.422 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006/0.343, allocations: 0.8823 MB / 0.5771 GB, free: 0.5391 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.344, allocations: 362.1 kB / 0.5775 GB, free: 204 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03335/0.3774, allocations: 43.08 MB / 0.6196 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002218/0.3796, allocations: 2.742 MB / 0.6222 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002837/0.3824, allocations: 2.275 MB / 0.6245 GB, free: 9.254 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001363/0.3838, allocations: 1.746 MB / 0.6262 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of SimCode: time 1.212e-06/0.3838, allocations: 4 kB / 0.6262 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2108/0.5946, allocations: 51.51 MB / 0.6765 GB, free: 170.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.772/9.366, allocations: 1.25 kB / 0.6765 GB, free: 170.9 MB / 0.5261 GB " [Timeout remaining time 651] (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: 11.572849230840802]