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.0009293/0.0009293, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.004728/0.004728, allocations: 158.8 kB / 24.7 MB, free: 8.891 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.8934/0.8934, allocations: 177 MB / 204.9 MB, free: 5.754 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.2321/0.2321, allocations: 34.24 MB / 295.6 MB, free: 0.6953 MB / 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.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.884e-06/1.884e-06, allocations: 0 / 443.4 MB, free: 1.082 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.722e-05, allocations: 2.281 kB / 443.4 MB, free: 1.078 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.1883/0.1884, allocations: 10.4 MB / 453.8 MB, free: 38.4 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003773/0.1921, allocations: 3.905 MB / 457.7 MB, free: 35.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005285/0.1927, allocations: 85.84 kB / 457.8 MB, free: 35.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001608/0.1943, allocations: 1.705 MB / 459.5 MB, free: 35.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001542/0.1958, allocations: 1.614 MB / 461.1 MB, free: 34.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008469/0.1966, allocations: 1.213 MB / 462.3 MB, free: 33.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001743/0.1984, allocations: 3.567 MB / 465.9 MB, free: 32.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/0.1994, allocations: 1.997 MB / 467.9 MB, free: 31.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008681/0.2003, allocations: 1.716 MB / 469.6 MB, free: 30.96 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000888/0.2012, allocations: 1.617 MB / 471.2 MB, free: 30.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001744/0.2014, allocations: 234.5 kB / 471.5 MB, free: 30.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000604/0.202, allocations: 0.6874 MB / 472.2 MB, free: 30.4 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005872/0.2025, allocations: 1.638 MB / 473.8 MB, free: 29.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004596/0.203, allocations: 0.9507 MB / 474.7 MB, free: 29.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002596/0.2056, allocations: 6.027 MB / 480.8 MB, free: 27.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2056, allocations: 0 / 480.8 MB, free: 27.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2056, allocations: 0 / 480.8 MB, free: 27.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.809e-05/0.2056, allocations: 0 / 480.8 MB, free: 27.11 MB / 410.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.003378/0.209, allocations: 3.969 MB / 484.7 MB, free: 24.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.2091, allocations: 10.92 kB / 484.8 MB, free: 24.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005332/0.2144, allocations: 3.028 MB / 487.8 MB, free: 24.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001977/0.2164, allocations: 1.772 MB / 489.6 MB, free: 23.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.681e-05/0.2165, allocations: 187.5 kB / 489.7 MB, free: 23.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003046/0.2168, allocations: 251.3 kB / 490 MB, free: 23.15 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008642/0.2254, allocations: 10.05 MB / 0.4883 GB, free: 18.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.823e-05/0.2254, allocations: 32.16 kB / 0.4883 GB, free: 18.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000253/0.2257, allocations: 126.4 kB / 0.4885 GB, free: 18.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002153/0.2279, allocations: 2.311 MB / 0.4907 GB, free: 18.01 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008302/0.2362, allocations: 8.924 MB / 0.4994 GB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02484/0.261, allocations: 35.12 MB / 0.5337 GB, free: 7.562 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003522/0.2645, allocations: 2.422 MB / 0.5361 GB, free: 5.094 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009978/0.2655, allocations: 1.128 MB / 0.5372 GB, free: 3.949 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004884/0.2704, allocations: 4.554 MB / 0.5416 GB, free: 15.36 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.2704, allocations: 47.16 kB / 0.5417 GB, free: 15.3 MB / 458.7 MB Notification: Performance of pre-optimization done (n=150): time 3.296e-06/0.2704, allocations: 4 kB / 0.5417 GB, free: 15.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=150): time 0.004704/0.2751, allocations: 3.421 MB / 0.545 GB, free: 11.87 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.569e-05/0.2752, allocations: 170.8 kB / 0.5452 GB, free: 11.67 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003134/0.2784, allocations: 3.752 MB / 0.5489 GB, free: 7.906 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.385e-05/0.2784, allocations: 49.69 kB / 0.5489 GB, free: 7.852 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001615/0.28, allocations: 3.298 MB / 0.5521 GB, free: 4.52 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003239/0.2804, allocations: 0.6166 MB / 0.5527 GB, free: 3.898 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001049/0.2814, allocations: 1.294 MB / 0.554 GB, free: 2.594 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.2815, allocations: 354.2 kB / 0.5543 GB, free: 2.242 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001737/0.2832, allocations: 1.957 MB / 0.5562 GB, free: 288 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003999/0.2872, allocations: 6.1 MB / 0.5622 GB, free: 8.105 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006158/0.2934, allocations: 8.793 MB / 0.5708 GB, free: 13.24 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.457e-05/0.2934, allocations: 44 kB / 0.5708 GB, free: 13.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.007519/0.301, allocations: 7.694 MB / 0.5783 GB, free: 5.508 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.448e-05/0.301, allocations: 72.06 kB / 0.5784 GB, free: 5.438 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.293e-05/0.3011, allocations: 148 kB / 0.5786 GB, free: 5.293 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001161/0.3012, allocations: 200.5 kB / 0.5787 GB, free: 5.098 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002213/0.3034, allocations: 1.454 MB / 0.5802 GB, free: 3.641 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001332/0.3036, allocations: 290.8 kB / 0.5804 GB, free: 3.355 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002626/0.3062, allocations: 0.9036 MB / 0.5813 GB, free: 2.445 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002985/0.3065, allocations: 398.6 kB / 0.5817 GB, free: 2.059 MB / 490.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.002406/0.3089, allocations: 2.203 MB / 0.5839 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002367/0.3091, allocations: 298 kB / 0.5841 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003336/0.3095, allocations: 384.4 kB / 0.5845 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.395e-05/0.3095, allocations: 36 kB / 0.5845 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.3095, allocations: 4 kB / 0.5845 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.3095, allocations: 11.91 kB / 0.5846 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004863/0.3144, allocations: 4.366 MB / 0.5888 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.3144, allocations: 4 kB / 0.5888 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004436/0.3148, allocations: 203.7 kB / 0.589 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.718e-06/0.3149, allocations: 12 kB / 0.589 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.626e-05/0.3149, allocations: 32.64 kB / 0.5891 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.164e-06/0.3149, allocations: 8 kB / 0.5891 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.912e-06/0.3149, allocations: 15.94 kB / 0.5891 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/0.3167, allocations: 2.517 MB / 0.5915 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002469/0.317, allocations: 285.6 kB / 0.5918 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/0.3171, allocations: 24.19 kB / 0.5918 GB, free: 7.461 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004612/0.3176, allocations: 63.91 kB / 0.5919 GB, free: 7.398 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.984e-05/0.3177, allocations: 88.12 kB / 0.592 GB, free: 7.312 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.417e-05/0.3177, allocations: 44 kB / 0.592 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001769/0.3195, allocations: 2.095 MB / 0.5941 GB, free: 5.18 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3195, allocations: 4 kB / 0.5941 GB, free: 5.176 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00311/0.3226, allocations: 1.102 MB / 0.5952 GB, free: 4.074 MB / 0.4948 GB 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.0002819/0.3229, allocations: 154.9 kB / 0.5953 GB, free: 3.91 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003783/0.3267, allocations: 4.254 MB / 0.5995 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.3267, allocations: 7.938 kB / 0.5995 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007044/0.3274, allocations: 0.8745 MB / 0.6003 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009963/0.3284, allocations: 288.8 kB / 0.6006 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009065/0.3374, allocations: 8.807 MB / 0.6092 GB, free: 5.617 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002016/0.3394, allocations: 2.62 MB / 0.6118 GB, free: 2.969 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004991/0.3399, allocations: 272.4 kB / 0.612 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of SimCode: time 1.323e-06/0.3399, allocations: 0 / 0.612 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of Templates: time 0.2192/0.5592, allocations: 52.81 MB / 0.6636 GB, free: 146.3 MB / 0.5261 GB " [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: 7.543690165504813]