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.00173/0.00173, allocations: 126.2 kB / 17.84 MB, free: 5.223 MB / 14.72 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.002123/0.002123, allocations: 203.8 kB / 20.79 MB, free: 2.281 MB / 14.72 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 1.491/1.491, allocations: 207.6 MB / 231.2 MB, free: 4.121 MB / 174.1 MB " [Timeout remaining time 178] 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.3545/0.3545, allocations: 44.23 MB / 327.3 MB, free: 6.77 MB / 254.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002348/0.002348, allocations: 63.91 kB / 462.9 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2777, allocations: 61 MB / 0.5116 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.0107/0.2884, allocations: 12.5 MB / 0.5238 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01076/0.2992, allocations: 4.07 MB / 0.5278 GB, free: 14.35 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003035/0.3022, allocations: 87.69 kB / 0.5279 GB, free: 14.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003982/0.3062, allocations: 1.713 MB / 0.5296 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004502/0.3107, allocations: 1.634 MB / 0.5312 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002637/0.3133, allocations: 1.184 MB / 0.5323 GB, free: 9.715 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005644/0.319, allocations: 3.627 MB / 0.5359 GB, free: 6.078 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002959/0.3219, allocations: 2.121 MB / 0.5379 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001986/0.3239, allocations: 1.238 MB / 0.5391 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002653/0.3266, allocations: 1.834 MB / 0.5409 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006666/0.3272, allocations: 256 kB / 0.5412 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001518/0.3288, allocations: 0.7333 MB / 0.5419 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001869/0.3306, allocations: 1.69 MB / 0.5435 GB, free: 14.15 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002619/0.3332, allocations: 1.987 MB / 0.5455 GB, free: 12.15 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00854/0.3418, allocations: 6.546 MB / 0.5519 GB, free: 5.578 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.236e-05/0.3418, allocations: 7.984 kB / 0.5519 GB, free: 5.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3418, allocations: 0 / 0.5519 GB, free: 5.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001989/0.342, allocations: 0 / 0.5519 GB, free: 5.57 MB / 414.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.01024/0.3522, allocations: 4.305 MB / 0.5561 GB, free: 1.188 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/0.3523, allocations: 15.89 kB / 0.5561 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002877/0.3526, allocations: 101.3 kB / 0.5562 GB, free: 1.07 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001567/0.3542, allocations: 0.7496 MB / 0.5569 GB, free: 316 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0109/0.3651, allocations: 3.038 MB / 0.5599 GB, free: 13.26 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004971/0.37, allocations: 1.875 MB / 0.5617 GB, free: 11.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002161/0.3702, allocations: 201 kB / 0.5619 GB, free: 11.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009408/0.3712, allocations: 263.8 kB / 0.5622 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02163/0.3928, allocations: 10.52 MB / 0.5724 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.613e-05/0.3929, allocations: 31.69 kB / 0.5725 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006411/0.3935, allocations: 131.8 kB / 0.5726 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006063/0.3996, allocations: 2.443 MB / 0.575 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0254/0.425, allocations: 9.369 MB / 0.5841 GB, free: 3.699 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07089/0.4959, allocations: 38.83 MB / 0.6221 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006868/0.5028, allocations: 3.345 MB / 0.6253 GB, free: 8.078 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002326/0.5051, allocations: 1.164 MB / 0.6265 GB, free: 6.887 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01212/0.5172, allocations: 5.478 MB / 0.6318 GB, free: 1.262 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.549e-05/0.5173, allocations: 47.12 kB / 0.6319 GB, free: 1.207 MB / 494.1 MB Notification: Performance of pre-optimization done (n=153): time 5.511e-06/0.5173, allocations: 4 kB / 0.6319 GB, free: 1.203 MB / 494.1 MB Notification: Performance of matching and sorting (n=153): time 0.008732/0.526, allocations: 3.377 MB / 0.6352 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001752/0.5262, allocations: 170.8 kB / 0.6353 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01004/0.5362, allocations: 3.968 MB / 0.6392 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003226/0.5366, allocations: 41.7 kB / 0.6392 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003257/0.5398, allocations: 3.465 MB / 0.6426 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001067/0.5409, allocations: 0.6515 MB / 0.6433 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002063/0.543, allocations: 1.357 MB / 0.6446 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.5431, allocations: 309.1 kB / 0.6449 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003178/0.5463, allocations: 2 MB / 0.6468 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.263/0.8093, allocations: 6.302 MB / 0.653 GB, free: 115.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01004/0.8194, allocations: 9.056 MB / 0.6618 GB, free: 108.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002467/0.8196, allocations: 43.31 kB / 0.6619 GB, free: 108.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01499/0.8346, allocations: 7.946 MB / 0.6696 GB, free: 105.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001147/0.8347, allocations: 72.25 kB / 0.6697 GB, free: 105.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001581/0.8349, allocations: 150.1 kB / 0.6698 GB, free: 105.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001609/0.835, allocations: 200.7 kB / 0.67 GB, free: 105.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004132/0.8392, allocations: 1.51 MB / 0.6715 GB, free: 105.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001655/0.8393, allocations: 297 kB / 0.6718 GB, free: 105 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004509/0.8438, allocations: 0.9736 MB / 0.6727 GB, free: 104.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006528/0.8445, allocations: 410.4 kB / 0.6731 GB, free: 104.7 MB / 0.4981 GB 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.002645/0.8471, allocations: 2.287 MB / 0.6754 GB, free: 103.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004435/0.8476, allocations: 335.4 kB / 0.6757 GB, free: 103.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006928/0.8483, allocations: 417.4 kB / 0.6761 GB, free: 103.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-05/0.8483, allocations: 40.27 kB / 0.6761 GB, free: 103.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.8483, allocations: 0 / 0.6761 GB, free: 103.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.8483, allocations: 16.25 kB / 0.6761 GB, free: 103.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006845/0.8552, allocations: 5.701 MB / 0.6817 GB, free: 98.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.8552, allocations: 8 kB / 0.6817 GB, free: 98.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00086/0.8561, allocations: 210.4 kB / 0.6819 GB, free: 98.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.114e-05/0.8561, allocations: 14.06 kB / 0.6819 GB, free: 98.65 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-05/0.8561, allocations: 31.75 kB / 0.682 GB, free: 98.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.587e-06/0.8562, allocations: 11.94 kB / 0.682 GB, free: 98.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.8562, allocations: 12.44 kB / 0.682 GB, free: 98.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002224/0.8584, allocations: 2.603 MB / 0.6845 GB, free: 96.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005473/0.8589, allocations: 393.1 kB / 0.6849 GB, free: 95.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002784/0.8592, allocations: 38.52 kB / 0.6849 GB, free: 95.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009691/0.8602, allocations: 59.92 kB / 0.685 GB, free: 95.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.8603, allocations: 94.19 kB / 0.6851 GB, free: 95.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.258e-05/0.8604, allocations: 45.97 kB / 0.6851 GB, free: 95.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002691/0.8631, allocations: 2.411 MB / 0.6875 GB, free: 93.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8631, allocations: 0 / 0.6875 GB, free: 93.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004456/0.8676, allocations: 1.144 MB / 0.6886 GB, free: 92.52 MB / 0.4981 GB 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.002606/0.8702, allocations: 3.234 MB / 0.6917 GB, free: 89.28 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006488/0.8767, allocations: 4.372 MB / 0.696 GB, free: 84.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.291e-05/0.8767, allocations: 4 kB / 0.696 GB, free: 84.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.8778, allocations: 0.892 MB / 0.6969 GB, free: 84.06 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002376/0.8802, allocations: 360.9 kB / 0.6972 GB, free: 83.72 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04632/0.9265, allocations: 43.34 MB / 0.7396 GB, free: 33.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00309/0.9296, allocations: 3.276 MB / 0.7428 GB, free: 30.28 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00414/0.9337, allocations: 2.282 MB / 0.745 GB, free: 27.99 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001818/0.9356, allocations: 1.745 MB / 0.7467 GB, free: 26.25 MB / 0.4981 GB Notification: Performance of SimCode: time 1.403e-06/0.9356, allocations: 6.953 kB / 0.7467 GB, free: 26.24 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0879/1.023, allocations: 52.97 MB / 0.7984 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.21/20.24, allocations: 4.844 kB / 0.7984 GB, free: 5.254 MB / 0.5294 GB " [Timeout remaining time 640] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.mat","/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 23.699356840981636]