Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.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.001137/0.001137, allocations: 95.31 kB / 20.43 MB, free: 4.148 MB / 18.57 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.001252/0.001252, allocations: 165 kB / 23.79 MB, free: 0.7852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9158/0.9158, allocations: 158.6 MB / 185.6 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.141/0.141, allocations: 32.37 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque1a.torque.[0-9,]+.|cutTorque2a.torque.[0-9,]+.|cutTorque1b.torque.[0-9,]+.|cutTorque2b.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque1a.torque.[0-9,]+.|cutTorque2a.torque.[0-9,]+.|cutTorque1b.torque.[0-9,]+.|cutTorque2b.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.651e-05/3.82e-05, allocations: 2.312 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01332/0.01336, allocations: 17.29 MB / 365 MB, free: 8.086 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0104/0.02376, allocations: 5.35 MB / 370.3 MB, free: 2.719 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002973/0.02673, allocations: 159.2 kB / 370.5 MB, free: 2.562 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007446/0.03418, allocations: 6.573 MB / 377 MB, free: 11.97 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008289/0.04247, allocations: 3.394 MB / 380.4 MB, free: 8.559 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003407/0.04588, allocations: 1.797 MB / 382.2 MB, free: 6.758 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01152/0.0574, allocations: 9.637 MB / 391.9 MB, free: 13.11 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01172/0.06912, allocations: 6.999 MB / 398.9 MB, free: 6.008 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008707/0.07783, allocations: 5.013 MB / 403.9 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006934/0.08476, allocations: 5.012 MB / 408.9 MB, free: 11.96 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002039/0.0868, allocations: 0.6797 MB / 409.6 MB, free: 11.28 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003202/0.09, allocations: 1.475 MB / 411 MB, free: 9.805 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004273/0.09427, allocations: 4.372 MB / 415.4 MB, free: 5.422 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0066/0.1009, allocations: 2.633 MB / 418 MB, free: 2.781 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01241/0.1133, allocations: 8.791 MB / 426.8 MB, free: 9.953 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.1133, allocations: 0 / 426.8 MB, free: 9.953 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1133, allocations: 0 / 426.8 MB, free: 9.953 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004679/0.1138, allocations: 0 / 426.8 MB, free: 9.953 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2935 * Number of variables: 2935 Notification: Performance of Generate backend data structure: time 0.3174/0.4312, allocations: 10.45 MB / 437.3 MB, free: 60.49 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.36e-05/0.4312, allocations: 9.812 kB / 437.3 MB, free: 60.49 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01002/0.4412, allocations: 3.726 MB / 441 MB, free: 59.91 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009062/0.4503, allocations: 4.554 MB / 445.6 MB, free: 59.39 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005871/0.4509, allocations: 475.8 kB / 446 MB, free: 59.38 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00215/0.453, allocations: 0.6133 MB / 446.7 MB, free: 59.37 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02433/0.4774, allocations: 11.71 MB / 458.4 MB, free: 54.49 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002998/0.4777, allocations: 68.23 kB / 458.4 MB, free: 54.49 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008925/0.4786, allocations: 300.6 kB / 458.7 MB, free: 54.49 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003911/0.4825, allocations: 3.64 MB / 462.4 MB, free: 52.72 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01775/0.5002, allocations: 6.046 MB / 468.4 MB, free: 47.58 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07639/0.5766, allocations: 80.41 MB / 0.536 GB, free: 14.28 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01013/0.5867, allocations: 3.883 MB / 0.5398 GB, free: 10.36 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002028/0.5888, allocations: 0.9482 MB / 0.5407 GB, free: 9.402 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01247/0.6012, allocations: 6.976 MB / 0.5475 GB, free: 2.699 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.113e-05/0.6013, allocations: 59.39 kB / 0.5475 GB, free: 2.633 MB / 410.8 MB Notification: Performance of pre-optimization done (n=250): time 4.389e-06/0.6013, allocations: 0 / 0.5475 GB, free: 2.633 MB / 410.8 MB Notification: Performance of matching and sorting (n=274): time 0.03272/0.634, allocations: 14.79 MB / 0.562 GB, free: 4.031 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.036e-05/0.6341, allocations: 160.9 kB / 0.5621 GB, free: 3.848 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007337/0.6414, allocations: 5.921 MB / 0.5679 GB, free: 13.91 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007269/0.6421, allocations: 61.7 kB / 0.568 GB, free: 13.85 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003941/0.6461, allocations: 6.203 MB / 0.574 GB, free: 7.684 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001756/0.6478, allocations: 1.122 MB / 0.5751 GB, free: 6.574 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002051/0.6499, allocations: 2.047 MB / 0.5771 GB, free: 4.52 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.65, allocations: 480.7 kB / 0.5776 GB, free: 4.047 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001814/0.6518, allocations: 0.954 MB / 0.5785 GB, free: 3.09 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006406/0.6582, allocations: 9.652 MB / 0.5879 GB, free: 5.531 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2002/0.8585, allocations: 11.74 MB / 0.5994 GB, free: 116.8 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003022/0.8588, allocations: 60.16 kB / 0.5995 GB, free: 116.8 MB / 458.8 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.01549/0.8743, allocations: 8.022 MB / 0.6073 GB, free: 116.2 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001181/0.8744, allocations: 96.8 kB / 0.6074 GB, free: 116.2 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002459/0.8746, allocations: 208.4 kB / 0.6076 GB, free: 116.2 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002171/0.8749, allocations: 275.7 kB / 0.6079 GB, free: 116.2 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005299/0.8802, allocations: 2.216 MB / 0.61 GB, free: 116 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003013/0.8805, allocations: 413.6 kB / 0.6104 GB, free: 115.9 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006758/0.8872, allocations: 0.7041 MB / 0.6111 GB, free: 115.9 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001676/0.8889, allocations: 0.5735 MB / 0.6117 GB, free: 115.9 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 951 * Number of states: 0 () * Number of discrete variables: 60 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[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 (1195): * Single equations (assignments): 1184 * Array equations: 11 * 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.004041/0.8929, allocations: 0.9484 MB / 0.6126 GB, free: 115.6 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001616/0.8945, allocations: 0.6339 MB / 0.6132 GB, free: 115.6 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002681/0.8972, allocations: 1.718 MB / 0.6149 GB, free: 115.4 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.968e-05/0.8973, allocations: 35.06 kB / 0.6149 GB, free: 115.4 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.8973, allocations: 4 kB / 0.6149 GB, free: 115.4 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/0.8973, allocations: 10.64 kB / 0.6149 GB, free: 115.4 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02141/0.9187, allocations: 13.62 MB / 0.6282 GB, free: 111.1 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.947e-05/0.9188, allocations: 66.66 kB / 0.6283 GB, free: 111.1 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001409/0.9202, allocations: 0.6064 MB / 0.6289 GB, free: 111.1 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001228/0.9203, allocations: 86.09 kB / 0.629 GB, free: 111.1 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001945/0.9205, allocations: 142.4 kB / 0.6291 GB, free: 111 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.889e-05/0.9206, allocations: 118.9 kB / 0.6292 GB, free: 110.9 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.335e-05/0.9206, allocations: 101.5 kB / 0.6293 GB, free: 110.8 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004818/0.9254, allocations: 5.592 MB / 0.6348 GB, free: 104.7 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001995/0.9274, allocations: 0.682 MB / 0.6354 GB, free: 104.4 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001161/0.9286, allocations: 156.5 kB / 0.6356 GB, free: 104.3 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002775/0.9314, allocations: 289.9 kB / 0.6359 GB, free: 104.1 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004978/0.9319, allocations: 433.1 kB / 0.6363 GB, free: 103.9 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001789/0.932, allocations: 183.8 kB / 0.6365 GB, free: 103.7 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.00391/0.9359, allocations: 2.583 MB / 0.639 GB, free: 102.1 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.3e-07/0.9359, allocations: 0 / 0.639 GB, free: 102.1 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01045/0.9464, allocations: 1.755 MB / 0.6407 GB, free: 100.6 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 288 * 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 (326): * Single equations (assignments): 323 * 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.001128/0.9475, allocations: 349.6 kB / 0.641 GB, free: 100.4 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.008234/0.9558, allocations: 4.323 MB / 0.6453 GB, free: 97.14 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-05/0.9558, allocations: 12 kB / 0.6453 GB, free: 97.12 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001656/0.9575, allocations: 1.018 MB / 0.6463 GB, free: 96.36 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005952/0.9634, allocations: 0.8958 MB / 0.6471 GB, free: 95.88 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02619/0.9896, allocations: 16.52 MB / 0.6633 GB, free: 79.24 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003832/0.9935, allocations: 2.46 MB / 0.6657 GB, free: 77.48 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.005021/0.9985, allocations: 2.498 MB / 0.6681 GB, free: 75.88 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001403/0.9999, allocations: 408.4 kB / 0.6685 GB, free: 75.48 MB / 458.8 MB Notification: Performance of SimCode: time 6.171e-06/0.9999, allocations: 4 kB / 0.6685 GB, free: 75.47 MB / 458.8 MB Notification: Performance of Templates: time 0.06711/1.067, allocations: 41.02 MB / 0.7086 GB, free: 34.67 MB / 458.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.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: 5.31403632927686]