Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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.0008306/0.0008306, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001138/0.001968, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007041/0.0007041, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009579/0.001662, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.064/1.064, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1066/1.171, allocations: 53.65 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3178/0.3178, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05269/0.3705, allocations: 13.1 MB / 291.5 MB, free: 7.336 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.012e-06/1.012e-06, allocations: 3.938 kB / 292.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.477e-05/1.578e-05, allocations: 4.266 kB / 292.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.008234/0.00825, allocations: 9.131 MB / 302 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004632/0.01288, allocations: 2.986 MB / 304.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005422/0.01342, allocations: 55.81 kB / 305 MB, free: 9.996 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001928/0.01535, allocations: 2.032 MB / 307 MB, free: 7.957 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001549/0.0169, allocations: 1.155 MB / 308.2 MB, free: 6.797 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00044/0.01734, allocations: 299.2 kB / 308.5 MB, free: 6.504 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001928/0.01927, allocations: 2.223 MB / 310.7 MB, free: 4.277 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001426/0.0207, allocations: 1.77 MB / 312.5 MB, free: 2.449 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.02182, allocations: 1.348 MB / 313.8 MB, free: 1.094 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008764/0.02269, allocations: 1.103 MB / 314.9 MB, free: 15.99 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001732/0.02287, allocations: 196 kB / 315.1 MB, free: 15.8 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006989/0.02357, allocations: 0.6513 MB / 315.8 MB, free: 15.14 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006408/0.02421, allocations: 1.071 MB / 316.8 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004536/0.02466, allocations: 0.5958 MB / 317.4 MB, free: 13.47 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001758/0.02642, allocations: 2.553 MB / 320 MB, free: 10.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.02643, allocations: 0 / 320 MB, free: 10.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.02643, allocations: 0 / 320 MB, free: 10.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.306e-05/0.02645, allocations: 0 / 320 MB, free: 10.91 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.002982/0.02944, allocations: 3.249 MB / 323.2 MB, free: 7.605 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.02947, allocations: 12.03 kB / 323.2 MB, free: 7.594 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001871/0.03134, allocations: 0.7499 MB / 324 MB, free: 6.844 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.03241, allocations: 1.049 MB / 325 MB, free: 5.758 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.652e-05/0.03249, allocations: 144 kB / 325.2 MB, free: 5.617 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001984/0.03269, allocations: 184.3 kB / 325.4 MB, free: 5.438 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003273/0.03596, allocations: 2.841 MB / 328.2 MB, free: 2.324 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.531e-05/0.036, allocations: 15.88 kB / 328.2 MB, free: 2.309 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001506/0.03615, allocations: 83.91 kB / 328.3 MB, free: 2.227 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001036/0.03718, allocations: 1.141 MB / 329.4 MB, free: 1.082 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002142/0.03932, allocations: 1.52 MB / 331 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01094/0.05027, allocations: 15.31 MB / 346.3 MB, free: 15.65 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.05196, allocations: 0.8642 MB / 347.1 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/0.05216, allocations: 154 kB / 347.3 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002873/0.05504, allocations: 2.193 MB / 349.5 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.05507, allocations: 42.98 kB / 349.5 MB, free: 12.35 MB / 346.7 MB Notification: Performance of pre-optimization done (n=78): time 2.325e-06/0.05507, allocations: 0 / 349.5 MB, free: 12.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=78): time 0.002201/0.05727, allocations: 1.074 MB / 350.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.0573, allocations: 55.91 kB / 350.7 MB, free: 11.2 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00093/0.05823, allocations: 1.42 MB / 352.1 MB, free: 9.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.373e-05/0.05826, allocations: 33.7 kB / 352.1 MB, free: 9.73 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008202/0.05908, allocations: 1.849 MB / 354 MB, free: 7.859 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/0.05924, allocations: 317.6 kB / 354.3 MB, free: 7.547 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000443/0.05969, allocations: 0.5802 MB / 354.8 MB, free: 6.957 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.05979, allocations: 353.8 kB / 355.2 MB, free: 6.605 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002416/0.06003, allocations: 217.9 kB / 355.4 MB, free: 6.391 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001532/0.06157, allocations: 2.155 MB / 357.6 MB, free: 3.273 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002085/0.06365, allocations: 3.028 MB / 360.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-05/0.06367, allocations: 20 kB / 360.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002285/0.06596, allocations: 1.998 MB / 362.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.41e-05/0.066, allocations: 32 kB / 362.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.999e-05/0.06606, allocations: 76 kB / 362.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.139e-05/0.06612, allocations: 92.03 kB / 362.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.06724, allocations: 0.737 MB / 363.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.296e-05/0.0673, allocations: 131.5 kB / 363.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008256/0.06813, allocations: 404.9 kB / 364.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/0.06826, allocations: 168 kB / 364.2 MB, free: 11.64 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.0005059/0.06877, allocations: 381.5 kB / 364.6 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.918e-05/0.06886, allocations: 87.89 kB / 364.7 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/0.06901, allocations: 160 kB / 364.8 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.06902, allocations: 4 kB / 364.8 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.06903, allocations: 0 / 364.8 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.06903, allocations: 3.984 kB / 364.8 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/0.07126, allocations: 2.257 MB / 367.1 MB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.902e-05/0.07128, allocations: 15.98 kB / 367.1 MB, free: 8.605 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002171/0.0715, allocations: 111.9 kB / 367.2 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.07162, allocations: 146.7 kB / 367.4 MB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.07163, allocations: 8 kB / 367.4 MB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.422e-05/0.07166, allocations: 27.92 kB / 367.4 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.767e-06/0.07167, allocations: 11.94 kB / 367.4 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.776e-06/0.07168, allocations: 11.94 kB / 367.4 MB, free: 8.293 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005008/0.07218, allocations: 0.6526 MB / 368.1 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.646e-05/0.07225, allocations: 16 kB / 368.1 MB, free: 7.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.07245, allocations: 12 kB / 368.1 MB, free: 7.508 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.152e-05/0.07252, allocations: 63.73 kB / 368.2 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/0.07255, allocations: 27.98 kB / 368.2 MB, free: 7.418 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007038/0.07326, allocations: 0.5448 MB / 368.7 MB, free: 6.875 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07326, allocations: 0 / 368.7 MB, free: 6.875 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001465/0.07472, allocations: 0.7006 MB / 369.4 MB, free: 6.172 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.0002818/0.075, allocations: 128.1 kB / 369.6 MB, free: 6.039 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.07601, allocations: 1.191 MB / 370.8 MB, free: 4.867 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.336e-05/0.0761, allocations: 58.36 kB / 370.8 MB, free: 4.805 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002172/0.07631, allocations: 209.3 kB / 371 MB, free: 4.598 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009766/0.07729, allocations: 1.082 MB / 372.1 MB, free: 3.387 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005417/0.08271, allocations: 4.616 MB / 376.7 MB, free: 14.63 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005878/0.0833, allocations: 0.7424 MB / 377.5 MB, free: 13.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004542/0.08375, allocations: 238.9 kB / 377.7 MB, free: 13.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002574/0.08401, allocations: 255.3 kB / 377.9 MB, free: 13.38 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/0.08401, allocations: 4 kB / 377.9 MB, free: 13.37 MB / 378.7 MB Notification: Performance of Templates: time 0.01895/0.103, allocations: 9.809 MB / 387.8 MB, free: 3.594 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.2825642861425877]