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.001224/0.001224, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001721/0.002945, allocations: 449.7 kB / 10.37 MB, free: 324 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.001193/0.001193, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001541/0.002734, allocations: 463.6 kB / 11.72 MB, free: 2.453 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 0.9759/0.9759, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09183/1.068, allocations: 53.86 MB / 243.8 MB, free: 14.9 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.2734/0.2734, allocations: 34.86 MB / 279.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03568/0.3091, allocations: 13.23 MB / 292.6 MB, free: 6.461 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 1.453e-06/1.453e-06, allocations: 0 / 293.9 MB, free: 5.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.509e-05/1.654e-05, allocations: 3.406 kB / 293.9 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.006809/0.006825, allocations: 9.125 MB / 303 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004237/0.01106, allocations: 2.979 MB / 306 MB, free: 9.039 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005445/0.01161, allocations: 55.81 kB / 306 MB, free: 8.984 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00189/0.0135, allocations: 2.032 MB / 308 MB, free: 6.945 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.01496, allocations: 1.167 MB / 309.2 MB, free: 5.773 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.01533, allocations: 299.2 kB / 309.5 MB, free: 5.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001605/0.01693, allocations: 2.212 MB / 311.7 MB, free: 3.266 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001175/0.01811, allocations: 1.766 MB / 313.5 MB, free: 1.441 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008801/0.01899, allocations: 1.352 MB / 314.8 MB, free: 84 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009241/0.01991, allocations: 1.114 MB / 316 MB, free: 14.96 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001949/0.02011, allocations: 192 kB / 316.1 MB, free: 14.78 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007081/0.02082, allocations: 0.6552 MB / 316.8 MB, free: 14.12 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006547/0.02147, allocations: 1.064 MB / 317.9 MB, free: 13.05 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004427/0.02191, allocations: 0.5919 MB / 318.4 MB, free: 12.46 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002059/0.02397, allocations: 2.557 MB / 321 MB, free: 9.895 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.399e-05/0.02399, allocations: 0 / 321 MB, free: 9.895 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.02399, allocations: 0 / 321 MB, free: 9.895 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.755e-05/0.02402, allocations: 0 / 321 MB, free: 9.895 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.002972/0.027, allocations: 3.249 MB / 324.3 MB, free: 6.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.02703, allocations: 8.922 kB / 324.3 MB, free: 6.582 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/0.02865, allocations: 0.7577 MB / 325 MB, free: 5.824 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.02991, allocations: 1.042 MB / 326.1 MB, free: 4.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.753e-05/0.02998, allocations: 152 kB / 326.2 MB, free: 4.602 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/0.03016, allocations: 184.3 kB / 326.4 MB, free: 4.422 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002575/0.03274, allocations: 2.844 MB / 329.2 MB, free: 1.301 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.387e-05/0.03277, allocations: 11.88 kB / 329.2 MB, free: 1.289 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/0.03291, allocations: 87.91 kB / 329.3 MB, free: 1.203 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009788/0.03389, allocations: 1.204 MB / 330.5 MB, free: 15.99 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001972/0.03586, allocations: 1.509 MB / 332 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01068/0.04655, allocations: 15.31 MB / 347.4 MB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.04808, allocations: 0.869 MB / 348.2 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.04828, allocations: 157.3 kB / 348.4 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002434/0.05071, allocations: 2.174 MB / 350.5 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.05073, allocations: 35 kB / 350.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of pre-optimization done (n=78): time 1.944e-06/0.05073, allocations: 4 kB / 350.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=78): time 0.002529/0.05326, allocations: 1.066 MB / 351.7 MB, free: 10.22 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.0533, allocations: 59.91 kB / 351.7 MB, free: 10.14 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.05441, allocations: 1.424 MB / 353.1 MB, free: 8.711 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/0.05445, allocations: 37.7 kB / 353.2 MB, free: 8.668 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001065/0.05551, allocations: 1.842 MB / 355 MB, free: 6.805 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001845/0.0557, allocations: 313.6 kB / 355.3 MB, free: 6.496 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005326/0.05623, allocations: 0.5762 MB / 355.9 MB, free: 5.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.05633, allocations: 357.7 kB / 356.2 MB, free: 5.555 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004225/0.05675, allocations: 314.2 kB / 356.6 MB, free: 5.242 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001259/0.05801, allocations: 2.091 MB / 358.6 MB, free: 2.219 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002396/0.06041, allocations: 2.752 MB / 361.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.413e-05/0.06043, allocations: 20 kB / 361.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002375/0.06281, allocations: 1.963 MB / 363.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.662e-05/0.06285, allocations: 36 kB / 363.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-05/0.0629, allocations: 64 kB / 363.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.813e-05/0.06297, allocations: 88 kB / 363.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/0.06445, allocations: 0.7136 MB / 364.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.289e-05/0.06453, allocations: 131.5 kB / 364.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.06578, allocations: 405.2 kB / 364.8 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001943/0.06597, allocations: 164 kB / 365 MB, free: 10.97 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * 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 (362): * Single equations (assignments): 357 * Array equations: 5 * 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.000546/0.06652, allocations: 361.6 kB / 365.3 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.06666, allocations: 91.89 kB / 365.4 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/0.06687, allocations: 160 kB / 365.6 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/0.06688, allocations: 8 kB / 365.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.06689, allocations: 0 / 365.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.06689, allocations: 7.984 kB / 365.6 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003/0.06989, allocations: 2.256 MB / 367.8 MB, free: 7.957 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.0699, allocations: 8 kB / 367.8 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002884/0.07019, allocations: 99.84 kB / 367.9 MB, free: 7.852 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.07033, allocations: 158.7 kB / 368.1 MB, free: 7.695 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.07034, allocations: 8 kB / 368.1 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.375e-05/0.07037, allocations: 19.94 kB / 368.1 MB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.016e-05/0.07038, allocations: 15.92 kB / 368.1 MB, free: 7.652 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.07039, allocations: 12.38 kB / 368.1 MB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005352/0.07092, allocations: 0.6487 MB / 368.8 MB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.07103, allocations: 19.98 kB / 368.8 MB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003263/0.07136, allocations: 16 kB / 368.8 MB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.496e-05/0.07144, allocations: 55.75 kB / 368.9 MB, free: 6.805 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.063e-05/0.0715, allocations: 31.97 kB / 368.9 MB, free: 6.773 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006324/0.07213, allocations: 0.541 MB / 369.5 MB, free: 6.234 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.07213, allocations: 8 kB / 369.5 MB, free: 6.227 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001982/0.07411, allocations: 0.7006 MB / 370.2 MB, free: 5.523 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.0002386/0.07435, allocations: 132.1 kB / 370.3 MB, free: 5.387 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001358/0.07571, allocations: 1.108 MB / 371.4 MB, free: 4.281 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001157/0.07582, allocations: 55.92 kB / 371.5 MB, free: 4.219 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002326/0.07605, allocations: 164.1 kB / 371.6 MB, free: 4.059 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009134/0.07697, allocations: 297.5 kB / 371.9 MB, free: 3.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006896/0.08386, allocations: 4.61 MB / 376.5 MB, free: 15.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008562/0.08472, allocations: 0.754 MB / 377.3 MB, free: 14.24 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007765/0.0855, allocations: 245.7 kB / 377.5 MB, free: 14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004334/0.08593, allocations: 271.3 kB / 377.8 MB, free: 13.73 MB / 378.7 MB Notification: Performance of SimCode: time 8.02e-07/0.08593, allocations: 0 / 377.8 MB, free: 13.73 MB / 378.7 MB Notification: Performance of Templates: time 0.02644/0.1124, allocations: 12.59 MB / 390.4 MB, free: 1.324 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.268023150973022]