Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001585/0.001585, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001741/0.001741, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.504/1.504, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4094/0.4094, allocations: 32.8 MB / 293.9 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 375.2 MB, free: 5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.033e-05/3.192e-05, allocations: 2.312 kB / 375.2 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01566/0.01569, allocations: 10.42 MB / 385.7 MB, free: 10.52 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009461/0.02515, allocations: 3.914 MB / 389.6 MB, free: 6.594 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002327/0.02748, allocations: 83.75 kB / 389.7 MB, free: 6.512 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004358/0.03184, allocations: 1.732 MB / 391.4 MB, free: 4.773 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005956/0.03779, allocations: 1.61 MB / 393 MB, free: 3.156 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00303/0.04082, allocations: 1.235 MB / 394.2 MB, free: 1.918 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00638/0.0472, allocations: 3.564 MB / 397.8 MB, free: 14.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004311/0.05152, allocations: 2.055 MB / 399.9 MB, free: 12.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003935/0.05545, allocations: 1.719 MB / 401.6 MB, free: 10.51 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003028/0.05848, allocations: 1.613 MB / 403.2 MB, free: 8.895 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007822/0.05926, allocations: 240 kB / 403.4 MB, free: 8.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00189/0.06115, allocations: 0.6826 MB / 404.1 MB, free: 7.977 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002278/0.06343, allocations: 1.632 MB / 405.7 MB, free: 6.34 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002127/0.06556, allocations: 0.9535 MB / 406.7 MB, free: 5.383 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009048/0.0746, allocations: 6.03 MB / 412.7 MB, free: 15.33 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.07461, allocations: 0 / 412.7 MB, free: 15.33 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.07461, allocations: 0 / 412.7 MB, free: 15.33 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002623/0.07487, allocations: 0 / 412.7 MB, free: 15.33 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1539 * Number of variables: 1539 Notification: Performance of Generate backend data structure: time 0.01002/0.08489, allocations: 3.968 MB / 416.7 MB, free: 11.3 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.08493, allocations: 8.031 kB / 416.7 MB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01145/0.09638, allocations: 3.602 MB / 420.3 MB, free: 7.688 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0044/0.1008, allocations: 1.79 MB / 422.1 MB, free: 5.863 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001935/0.101, allocations: 193.1 kB / 422.3 MB, free: 5.672 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005589/0.1015, allocations: 244.2 kB / 422.5 MB, free: 5.434 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0184/0.1199, allocations: 10.05 MB / 432.6 MB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001454/0.1201, allocations: 31.69 kB / 432.6 MB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001017/0.1211, allocations: 127.8 kB / 432.7 MB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004494/0.1256, allocations: 2.31 MB / 435 MB, free: 8.258 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2022/0.3278, allocations: 8.924 MB / 444 MB, free: 95.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03694/0.3647, allocations: 35.21 MB / 479.2 MB, free: 71.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004754/0.3695, allocations: 2.412 MB / 481.6 MB, free: 70.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001465/0.3709, allocations: 1.132 MB / 482.7 MB, free: 70.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007961/0.3789, allocations: 4.56 MB / 487.3 MB, free: 68.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.3789, allocations: 52.64 kB / 487.3 MB, free: 68.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 6.132e-06/0.3789, allocations: 1.188 kB / 487.3 MB, free: 68.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=150): time 0.007115/0.3861, allocations: 3.463 MB / 490.8 MB, free: 67.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.3861, allocations: 166.4 kB / 491 MB, free: 67.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007091/0.3932, allocations: 3.754 MB / 494.7 MB, free: 65.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001931/0.3934, allocations: 42.41 kB / 494.7 MB, free: 65.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001904/0.3953, allocations: 3.299 MB / 498 MB, free: 63.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008306/0.3961, allocations: 0.6204 MB / 498.7 MB, free: 62.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002577/0.3987, allocations: 1.296 MB / 500 MB, free: 62.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.3988, allocations: 355.3 kB / 0.4886 GB, free: 61.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002919/0.4017, allocations: 1.957 MB / 0.4905 GB, free: 61.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004621/0.4064, allocations: 6.111 MB / 0.4965 GB, free: 55.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007463/0.4138, allocations: 8.79 MB / 0.505 GB, free: 47.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001839/0.414, allocations: 44.31 kB / 0.5051 GB, free: 47.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.0116/0.4256, allocations: 8.039 MB / 0.5129 GB, free: 40.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001232/0.4257, allocations: 68 kB / 0.513 GB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002316/0.426, allocations: 148 kB / 0.5131 GB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002138/0.4262, allocations: 192.7 kB / 0.5133 GB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003945/0.4301, allocations: 1.458 MB / 0.5148 GB, free: 39.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002673/0.4304, allocations: 295.4 kB / 0.515 GB, free: 38.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004415/0.4348, allocations: 0.9023 MB / 0.5159 GB, free: 38.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007585/0.4356, allocations: 398.5 kB / 0.5163 GB, free: 37.65 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 673 * Number of states: 0 () * Number of discrete variables: 23 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,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 (791): * Single equations (assignments): 783 * 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.00331/0.4389, allocations: 2.199 MB / 0.5184 GB, free: 35.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005638/0.4394, allocations: 327.2 kB / 0.5188 GB, free: 35.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007373/0.4402, allocations: 384 kB / 0.5191 GB, free: 35.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.627e-05/0.4402, allocations: 38.7 kB / 0.5192 GB, free: 35.03 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-05/0.4403, allocations: 13 kB / 0.5192 GB, free: 35.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.4403, allocations: 3.797 kB / 0.5192 GB, free: 35.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007615/0.4479, allocations: 4.373 MB / 0.5234 GB, free: 31.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/0.4479, allocations: 4 kB / 0.5234 GB, free: 31.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008803/0.4488, allocations: 205.3 kB / 0.5236 GB, free: 31.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.365e-05/0.4488, allocations: 8 kB / 0.5237 GB, free: 31.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.066e-05/0.4489, allocations: 33.45 kB / 0.5237 GB, free: 30.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-06/0.4489, allocations: 15.94 kB / 0.5237 GB, free: 30.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.4489, allocations: 4 kB / 0.5237 GB, free: 30.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002334/0.4512, allocations: 2.553 MB / 0.5262 GB, free: 28.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005067/0.4517, allocations: 277.4 kB / 0.5265 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004088/0.4522, allocations: 24 kB / 0.5265 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.4532, allocations: 69.3 kB / 0.5265 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/0.4533, allocations: 83.25 kB / 0.5266 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.82e-05/0.4534, allocations: 47.98 kB / 0.5267 GB, free: 28.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003166/0.4566, allocations: 2.091 MB / 0.5287 GB, free: 26.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4566, allocations: 0 / 0.5287 GB, free: 26.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005006/0.4616, allocations: 1.107 MB / 0.5298 GB, free: 25.26 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (108): * Single equations (assignments): 102 * 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.0003401/0.4619, allocations: 155.2 kB / 0.5299 GB, free: 25.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005497/0.4674, allocations: 4.265 MB / 0.5341 GB, free: 21.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.4674, allocations: 0 / 0.5341 GB, free: 21.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009076/0.4683, allocations: 0.8761 MB / 0.535 GB, free: 20.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001919/0.4703, allocations: 296.4 kB / 0.5352 GB, free: 20.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01239/0.4827, allocations: 8.454 MB / 0.5435 GB, free: 11.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00361/0.4863, allocations: 2.617 MB / 0.5461 GB, free: 8.824 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004266/0.4905, allocations: 2.194 MB / 0.5482 GB, free: 6.625 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006684/0.4912, allocations: 208.5 kB / 0.5484 GB, free: 6.422 MB / 410.7 MB Notification: Performance of SimCode: time 1.713e-06/0.4912, allocations: 0 / 0.5484 GB, free: 6.422 MB / 410.7 MB Notification: Performance of Templates: time 0.04311/0.5343, allocations: 17.02 MB / 0.565 GB, free: 5.855 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 6.474175377981737]