Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.002139/0.002139, allocations: 84.23 kB / 20.21 MB, free: 4.227 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.003158/0.003158, allocations: 157.6 kB / 23.52 MB, free: 0.9141 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 1.422/1.422, allocations: 158.6 MB / 185.3 MB, free: 2.852 MB / 170.7 MB " [Timeout remaining time 178] 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.2224/0.2224, allocations: 32.37 MB / 270 MB, free: 14.78 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.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 346.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.356e-05/2.509e-05, allocations: 2.312 kB / 346.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.008106/0.008131, allocations: 9.698 MB / 356.6 MB, free: 76 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008223/0.01635, allocations: 2.917 MB / 359.5 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002105/0.01846, allocations: 59.81 kB / 359.6 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006424/0.02488, allocations: 2.095 MB / 361.7 MB, free: 10.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005096/0.02998, allocations: 1.283 MB / 363 MB, free: 9.699 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.03132, allocations: 319.2 kB / 363.3 MB, free: 9.387 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006157/0.03747, allocations: 2.545 MB / 365.8 MB, free: 6.836 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004531/0.04201, allocations: 1.903 MB / 367.7 MB, free: 4.891 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004051/0.04606, allocations: 1.423 MB / 369.2 MB, free: 3.465 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003054/0.04911, allocations: 1.282 MB / 370.4 MB, free: 2.176 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006447/0.04975, allocations: 216 kB / 370.7 MB, free: 1.965 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001976/0.05173, allocations: 0.6708 MB / 371.3 MB, free: 1.293 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002144/0.05387, allocations: 1.325 MB / 372.6 MB, free: 15.96 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002055/0.05593, allocations: 0.8098 MB / 373.5 MB, free: 15.15 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009461/0.06539, allocations: 4.816 MB / 378.3 MB, free: 10.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.0654, allocations: 0 / 378.3 MB, free: 10.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.0654, allocations: 0 / 378.3 MB, free: 10.32 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001431/0.06554, allocations: 4 kB / 378.3 MB, free: 10.32 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: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.009739/0.07528, allocations: 3.113 MB / 381.4 MB, free: 7.152 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.07533, allocations: 16.03 kB / 381.4 MB, free: 7.137 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01013/0.08546, allocations: 2.031 MB / 383.4 MB, free: 5.102 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003864/0.08933, allocations: 1.383 MB / 384.8 MB, free: 3.684 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002576/0.08958, allocations: 156.4 kB / 385 MB, free: 3.527 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007969/0.09038, allocations: 204.3 kB / 385.2 MB, free: 3.328 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01368/0.1041, allocations: 6.974 MB / 392.1 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.331e-05/0.1041, allocations: 15.88 kB / 392.2 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003104/0.1044, allocations: 99.89 kB / 392.3 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002743/0.1072, allocations: 1.524 MB / 393.8 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01335/0.1205, allocations: 5.939 MB / 399.7 MB, free: 4.418 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03483/0.1554, allocations: 20.23 MB / 420 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00498/0.1603, allocations: 1.749 MB / 421.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/0.1617, allocations: 0.74 MB / 422.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01134/0.173, allocations: 3.433 MB / 425.9 MB, free: 9.629 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.302e-05/0.1731, allocations: 47.16 kB / 425.9 MB, free: 9.574 MB / 362.7 MB Notification: Performance of pre-optimization done (n=96): time 7.364e-06/0.1731, allocations: 3.984 kB / 425.9 MB, free: 9.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=96): time 0.01043/0.1835, allocations: 2.413 MB / 428.3 MB, free: 7.148 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.047e-05/0.1836, allocations: 56.06 kB / 428.4 MB, free: 7.082 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005166/0.1888, allocations: 2.045 MB / 430.4 MB, free: 5.031 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001495/0.1889, allocations: 33.7 kB / 430.5 MB, free: 4.992 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002938/0.1918, allocations: 2.09 MB / 432.6 MB, free: 2.879 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006947/0.1925, allocations: 389 kB / 432.9 MB, free: 2.496 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001577/0.1941, allocations: 0.6634 MB / 433.6 MB, free: 1.824 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002943/0.1944, allocations: 345.9 kB / 433.9 MB, free: 1.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002496/0.1969, allocations: 0.9941 MB / 434.9 MB, free: 496 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006335/0.2032, allocations: 2.999 MB / 437.9 MB, free: 12.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009167/0.2124, allocations: 4.352 MB / 442.3 MB, free: 7.148 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001064/0.2125, allocations: 20 kB / 442.3 MB, free: 7.129 MB / 378.7 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.0125/0.225, allocations: 4.062 MB / 446.4 MB, free: 3.062 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.2251, allocations: 36 kB / 446.4 MB, free: 3.027 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001847/0.2253, allocations: 75.92 kB / 446.5 MB, free: 2.953 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001938/0.2255, allocations: 96 kB / 446.6 MB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003883/0.2294, allocations: 0.7252 MB / 447.3 MB, free: 2.133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000242/0.2296, allocations: 139.5 kB / 447.4 MB, free: 1.996 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003994/0.2336, allocations: 453.2 kB / 447.9 MB, free: 1.551 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007391/0.2344, allocations: 200 kB / 448.1 MB, free: 1.355 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 322 * Number of states: 0 () * Number of discrete variables: 24 (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 (401): * Single equations (assignments): 396 * 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.1666/0.4009, allocations: 1.457 MB / 449.5 MB, free: 103.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003562/0.4013, allocations: 195.4 kB / 449.7 MB, free: 103.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002142/0.4034, allocations: 1.231 MB / 451 MB, free: 103.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-05/0.4035, allocations: 10.84 kB / 451 MB, free: 103.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.4035, allocations: 1.094 kB / 451 MB, free: 103.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-06/0.4035, allocations: 3.938 kB / 451 MB, free: 103.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006807/0.4103, allocations: 3.989 MB / 455 MB, free: 101.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/0.4103, allocations: 11.91 kB / 455 MB, free: 101.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005291/0.4108, allocations: 141.6 kB / 455.1 MB, free: 101.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.386e-05/0.4108, allocations: 15.34 kB / 455.1 MB, free: 101.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.269e-05/0.4109, allocations: 23.31 kB / 455.1 MB, free: 101.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.219e-05/0.4109, allocations: 21.34 kB / 455.2 MB, free: 101.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/0.4109, allocations: 17.62 kB / 455.2 MB, free: 101.9 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.4125, allocations: 1.573 MB / 456.8 MB, free: 101.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002966/0.4128, allocations: 187.6 kB / 456.9 MB, free: 101 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/0.413, allocations: 26.83 kB / 457 MB, free: 101 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00054/0.4135, allocations: 31.41 kB / 457 MB, free: 101 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.4136, allocations: 91.95 kB / 457.1 MB, free: 101 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-05/0.4137, allocations: 45.23 kB / 457.1 MB, free: 101 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00126/0.415, allocations: 1.168 MB / 458.3 MB, free: 100.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.415, allocations: 0 / 458.3 MB, free: 100.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002456/0.4174, allocations: 0.7981 MB / 459.1 MB, free: 100.4 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (76): * Single equations (assignments): 73 * 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.0002805/0.4177, allocations: 161.2 kB / 459.3 MB, free: 100.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002801/0.4205, allocations: 2.221 MB / 461.5 MB, free: 99.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.158e-06/0.4205, allocations: 0 / 461.5 MB, free: 99.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006147/0.4211, allocations: 0.5319 MB / 462 MB, free: 99.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.4223, allocations: 205.2 kB / 462.2 MB, free: 99.35 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007472/0.4297, allocations: 5.877 MB / 468.1 MB, free: 94.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001755/0.4315, allocations: 1.892 MB / 470 MB, free: 92.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002003/0.4335, allocations: 1.021 MB / 471 MB, free: 92.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/0.4338, allocations: 128.5 kB / 471.1 MB, free: 91.99 MB / 378.7 MB Notification: Performance of SimCode: time 2.464e-06/0.4338, allocations: 0 / 471.1 MB, free: 91.99 MB / 378.7 MB Notification: Performance of Templates: time 0.02387/0.4576, allocations: 12.89 MB / 484 MB, free: 79.25 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",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.696015586028807]