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.0008412/0.0008412, allocations: 80.53 kB / 19.92 MB, free: 4.637 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.0008702/0.0008702, allocations: 169.9 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.8681/0.8681, allocations: 158.6 MB / 185 MB, free: 3.039 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.1256/0.1256, allocations: 32.37 MB / 269.6 MB, free: 14.98 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.402e-06/1.402e-06, allocations: 0 / 406.8 MB, free: 2.25 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.136e-05, allocations: 6.078 kB / 406.8 MB, free: 2.246 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.009026/0.009047, allocations: 10.85 MB / 417.7 MB, free: 7.336 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.007144/0.01619, allocations: 3.887 MB / 421.6 MB, free: 3.438 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002399/0.01859, allocations: 87.69 kB / 421.7 MB, free: 3.352 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002988/0.02158, allocations: 1.728 MB / 423.4 MB, free: 1.617 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004092/0.02567, allocations: 1.688 MB / 425.1 MB, free: 15.92 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001684/0.02735, allocations: 1.223 MB / 426.3 MB, free: 14.69 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004541/0.0319, allocations: 3.688 MB / 430 MB, free: 10.99 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002558/0.03445, allocations: 2.074 MB / 432.1 MB, free: 8.871 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002677/0.03713, allocations: 1.82 MB / 433.9 MB, free: 7.047 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002369/0.0395, allocations: 1.718 MB / 435.6 MB, free: 5.324 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007412/0.04024, allocations: 252 kB / 435.8 MB, free: 5.078 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.04138, allocations: 0.6943 MB / 436.5 MB, free: 4.383 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001257/0.04263, allocations: 1.764 MB / 438.3 MB, free: 2.613 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001042/0.04367, allocations: 1.027 MB / 439.3 MB, free: 1.582 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004892/0.04857, allocations: 6.411 MB / 445.7 MB, free: 11.15 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.04857, allocations: 0 / 445.7 MB, free: 11.15 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.04857, allocations: 7.938 kB / 445.7 MB, free: 11.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001464/0.04872, allocations: 0 / 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.005959/0.05468, allocations: 4.175 MB / 449.9 MB, free: 6.906 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.05473, allocations: 16.03 kB / 449.9 MB, free: 6.891 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000775/0.0555, allocations: 0.7457 MB / 450.7 MB, free: 6.133 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005296/0.0608, allocations: 3.079 MB / 453.8 MB, free: 3.047 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003252/0.06405, allocations: 1.836 MB / 455.6 MB, free: 1.172 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.06416, allocations: 205.2 kB / 455.8 MB, free: 0.9688 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004782/0.06464, allocations: 260.2 kB / 456.1 MB, free: 0.7148 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01239/0.07703, allocations: 10.53 MB / 466.6 MB, free: 5.52 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-05/0.07708, allocations: 27.75 kB / 466.6 MB, free: 5.492 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000404/0.07748, allocations: 131.8 kB / 466.7 MB, free: 5.363 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002569/0.08005, allocations: 2.447 MB / 469.2 MB, free: 2.914 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1834/0.2635, allocations: 9.34 MB / 478.5 MB, free: 91.01 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03228/0.2958, allocations: 37.22 MB / 0.5037 GB, free: 65.49 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003783/0.2995, allocations: 2.512 MB / 0.5061 GB, free: 64.71 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/0.3008, allocations: 1.171 MB / 0.5073 GB, free: 64.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006503/0.3073, allocations: 4.86 MB / 0.512 GB, free: 62.15 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.3073, allocations: 50.92 kB / 0.512 GB, free: 62.1 MB / 442.7 MB Notification: Performance of pre-optimization done (n=153): time 4.98e-06/0.3073, allocations: 0 / 0.512 GB, free: 62.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=153): time 0.005187/0.3125, allocations: 3.484 MB / 0.5154 GB, free: 61.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.3126, allocations: 171.4 kB / 0.5156 GB, free: 60.91 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004827/0.3174, allocations: 4.235 MB / 0.5197 GB, free: 59.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002001/0.3176, allocations: 42.52 kB / 0.5198 GB, free: 59.37 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001443/0.319, allocations: 3.425 MB / 0.5231 GB, free: 56.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004905/0.3195, allocations: 0.6307 MB / 0.5238 GB, free: 56.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001209/0.3207, allocations: 1.343 MB / 0.5251 GB, free: 55.55 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.668e-05/0.3208, allocations: 301.8 kB / 0.5253 GB, free: 55.26 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00188/0.3226, allocations: 2 MB / 0.5273 GB, free: 54.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002825/0.3255, allocations: 6.306 MB / 0.5335 GB, free: 46.37 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005292/0.3308, allocations: 9.06 MB / 0.5423 GB, free: 35.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.878e-05/0.3308, allocations: 44 kB / 0.5424 GB, free: 35.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.007426/0.3383, allocations: 7.956 MB / 0.5501 GB, free: 28.43 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.721e-05/0.3383, allocations: 68 kB / 0.5502 GB, free: 28.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001488/0.3385, allocations: 152 kB / 0.5503 GB, free: 28.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000126/0.3386, allocations: 208 kB / 0.5505 GB, free: 28.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002227/0.3408, allocations: 1.509 MB / 0.552 GB, free: 26.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001105/0.3409, allocations: 298.8 kB / 0.5523 GB, free: 26.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003077/0.344, allocations: 0.9672 MB / 0.5532 GB, free: 25.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003369/0.3443, allocations: 417 kB / 0.5536 GB, free: 24.83 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.002314/0.3467, allocations: 2.284 MB / 0.5559 GB, free: 22.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003126/0.347, allocations: 341.6 kB / 0.5562 GB, free: 22.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003455/0.3473, allocations: 416.2 kB / 0.5566 GB, free: 21.79 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-05/0.3473, allocations: 35.98 kB / 0.5566 GB, free: 21.76 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.012e-05/0.3474, allocations: 4 kB / 0.5566 GB, free: 21.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/0.3474, allocations: 7.969 kB / 0.5566 GB, free: 21.75 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006028/0.3534, allocations: 5.538 MB / 0.562 GB, free: 16.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.3534, allocations: 8 kB / 0.562 GB, free: 16.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005211/0.3539, allocations: 215.7 kB / 0.5622 GB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-05/0.3539, allocations: 11.66 kB / 0.5623 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-05/0.354, allocations: 31.94 kB / 0.5623 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.347e-06/0.354, allocations: 16.56 kB / 0.5623 GB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.354, allocations: 17.61 kB / 0.5623 GB, free: 15.83 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/0.3558, allocations: 2.585 MB / 0.5648 GB, free: 13.15 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005584/0.3563, allocations: 321.3 kB / 0.5652 GB, free: 12.83 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002113/0.3565, allocations: 31.98 kB / 0.5652 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005587/0.3571, allocations: 62.19 kB / 0.5652 GB, free: 12.74 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.51e-05/0.3572, allocations: 84.25 kB / 0.5653 GB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.271e-05/0.3572, allocations: 47.98 kB / 0.5654 GB, free: 12.61 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001953/0.3592, allocations: 2.415 MB / 0.5677 GB, free: 10.21 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3592, allocations: 0 / 0.5677 GB, free: 10.21 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003056/0.3623, allocations: 1.14 MB / 0.5688 GB, free: 9.074 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.0019/0.3642, allocations: 3.231 MB / 0.572 GB, free: 5.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004416/0.3686, allocations: 4.364 MB / 0.5763 GB, free: 1.418 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.3686, allocations: 0 / 0.5763 GB, free: 1.418 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006747/0.3693, allocations: 0.8834 MB / 0.5771 GB, free: 0.5352 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/0.3708, allocations: 372.9 kB / 0.5775 GB, free: 192 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04986/0.4207, allocations: 43.07 MB / 0.6195 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003227/0.4239, allocations: 2.734 MB / 0.6222 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003571/0.4275, allocations: 2.279 MB / 0.6244 GB, free: 9.254 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002073/0.4295, allocations: 1.75 MB / 0.6261 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of SimCode: time 1.753e-06/0.4295, allocations: 0 / 0.6261 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2416/0.6711, allocations: 51.51 MB / 0.6765 GB, free: 171.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.02/9.692, allocations: 5.719 kB / 0.6765 GB, free: 171.3 MB / 0.5261 GB " [Timeout remaining time 650] (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/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.7840993758291]