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.0008061/0.0008061, allocations: 80.45 kB / 20.69 MB, free: 3.875 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.0008671/0.0008671, allocations: 165.9 kB / 23.96 MB, free: 0.6016 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.8304/0.8304, allocations: 158.6 MB / 185.7 MB, free: 3.039 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.125/0.125, allocations: 32.37 MB / 270.4 MB, free: 14.97 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.233e-06/1.233e-06, allocations: 0 / 408.1 MB, free: 1.746 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.03e-05/2.153e-05, allocations: 2.281 kB / 408.1 MB, free: 1.742 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.007503/0.007524, allocations: 9.693 MB / 417.8 MB, free: 8 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003934/0.01146, allocations: 2.917 MB / 420.7 MB, free: 5.074 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006031/0.01206, allocations: 63.81 kB / 420.8 MB, free: 5.012 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001895/0.01396, allocations: 2.056 MB / 422.8 MB, free: 2.949 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001486/0.01544, allocations: 1.283 MB / 424.1 MB, free: 1.66 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.01585, allocations: 319.1 kB / 424.4 MB, free: 1.348 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002081/0.01793, allocations: 2.543 MB / 427 MB, free: 14.8 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001295/0.01922, allocations: 1.859 MB / 428.8 MB, free: 12.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009609/0.02018, allocations: 1.423 MB / 430.2 MB, free: 11.47 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009549/0.02114, allocations: 1.282 MB / 431.5 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001898/0.02133, allocations: 223.9 kB / 431.7 MB, free: 9.965 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009389/0.02227, allocations: 0.6553 MB / 432.4 MB, free: 9.309 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006335/0.0229, allocations: 1.328 MB / 433.7 MB, free: 7.977 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005025/0.0234, allocations: 0.8137 MB / 434.5 MB, free: 7.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002905/0.02631, allocations: 4.812 MB / 439.4 MB, free: 2.332 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.02631, allocations: 3.938 kB / 439.4 MB, free: 2.328 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.02631, allocations: 0 / 439.4 MB, free: 2.328 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.847e-05/0.02635, allocations: 0 / 439.4 MB, free: 2.328 MB / 410.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.003347/0.0297, allocations: 3.121 MB / 442.5 MB, free: 15.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.02974, allocations: 8.031 kB / 442.5 MB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002869/0.03261, allocations: 1.66 MB / 444.1 MB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/0.03412, allocations: 1.364 MB / 445.5 MB, free: 12.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.14e-05/0.0342, allocations: 164.4 kB / 445.7 MB, free: 11.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002243/0.03442, allocations: 208.2 kB / 445.9 MB, free: 11.72 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006008/0.04043, allocations: 6.989 MB / 452.9 MB, free: 4.398 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.499e-05/0.04046, allocations: 11.88 kB / 452.9 MB, free: 4.387 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001712/0.04064, allocations: 107.8 kB / 453 MB, free: 4.281 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001476/0.04211, allocations: 1.517 MB / 454.5 MB, free: 2.762 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005861/0.04797, allocations: 5.951 MB / 460.4 MB, free: 12.79 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.187/0.235, allocations: 20.18 MB / 480.6 MB, free: 84.94 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0026/0.2376, allocations: 1.74 MB / 482.4 MB, free: 84.88 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005845/0.2382, allocations: 0.7388 MB / 483.1 MB, free: 84.72 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003411/0.2416, allocations: 3.424 MB / 486.5 MB, free: 83.49 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.2416, allocations: 41.41 kB / 486.6 MB, free: 83.45 MB / 442.7 MB Notification: Performance of pre-optimization done (n=96): time 3.276e-06/0.2416, allocations: 0 / 486.6 MB, free: 83.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=96): time 0.003112/0.2447, allocations: 2.393 MB / 489 MB, free: 82.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.2448, allocations: 62.03 kB / 489 MB, free: 82.79 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/0.2461, allocations: 2.043 MB / 491.1 MB, free: 82.04 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.2462, allocations: 36.83 kB / 491.1 MB, free: 82 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005116/0.2467, allocations: 2.086 MB / 493.2 MB, free: 80.64 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.2468, allocations: 390.5 kB / 493.6 MB, free: 80.36 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004283/0.2472, allocations: 0.6663 MB / 494.2 MB, free: 80.03 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.927e-05/0.2473, allocations: 350.1 kB / 494.6 MB, free: 79.71 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007732/0.2481, allocations: 0.9965 MB / 495.6 MB, free: 79.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001257/0.2493, allocations: 3 MB / 498.6 MB, free: 76.43 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002352/0.2517, allocations: 4.345 MB / 0.4911 GB, free: 72.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.848e-05/0.2517, allocations: 22.59 kB / 0.4912 GB, free: 72.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.003228/0.2549, allocations: 3.885 MB / 0.4949 GB, free: 71.31 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.206e-05/0.255, allocations: 38.31 kB / 0.495 GB, free: 71.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.708e-05/0.255, allocations: 75.16 kB / 0.4951 GB, free: 71.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.124e-05/0.2551, allocations: 93.47 kB / 0.4951 GB, free: 71.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.2563, allocations: 0.7277 MB / 0.4959 GB, free: 71.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.371e-05/0.2563, allocations: 136 kB / 0.496 GB, free: 71.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.2575, allocations: 461.4 kB / 0.4964 GB, free: 70.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002112/0.2577, allocations: 201.5 kB / 0.4966 GB, free: 70.87 MB / 442.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.001696/0.2594, allocations: 1.463 MB / 0.498 GB, free: 70.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.2595, allocations: 170.1 kB / 0.4982 GB, free: 70.09 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/0.2608, allocations: 1.233 MB / 0.4994 GB, free: 69.63 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/0.2608, allocations: 13.94 kB / 0.4994 GB, free: 69.63 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.2608, allocations: 1.25 kB / 0.4994 GB, free: 69.63 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.321e-06/0.2608, allocations: 3.469 kB / 0.4994 GB, free: 69.63 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004556/0.2654, allocations: 3.974 MB / 0.5033 GB, free: 67.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.76e-05/0.2654, allocations: 8.938 kB / 0.5033 GB, free: 67.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003492/0.2657, allocations: 140.6 kB / 0.5035 GB, free: 67.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.016e-05/0.2658, allocations: 14.16 kB / 0.5035 GB, free: 67.94 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.244e-05/0.2658, allocations: 39.5 kB / 0.5035 GB, free: 67.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.695e-05/0.2658, allocations: 16.66 kB / 0.5035 GB, free: 67.92 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.805e-05/0.2658, allocations: 16.59 kB / 0.5035 GB, free: 67.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/0.2673, allocations: 1.546 MB / 0.505 GB, free: 66.99 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001952/0.2675, allocations: 175.8 kB / 0.5052 GB, free: 66.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.2676, allocations: 31.17 kB / 0.5052 GB, free: 66.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003003/0.2679, allocations: 36.66 kB / 0.5053 GB, free: 66.85 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.268, allocations: 86.98 kB / 0.5054 GB, free: 66.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.045e-05/0.2681, allocations: 43.12 kB / 0.5054 GB, free: 66.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001107/0.2692, allocations: 1.173 MB / 0.5065 GB, free: 66.41 MB / 442.7 MB Notification: Performance of sort global known variables: time 3e-07/0.2692, allocations: 0 / 0.5065 GB, free: 66.41 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00191/0.2711, allocations: 0.8008 MB / 0.5073 GB, free: 66.14 MB / 442.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.0002796/0.2714, allocations: 150.2 kB / 0.5075 GB, free: 66.02 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001891/0.2733, allocations: 2.233 MB / 0.5097 GB, free: 65.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.2733, allocations: 3.75 kB / 0.5097 GB, free: 65.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003877/0.2736, allocations: 0.5229 MB / 0.5102 GB, free: 65.15 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006787/0.2743, allocations: 197.3 kB / 0.5104 GB, free: 65.06 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005209/0.2795, allocations: 6.121 MB / 0.5163 GB, free: 62.07 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001607/0.2811, allocations: 1.907 MB / 0.5182 GB, free: 61.52 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002466/0.2814, allocations: 154.3 kB / 0.5183 GB, free: 61.46 MB / 442.7 MB Notification: Performance of SimCode: time 9.62e-07/0.2814, allocations: 0 / 0.5183 GB, free: 61.46 MB / 442.7 MB Notification: Performance of Templates: time 0.02557/0.307, allocations: 33.53 MB / 0.5511 GB, free: 30.84 MB / 442.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: 6.48848728928715]