Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.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.0007475/0.0007475, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001182/0.00193, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0008995/0.0008995, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001174/0.002073, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.028/1.028, allocations: 177.5 MB / 190 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09422/1.122, allocations: 53.87 MB / 243.9 MB, free: 14.85 MB / 250.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.2713/0.2713, allocations: 34.88 MB / 279.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05416/0.3255, allocations: 13.23 MB / 292.8 MB, free: 6.391 MB / 282.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.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 294.1 MB, free: 5.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.739e-05/5.002e-05, allocations: 4.344 kB / 294.1 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01081/0.01086, allocations: 9.129 MB / 303.2 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006854/0.01771, allocations: 2.98 MB / 306.2 MB, free: 8.934 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001658/0.01937, allocations: 55.81 kB / 306.3 MB, free: 8.879 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002256/0.02163, allocations: 2.036 MB / 308.3 MB, free: 6.836 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002449/0.02408, allocations: 1.159 MB / 309.5 MB, free: 5.672 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000619/0.0247, allocations: 299.3 kB / 309.7 MB, free: 5.379 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002701/0.0274, allocations: 2.216 MB / 312 MB, free: 3.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001683/0.02908, allocations: 1.774 MB / 313.7 MB, free: 1.328 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001452/0.03053, allocations: 1.356 MB / 315.1 MB, free: 15.97 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001279/0.03181, allocations: 1.099 MB / 316.2 MB, free: 14.87 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003604/0.03217, allocations: 199.9 kB / 316.4 MB, free: 14.67 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009782/0.03315, allocations: 0.6475 MB / 317 MB, free: 14.02 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007234/0.03387, allocations: 1.068 MB / 318.1 MB, free: 12.95 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006543/0.03453, allocations: 0.5919 MB / 318.7 MB, free: 12.36 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002331/0.03686, allocations: 2.553 MB / 321.2 MB, free: 9.797 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.116e-05/0.03687, allocations: 4 kB / 321.2 MB, free: 9.793 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.03687, allocations: 0 / 321.2 MB, free: 9.793 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001038/0.03697, allocations: 0 / 321.2 MB, free: 9.793 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.003295/0.04027, allocations: 3.249 MB / 324.5 MB, free: 6.488 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.0403, allocations: 8.922 kB / 324.5 MB, free: 6.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001829/0.04213, allocations: 0.7577 MB / 325.3 MB, free: 5.723 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/0.04357, allocations: 1.046 MB / 326.3 MB, free: 4.645 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.909e-05/0.04365, allocations: 148 kB / 326.5 MB, free: 4.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002123/0.04386, allocations: 184.3 kB / 326.6 MB, free: 4.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003425/0.04728, allocations: 2.84 MB / 329.5 MB, free: 1.203 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.819e-05/0.04732, allocations: 15.88 kB / 329.5 MB, free: 1.188 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001471/0.04747, allocations: 87.91 kB / 329.6 MB, free: 1.102 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001046/0.04851, allocations: 1.145 MB / 330.7 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002762/0.05128, allocations: 1.507 MB / 332.2 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01466/0.06594, allocations: 15.32 MB / 347.5 MB, free: 14.53 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001773/0.06771, allocations: 0.8651 MB / 348.4 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/0.06792, allocations: 156.8 kB / 348.6 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002943/0.07086, allocations: 2.185 MB / 350.7 MB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.07089, allocations: 39.06 kB / 350.8 MB, free: 11.23 MB / 346.7 MB Notification: Performance of pre-optimization done (n=78): time 3.476e-06/0.07089, allocations: 0 / 350.8 MB, free: 11.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=78): time 0.002223/0.07311, allocations: 1.074 MB / 351.9 MB, free: 10.15 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.07314, allocations: 59.89 kB / 351.9 MB, free: 10.08 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/0.0745, allocations: 1.424 MB / 353.3 MB, free: 8.645 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.329e-05/0.07454, allocations: 37.7 kB / 353.4 MB, free: 8.602 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000757/0.0753, allocations: 1.846 MB / 355.2 MB, free: 6.734 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001828/0.07548, allocations: 317.6 kB / 355.5 MB, free: 6.422 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004323/0.07592, allocations: 0.5802 MB / 356.1 MB, free: 5.832 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.922e-05/0.07601, allocations: 353.8 kB / 356.5 MB, free: 5.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002543/0.07626, allocations: 217.9 kB / 356.7 MB, free: 5.266 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.07731, allocations: 2.151 MB / 358.8 MB, free: 2.152 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003157/0.08047, allocations: 3.032 MB / 361.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.963e-05/0.08052, allocations: 20 kB / 361.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003358/0.08387, allocations: 1.982 MB / 363.9 MB, free: 12.15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.469e-05/0.08393, allocations: 37.23 kB / 363.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001128/0.08404, allocations: 76 kB / 364 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.625e-05/0.08411, allocations: 88.75 kB / 364.1 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/0.08539, allocations: 0.7409 MB / 364.8 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.682e-05/0.08546, allocations: 135.5 kB / 364.9 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.08663, allocations: 401 kB / 365.3 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/0.08677, allocations: 164 kB / 365.5 MB, free: 10.53 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 311 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (372): * Single equations (assignments): 369 * Array equations: 3 * 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.0007091/0.08748, allocations: 381.5 kB / 365.9 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.0876, allocations: 83.91 kB / 365.9 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001622/0.08776, allocations: 168 kB / 366.1 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/0.08778, allocations: 4 kB / 366.1 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.08778, allocations: 0 / 366.1 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.08779, allocations: 3.984 kB / 366.1 MB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002546/0.09033, allocations: 2.26 MB / 368.4 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.569e-05/0.09035, allocations: 16 kB / 368.4 MB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.09057, allocations: 104.7 kB / 368.5 MB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.09071, allocations: 150.7 kB / 368.6 MB, free: 7.238 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/0.09071, allocations: 16 kB / 368.6 MB, free: 7.223 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.09074, allocations: 23.92 kB / 368.7 MB, free: 7.199 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/0.09075, allocations: 15.92 kB / 368.7 MB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.882e-06/0.09076, allocations: 8 kB / 368.7 MB, free: 7.176 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004727/0.09123, allocations: 0.6409 MB / 369.3 MB, free: 6.426 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.939e-05/0.09131, allocations: 23.97 kB / 369.4 MB, free: 6.402 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.09152, allocations: 20 kB / 369.4 MB, free: 6.383 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.401e-05/0.09158, allocations: 59.69 kB / 369.4 MB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-05/0.09161, allocations: 27.98 kB / 369.5 MB, free: 6.297 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004192/0.09203, allocations: 0.541 MB / 370 MB, free: 5.758 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.09203, allocations: 0 / 370 MB, free: 5.758 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001546/0.09358, allocations: 0.7123 MB / 370.7 MB, free: 5.043 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * Array equations: 3 * 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.0002477/0.09383, allocations: 120.2 kB / 370.8 MB, free: 4.918 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.09502, allocations: 1.186 MB / 372 MB, free: 3.754 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.627e-05/0.09511, allocations: 55.92 kB / 372.1 MB, free: 3.691 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002303/0.09534, allocations: 218.9 kB / 372.3 MB, free: 3.477 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009353/0.09627, allocations: 1.064 MB / 373.4 MB, free: 2.285 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006257/0.1025, allocations: 4.617 MB / 378 MB, free: 13.53 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006302/0.1032, allocations: 0.7464 MB / 378.7 MB, free: 12.76 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000562/0.1037, allocations: 243.9 kB / 379 MB, free: 12.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002708/0.104, allocations: 251.3 kB / 379.2 MB, free: 12.27 MB / 378.7 MB Notification: Performance of SimCode: time 1.753e-06/0.104, allocations: 0 / 379.2 MB, free: 12.27 MB / 378.7 MB Notification: Performance of Templates: time 0.02055/0.1245, allocations: 9.816 MB / 389 MB, free: 2.48 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.161472843028605]