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.00134/0.00134, allocations: 81.91 kB / 21.42 MB, free: 3.066 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.001675/0.001675, allocations: 166.8 kB / 24.82 MB, free: 8.855 MB / 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 0.9834/0.9834, allocations: 177 MB / 205.2 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] 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.2724/0.2724, allocations: 34.86 MB / 296.6 MB, free: 428 kB / 266.7 MB " [Timeout remaining time 180] 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.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 379.2 MB, free: 1.777 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.551e-05/3.763e-05, allocations: 3.016 kB / 379.2 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01383/0.01387, allocations: 11.17 MB / 390.4 MB, free: 6.543 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008367/0.02224, allocations: 4 MB / 394.4 MB, free: 2.531 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002323/0.02456, allocations: 87.69 kB / 394.5 MB, free: 2.445 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00256/0.02712, allocations: 1.748 MB / 396.2 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004376/0.0315, allocations: 1.626 MB / 397.9 MB, free: 15.06 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.03327, allocations: 1.262 MB / 399.1 MB, free: 13.79 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004375/0.03764, allocations: 3.567 MB / 402.7 MB, free: 10.21 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002214/0.03985, allocations: 2.055 MB / 404.7 MB, free: 8.109 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002397/0.04225, allocations: 1.734 MB / 406.5 MB, free: 6.371 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002206/0.04446, allocations: 1.64 MB / 408.1 MB, free: 4.727 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005336/0.04499, allocations: 236 kB / 408.4 MB, free: 4.496 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.04612, allocations: 0.6942 MB / 409 MB, free: 3.801 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001147/0.04727, allocations: 1.648 MB / 410.7 MB, free: 2.148 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001091/0.04836, allocations: 0.9496 MB / 411.6 MB, free: 1.195 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004335/0.05269, allocations: 3.813 MB / 415.5 MB, free: 13.37 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.0527, allocations: 0 / 415.5 MB, free: 13.37 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.0527, allocations: 0 / 415.5 MB, free: 13.37 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001669/0.05287, allocations: 0 / 415.5 MB, free: 13.37 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.005551/0.05842, allocations: 4.378 MB / 419.8 MB, free: 8.922 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.05847, allocations: 8.031 kB / 419.8 MB, free: 8.914 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003909/0.06238, allocations: 1.711 MB / 421.6 MB, free: 7.199 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002529/0.06491, allocations: 1.554 MB / 423.1 MB, free: 5.605 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.06503, allocations: 193.1 kB / 423.3 MB, free: 5.414 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003318/0.06536, allocations: 240.2 kB / 423.5 MB, free: 5.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007422/0.07278, allocations: 5.17 MB / 428.7 MB, free: 15.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.812e-05/0.07284, allocations: 31.69 kB / 428.7 MB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002694/0.07311, allocations: 127.8 kB / 428.9 MB, free: 14.97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001857/0.07497, allocations: 2.021 MB / 430.9 MB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005249/0.08021, allocations: 2.419 MB / 433.3 MB, free: 10.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2091/0.2894, allocations: 40.51 MB / 473.8 MB, free: 60.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002226/0.2916, allocations: 1.206 MB / 475 MB, free: 60.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004343/0.292, allocations: 367.7 kB / 475.4 MB, free: 60.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004363/0.2964, allocations: 3.921 MB / 479.3 MB, free: 58.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.2964, allocations: 54.73 kB / 479.3 MB, free: 58.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 4.048e-06/0.2964, allocations: 0 / 479.3 MB, free: 58.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=150): time 0.002665/0.2991, allocations: 1.614 MB / 481 MB, free: 57.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.2991, allocations: 168.1 kB / 481.1 MB, free: 57.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003079/0.3022, allocations: 3.488 MB / 484.6 MB, free: 56.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.508e-05/0.3023, allocations: 40.86 kB / 484.6 MB, free: 56.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001345/0.3036, allocations: 3.515 MB / 488.2 MB, free: 53.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004126/0.304, allocations: 0.657 MB / 488.8 MB, free: 53.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001038/0.3051, allocations: 1.452 MB / 490.3 MB, free: 52.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.84e-05/0.3051, allocations: 0.5321 MB / 490.8 MB, free: 52.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006723/0.3058, allocations: 498.9 kB / 491.3 MB, free: 52.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002642/0.3085, allocations: 6.699 MB / 498 MB, free: 43.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004717/0.3132, allocations: 8.036 MB / 0.4942 GB, free: 34.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001195/0.3133, allocations: 42.72 kB / 0.4942 GB, free: 34.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.006575/0.3199, allocations: 5.038 MB / 0.4991 GB, free: 32.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001112/0.32, allocations: 67.34 kB / 0.4992 GB, free: 32.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002017/0.3202, allocations: 147.4 kB / 0.4993 GB, free: 32.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002183/0.3204, allocations: 196.7 kB / 0.4995 GB, free: 32.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002603/0.323, allocations: 1.415 MB / 0.5009 GB, free: 32.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002187/0.3232, allocations: 290.1 kB / 0.5012 GB, free: 32.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00278/0.326, allocations: 0.8584 MB / 0.502 GB, free: 32.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004377/0.3264, allocations: 354.6 kB / 0.5024 GB, free: 32 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.001358/0.3278, allocations: 0.6822 MB / 0.503 GB, free: 31.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004067/0.3282, allocations: 325.4 kB / 0.5033 GB, free: 31.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002988/0.3285, allocations: 316.7 kB / 0.5036 GB, free: 31.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.395e-05/0.3285, allocations: 37.33 kB / 0.5037 GB, free: 31.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/0.3286, allocations: 6.469 kB / 0.5037 GB, free: 31.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.3286, allocations: 4.281 kB / 0.5037 GB, free: 31.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005456/0.334, allocations: 3.924 MB / 0.5075 GB, free: 29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.334, allocations: 4 kB / 0.5075 GB, free: 29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004411/0.3345, allocations: 167 kB / 0.5077 GB, free: 28.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/0.3345, allocations: 10.97 kB / 0.5077 GB, free: 28.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.663e-05/0.3345, allocations: 30.33 kB / 0.5077 GB, free: 28.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.3345, allocations: 15.59 kB / 0.5077 GB, free: 28.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.3345, allocations: 6.25 kB / 0.5077 GB, free: 28.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.3357, allocations: 1.658 MB / 0.5094 GB, free: 27.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003663/0.3361, allocations: 276.5 kB / 0.5096 GB, free: 27.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.3362, allocations: 32.22 kB / 0.5096 GB, free: 27.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000399/0.3366, allocations: 19.16 kB / 0.5097 GB, free: 27.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.873e-05/0.3367, allocations: 91.62 kB / 0.5098 GB, free: 27.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.138e-05/0.3368, allocations: 39.56 kB / 0.5098 GB, free: 27.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001075/0.3378, allocations: 1.297 MB / 0.5111 GB, free: 27.08 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3378, allocations: 0 / 0.5111 GB, free: 27.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003534/0.3414, allocations: 1.098 MB / 0.5121 GB, free: 26.75 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.0002734/0.3416, allocations: 156.5 kB / 0.5123 GB, free: 26.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003216/0.3449, allocations: 2.586 MB / 0.5148 GB, free: 25.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.3449, allocations: 0 / 0.5148 GB, free: 25.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000362/0.3452, allocations: 379.2 kB / 0.5152 GB, free: 25.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.3464, allocations: 291.6 kB / 0.5154 GB, free: 25.56 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00811/0.3545, allocations: 6.771 MB / 0.5221 GB, free: 20.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008726/0.3554, allocations: 1.166 MB / 0.5232 GB, free: 19.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001282/0.3567, allocations: 0.4973 MB / 0.5237 GB, free: 19.35 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004739/0.3571, allocations: 486.5 kB / 0.5241 GB, free: 18.89 MB / 410.7 MB Notification: Performance of SimCode: time 1.723e-06/0.3572, allocations: 0 / 0.5241 GB, free: 18.89 MB / 410.7 MB Notification: Performance of Templates: time 0.03351/0.3907, allocations: 19.4 MB / 0.5431 GB, free: 3.574 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9602663628757]