Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00157/0.002687, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007304/0.0007304, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000854/0.001584, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1/1, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1046/1.105, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2981/0.2981, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03062/0.3287, allocations: 12.53 MB / 289.3 MB, free: 8.676 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 1.375 kB / 290.6 MB, free: 7.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.182e-05/1.338e-05, allocations: 3.078 kB / 290.6 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.00756/0.007573, allocations: 9.117 MB / 299.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004358/0.01193, allocations: 2.983 MB / 302.7 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004201/0.01235, allocations: 55.81 kB / 302.8 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002126/0.01448, allocations: 2.032 MB / 304.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.01589, allocations: 1.155 MB / 305.9 MB, free: 8.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003826/0.01627, allocations: 307.2 kB / 306.2 MB, free: 8.609 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002029/0.0183, allocations: 2.215 MB / 308.5 MB, free: 6.391 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001261/0.01956, allocations: 1.774 MB / 310.2 MB, free: 4.555 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000975/0.02054, allocations: 1.348 MB / 311.6 MB, free: 3.203 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009081/0.02144, allocations: 1.107 MB / 312.7 MB, free: 2.094 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001678/0.02161, allocations: 192 kB / 312.9 MB, free: 1.906 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006868/0.0223, allocations: 0.6591 MB / 313.5 MB, free: 1.246 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006489/0.02295, allocations: 1.06 MB / 314.6 MB, free: 188 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004956/0.02344, allocations: 0.592 MB / 315.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002132/0.02558, allocations: 2.557 MB / 317.7 MB, free: 13.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.738e-05/0.02559, allocations: 0 / 317.7 MB, free: 13.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.02559, allocations: 0 / 317.7 MB, free: 13.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.604e-05/0.02563, allocations: 4 kB / 317.8 MB, free: 13.02 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.002774/0.0284, allocations: 3.249 MB / 321 MB, free: 9.711 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.02844, allocations: 8.031 kB / 321 MB, free: 9.703 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001698/0.03014, allocations: 0.7538 MB / 321.8 MB, free: 8.949 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.03128, allocations: 1.053 MB / 322.8 MB, free: 7.859 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.475e-05/0.03135, allocations: 144 kB / 323 MB, free: 7.719 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/0.03154, allocations: 184.3 kB / 323.1 MB, free: 7.539 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002721/0.03426, allocations: 2.837 MB / 326 MB, free: 4.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.357e-05/0.0343, allocations: 19.81 kB / 326 MB, free: 4.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.03443, allocations: 83.91 kB / 326.1 MB, free: 4.328 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009952/0.03543, allocations: 1.204 MB / 327.3 MB, free: 3.121 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002327/0.03776, allocations: 1.518 MB / 328.8 MB, free: 1.562 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01183/0.04959, allocations: 15.3 MB / 344.1 MB, free: 1.707 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.05119, allocations: 0.8675 MB / 345 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/0.05139, allocations: 152.5 kB / 345.1 MB, free: 0.668 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00267/0.05406, allocations: 2.173 MB / 347.3 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.05409, allocations: 43.05 kB / 347.3 MB, free: 14.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=78): time 3.046e-06/0.0541, allocations: 0 / 347.3 MB, free: 14.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=78): time 0.002144/0.05624, allocations: 1.07 MB / 348.4 MB, free: 13.34 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.05628, allocations: 59.84 kB / 348.5 MB, free: 13.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.05729, allocations: 1.431 MB / 349.9 MB, free: 11.83 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.05732, allocations: 33.7 kB / 349.9 MB, free: 11.79 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007753/0.05809, allocations: 1.834 MB / 351.8 MB, free: 9.934 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001658/0.05826, allocations: 317.6 kB / 352.1 MB, free: 9.621 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004141/0.05867, allocations: 0.5801 MB / 352.6 MB, free: 9.031 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.05878, allocations: 353.8 kB / 353 MB, free: 8.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003248/0.0591, allocations: 310.2 kB / 353.3 MB, free: 8.371 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/0.06024, allocations: 2.091 MB / 355.4 MB, free: 5.344 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001844/0.06209, allocations: 2.75 MB / 358.1 MB, free: 1.672 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.461e-05/0.06211, allocations: 20 kB / 358.2 MB, free: 1.652 MB / 346.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.001812/0.06392, allocations: 1.961 MB / 360.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/0.06396, allocations: 37.72 kB / 360.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-05/0.064, allocations: 67.94 kB / 360.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.432e-05/0.06405, allocations: 88 kB / 360.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.06516, allocations: 0.7136 MB / 361 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.153e-05/0.06522, allocations: 123.5 kB / 361.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008546/0.06607, allocations: 405 kB / 361.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/0.06622, allocations: 172 kB / 361.7 MB, free: 14.09 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.0005029/0.06672, allocations: 365.6 kB / 362.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.06682, allocations: 91.91 kB / 362.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001541/0.06698, allocations: 160 kB / 362.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.06699, allocations: 12 kB / 362.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.06699, allocations: 0 / 362.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.067, allocations: 0 / 362.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00219/0.06919, allocations: 2.256 MB / 364.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.06919, allocations: 4 kB / 364.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.06941, allocations: 107.8 kB / 364.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.06954, allocations: 150.7 kB / 364.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.354e-05/0.06955, allocations: 15.98 kB / 364.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.06958, allocations: 16 kB / 364.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.049e-05/0.06959, allocations: 19.88 kB / 364.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.0696, allocations: 4 kB / 364.9 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005199/0.07012, allocations: 0.6528 MB / 365.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.189e-05/0.0702, allocations: 20 kB / 365.6 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.07038, allocations: 16 kB / 365.6 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.07044, allocations: 59.67 kB / 365.6 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.85e-05/0.07047, allocations: 27.94 kB / 365.7 MB, free: 9.895 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004124/0.07088, allocations: 0.5487 MB / 366.2 MB, free: 9.348 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.07088, allocations: 0 / 366.2 MB, free: 9.348 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001466/0.07235, allocations: 0.7006 MB / 366.9 MB, free: 8.645 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.00033/0.07268, allocations: 132.1 kB / 367 MB, free: 8.508 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001167/0.07385, allocations: 1.099 MB / 368.1 MB, free: 7.414 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.97e-05/0.07394, allocations: 61.78 kB / 368.2 MB, free: 7.344 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.0741, allocations: 168.5 kB / 368.4 MB, free: 7.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007654/0.07487, allocations: 295.5 kB / 368.6 MB, free: 6.895 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006021/0.08089, allocations: 4.617 MB / 373.3 MB, free: 2.137 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006108/0.0815, allocations: 0.7541 MB / 374 MB, free: 1.359 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005089/0.08201, allocations: 238.7 kB / 374.3 MB, free: 1.121 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003136/0.08232, allocations: 275.3 kB / 374.5 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of SimCode: time 1.212e-06/0.08232, allocations: 0 / 374.5 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of Templates: time 0.0198/0.1021, allocations: 12.59 MB / 387.1 MB, free: 4.418 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.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.4468868616968393]