Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001887/0.001887, allocations: 96.25 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002138/0.002138, allocations: 156.9 kB / 24.27 MB, free: 176 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 177 MB / 204.4 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3984/0.3984, allocations: 34.25 MB / 295.2 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.267e-05/3.418e-05, allocations: 3.719 kB / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01621/0.01624, allocations: 10.42 MB / 387.6 MB, free: 8.43 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01062/0.02686, allocations: 3.914 MB / 391.5 MB, free: 4.504 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002325/0.02919, allocations: 87.69 kB / 391.6 MB, free: 4.418 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004146/0.03333, allocations: 1.728 MB / 393.3 MB, free: 2.684 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004631/0.03796, allocations: 1.606 MB / 394.9 MB, free: 1.07 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002933/0.0409, allocations: 1.239 MB / 396.2 MB, free: 15.83 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006345/0.04724, allocations: 3.57 MB / 399.8 MB, free: 12.25 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003908/0.05115, allocations: 2.067 MB / 401.8 MB, free: 10.13 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003405/0.05455, allocations: 1.707 MB / 403.5 MB, free: 8.418 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002464/0.05702, allocations: 1.621 MB / 405.2 MB, free: 6.793 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004616/0.05748, allocations: 236 kB / 405.4 MB, free: 6.562 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001647/0.05913, allocations: 0.6826 MB / 406.1 MB, free: 5.879 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001711/0.06084, allocations: 1.632 MB / 407.7 MB, free: 4.242 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001334/0.06217, allocations: 0.9534 MB / 408.7 MB, free: 3.285 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007914/0.07009, allocations: 6.026 MB / 414.7 MB, free: 13.24 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.096e-05/0.0701, allocations: 4 kB / 414.7 MB, free: 13.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.0701, allocations: 0 / 414.7 MB, free: 13.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001802/0.07028, allocations: 0 / 414.7 MB, free: 13.23 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.00776/0.07804, allocations: 3.968 MB / 418.6 MB, free: 9.207 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.07809, allocations: 8.031 kB / 418.7 MB, free: 9.199 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01132/0.08941, allocations: 3.598 MB / 422.3 MB, free: 5.594 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004855/0.09426, allocations: 1.79 MB / 424 MB, free: 3.766 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002334/0.0945, allocations: 193.1 kB / 424.2 MB, free: 3.574 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001128/0.09563, allocations: 244.2 kB / 424.5 MB, free: 3.336 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01973/0.1154, allocations: 10.05 MB / 434.5 MB, free: 8.633 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.332e-05/0.1154, allocations: 35.75 kB / 434.6 MB, free: 8.598 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004559/0.1159, allocations: 127.8 kB / 434.7 MB, free: 8.473 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00403/0.1199, allocations: 2.31 MB / 437 MB, free: 6.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1986/0.3185, allocations: 8.923 MB / 445.9 MB, free: 94.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03882/0.3573, allocations: 35.2 MB / 481.1 MB, free: 69.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004961/0.3623, allocations: 2.415 MB / 483.5 MB, free: 69.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/0.3636, allocations: 1.128 MB / 484.7 MB, free: 68.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007603/0.3712, allocations: 4.569 MB / 489.2 MB, free: 66.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.3712, allocations: 46.11 kB / 489.3 MB, free: 66.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 4.608e-06/0.3712, allocations: 3.938 kB / 489.3 MB, free: 66.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=150): time 0.007033/0.3783, allocations: 3.463 MB / 492.7 MB, free: 65.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.991e-05/0.3783, allocations: 166.2 kB / 492.9 MB, free: 65.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005105/0.3835, allocations: 3.755 MB / 496.7 MB, free: 64.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001611/0.3836, allocations: 42.52 kB / 496.7 MB, free: 64.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001663/0.3853, allocations: 3.296 MB / 500 MB, free: 61.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006141/0.3859, allocations: 0.6264 MB / 0.4889 GB, free: 61.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001546/0.3874, allocations: 1.293 MB / 0.4902 GB, free: 60.42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.3876, allocations: 360.4 kB / 0.4905 GB, free: 60.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002276/0.3898, allocations: 1.953 MB / 0.4924 GB, free: 59.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004013/0.3938, allocations: 6.106 MB / 0.4984 GB, free: 53.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008984/0.4028, allocations: 8.792 MB / 0.507 GB, free: 44.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000179/0.403, allocations: 44 kB / 0.507 GB, free: 44.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01252/0.4155, allocations: 8.035 MB / 0.5148 GB, free: 37.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.055e-05/0.4156, allocations: 68 kB / 0.5149 GB, free: 37.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001562/0.4158, allocations: 145.6 kB / 0.515 GB, free: 37.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001803/0.4159, allocations: 196 kB / 0.5152 GB, free: 36.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004043/0.42, allocations: 1.458 MB / 0.5167 GB, free: 35.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001851/0.4202, allocations: 291.4 kB / 0.5169 GB, free: 35.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004447/0.4246, allocations: 0.9057 MB / 0.5178 GB, free: 34.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005725/0.4252, allocations: 398.9 kB / 0.5182 GB, free: 34.09 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.002728/0.4279, allocations: 2.199 MB / 0.5203 GB, free: 32.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004424/0.4284, allocations: 326 kB / 0.5207 GB, free: 31.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005508/0.4289, allocations: 384.7 kB / 0.521 GB, free: 31.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.828e-05/0.429, allocations: 43.88 kB / 0.5211 GB, free: 31.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.965e-05/0.429, allocations: 4 kB / 0.5211 GB, free: 31.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.429, allocations: 7.359 kB / 0.5211 GB, free: 31.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006083/0.4351, allocations: 4.37 MB / 0.5253 GB, free: 27.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.4351, allocations: 8 kB / 0.5254 GB, free: 27.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008084/0.4359, allocations: 201.6 kB / 0.5255 GB, free: 27.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.19e-05/0.4359, allocations: 12 kB / 0.5256 GB, free: 27.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-05/0.436, allocations: 39.64 kB / 0.5256 GB, free: 27.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.088e-05/0.436, allocations: 12.55 kB / 0.5256 GB, free: 27.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.436, allocations: 7.938 kB / 0.5256 GB, free: 27.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002131/0.4381, allocations: 2.54 MB / 0.5281 GB, free: 24.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004254/0.4386, allocations: 292.6 kB / 0.5284 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002391/0.4388, allocations: 26.39 kB / 0.5284 GB, free: 24.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008485/0.4396, allocations: 67.91 kB / 0.5285 GB, free: 24.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.4398, allocations: 79.59 kB / 0.5285 GB, free: 24.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.287e-05/0.4399, allocations: 43.84 kB / 0.5286 GB, free: 24.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002201/0.4421, allocations: 2.095 MB / 0.5306 GB, free: 22.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4421, allocations: 0 / 0.5306 GB, free: 22.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004691/0.4468, allocations: 1.101 MB / 0.5317 GB, free: 21.61 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.0003724/0.4471, allocations: 157.2 kB / 0.5318 GB, free: 21.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005698/0.4528, allocations: 4.267 MB / 0.536 GB, free: 17.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/0.4529, allocations: 0 / 0.536 GB, free: 17.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009057/0.4538, allocations: 0.8721 MB / 0.5369 GB, free: 16.35 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00184/0.4556, allocations: 306.6 kB / 0.5372 GB, free: 16.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/0.4678, allocations: 8.452 MB / 0.5454 GB, free: 7.484 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002535/0.4703, allocations: 2.616 MB / 0.548 GB, free: 4.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004038/0.4743, allocations: 2.19 MB / 0.5501 GB, free: 2.645 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004897/0.4748, allocations: 212.5 kB / 0.5503 GB, free: 2.438 MB / 410.7 MB Notification: Performance of SimCode: time 1.843e-06/0.4748, allocations: 0 / 0.5503 GB, free: 2.438 MB / 410.7 MB Notification: Performance of Templates: time 0.04521/0.52, allocations: 17 MB / 0.5669 GB, free: 1.887 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.441073787980713]