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.001063/0.001063, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001381/0.001381, allocations: 164.2 kB / 24.91 MB, free: 8.754 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.9283/0.9283, allocations: 177 MB / 205.2 MB, free: 5.051 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.2636/0.2636, allocations: 34.86 MB / 296.6 MB, free: 464 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 1.122e-06/1.122e-06, allocations: 0 / 325.9 MB, free: 7.184 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.198e-05/1.311e-05, allocations: 2.312 kB / 325.9 MB, free: 7.18 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.008614/0.008627, allocations: 11.19 MB / 337.1 MB, free: 11.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005014/0.01364, allocations: 4.167 MB / 341.3 MB, free: 7.75 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000571/0.01421, allocations: 87.69 kB / 341.3 MB, free: 7.664 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001748/0.01596, allocations: 1.759 MB / 343.1 MB, free: 5.898 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00168/0.01764, allocations: 1.637 MB / 344.7 MB, free: 4.254 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.01875, allocations: 1.262 MB / 346 MB, free: 2.988 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002636/0.02138, allocations: 3.416 MB / 349.4 MB, free: 15.56 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001407/0.02279, allocations: 2.137 MB / 351.6 MB, free: 13.36 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/0.02397, allocations: 1.723 MB / 353.3 MB, free: 11.63 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/0.02513, allocations: 1.555 MB / 354.8 MB, free: 10.07 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004807/0.02561, allocations: 240 kB / 355.1 MB, free: 9.84 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006947/0.02631, allocations: 0.6864 MB / 355.8 MB, free: 9.152 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008344/0.02714, allocations: 1.655 MB / 357.4 MB, free: 7.492 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006102/0.02775, allocations: 0.9496 MB / 358.4 MB, free: 6.539 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002328/0.03008, allocations: 3.809 MB / 362.2 MB, free: 2.715 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.03008, allocations: 0 / 362.2 MB, free: 2.715 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.03008, allocations: 0 / 362.2 MB, free: 2.715 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.736e-05/0.03011, allocations: 0 / 362.2 MB, free: 2.715 MB / 330.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.00312/0.03323, allocations: 3.752 MB / 365.9 MB, free: 14.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.881e-05/0.03326, allocations: 8.031 kB / 365.9 MB, free: 14.9 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003082/0.03634, allocations: 1.308 MB / 367.2 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001448/0.03779, allocations: 1.403 MB / 368.6 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.031e-05/0.03788, allocations: 193.1 kB / 368.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003062/0.03818, allocations: 248.2 kB / 369.1 MB, free: 11.72 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004084/0.04227, allocations: 4.667 MB / 373.7 MB, free: 6.395 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.668e-05/0.04231, allocations: 31.69 kB / 373.8 MB, free: 6.363 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000231/0.04255, allocations: 127.8 kB / 373.9 MB, free: 6.238 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001673/0.04422, allocations: 2.017 MB / 375.9 MB, free: 4.223 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00328/0.0475, allocations: 2.488 MB / 378.4 MB, free: 1.715 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0188/0.0663, allocations: 29.32 MB / 407.7 MB, free: 3.262 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001909/0.06821, allocations: 1.246 MB / 409 MB, free: 1.957 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003402/0.06855, allocations: 288.1 kB / 409.2 MB, free: 1.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003845/0.0724, allocations: 3.476 MB / 412.7 MB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.07242, allocations: 47.16 kB / 412.8 MB, free: 14.1 MB / 394.7 MB Notification: Performance of pre-optimization done (n=150): time 3.066e-06/0.07243, allocations: 0 / 412.8 MB, free: 14.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=150): time 0.002399/0.07483, allocations: 1.398 MB / 414.2 MB, free: 12.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.07489, allocations: 174.8 kB / 414.3 MB, free: 12.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001704/0.07659, allocations: 2.71 MB / 417 MB, free: 9.773 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.74e-05/0.07665, allocations: 45.69 kB / 417.1 MB, free: 9.723 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001494/0.07814, allocations: 3.217 MB / 420.3 MB, free: 6.473 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003092/0.07845, allocations: 0.6125 MB / 420.9 MB, free: 5.855 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008804/0.07933, allocations: 1.223 MB / 422.1 MB, free: 4.621 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.903e-05/0.07942, allocations: 357.8 kB / 422.5 MB, free: 4.266 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006986/0.08012, allocations: 0.6776 MB / 423.2 MB, free: 3.582 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002526/0.08264, allocations: 4.647 MB / 427.8 MB, free: 12.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003991/0.08663, allocations: 6.095 MB / 433.9 MB, free: 4.684 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-05/0.08668, allocations: 44 kB / 434 MB, free: 4.641 MB / 410.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.004095/0.09077, allocations: 4.286 MB / 438.2 MB, free: 364 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.337e-05/0.09082, allocations: 68 kB / 438.3 MB, free: 296 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.873e-05/0.09091, allocations: 148 kB / 438.4 MB, free: 148 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001101/0.09102, allocations: 196.1 kB / 438.6 MB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002107/0.09313, allocations: 1.411 MB / 440.1 MB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001308/0.09326, allocations: 298.8 kB / 440.3 MB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001861/0.09512, allocations: 0.8455 MB / 441.2 MB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002858/0.09541, allocations: 352 kB / 441.5 MB, free: 13.05 MB / 426.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.0008897/0.0963, allocations: 0.6363 MB / 442.2 MB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/0.0965, allocations: 179.8 kB / 442.3 MB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/0.09676, allocations: 316.4 kB / 442.7 MB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.903e-05/0.0968, allocations: 39.98 kB / 442.7 MB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.09681, allocations: 0 / 442.7 MB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.09682, allocations: 11.92 kB / 442.7 MB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003114/0.09993, allocations: 2.832 MB / 445.5 MB, free: 8.926 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.09994, allocations: 8 kB / 445.5 MB, free: 8.918 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003898/0.1003, allocations: 163.8 kB / 445.7 MB, free: 8.758 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.1003, allocations: 12 kB / 445.7 MB, free: 8.746 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.933e-05/0.1004, allocations: 20 kB / 445.7 MB, free: 8.727 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.355e-06/0.1004, allocations: 19.92 kB / 445.8 MB, free: 8.707 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.1004, allocations: 15.92 kB / 445.8 MB, free: 8.691 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008301/0.1012, allocations: 1.222 MB / 447 MB, free: 7.383 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001862/0.1014, allocations: 273.6 kB / 447.3 MB, free: 7.113 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.1016, allocations: 27.98 kB / 447.3 MB, free: 7.086 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003881/0.1019, allocations: 24 kB / 447.3 MB, free: 7.062 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.152e-05/0.102, allocations: 84.19 kB / 447.4 MB, free: 6.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.033e-05/0.1021, allocations: 36 kB / 447.4 MB, free: 6.945 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007551/0.1028, allocations: 1.03 MB / 448.5 MB, free: 5.918 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1028, allocations: 0 / 448.5 MB, free: 5.918 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002422/0.1053, allocations: 1.106 MB / 449.6 MB, free: 4.805 MB / 426.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.0002511/0.1055, allocations: 136 kB / 449.7 MB, free: 4.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002335/0.1078, allocations: 2.465 MB / 452.2 MB, free: 2.215 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001499/0.108, allocations: 100.2 kB / 452.3 MB, free: 2.105 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003023/0.1083, allocations: 304.3 kB / 452.6 MB, free: 1.812 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00089/0.1092, allocations: 315.2 kB / 452.9 MB, free: 1.512 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1343/0.2435, allocations: 6.895 MB / 459.8 MB, free: 111.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008066/0.2443, allocations: 1.154 MB / 460.9 MB, free: 111.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001135/0.2455, allocations: 0.4952 MB / 461.4 MB, free: 111 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004839/0.2459, allocations: 458.1 kB / 461.9 MB, free: 111 MB / 426.7 MB Notification: Performance of SimCode: time 9.12e-07/0.246, allocations: 0 / 461.9 MB, free: 111 MB / 426.7 MB Notification: Performance of Templates: time 0.02751/0.2735, allocations: 19.37 MB / 481.2 MB, free: 99.35 MB / 426.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.5801641261205077]