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.001781/0.001781, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002404/0.002404, allocations: 161.6 kB / 24.27 MB, free: 172 kB / 18.57 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.55/1.55, allocations: 177.2 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3546/0.3546, allocations: 32.8 MB / 293.9 MB, free: 1.23 MB / 266.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.3.|cutTorque.torque.2.|cutTorque.torque.1.",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.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.758e-06/4.758e-06, allocations: 4 kB / 375.3 MB, free: 5.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.496e-05/3.971e-05, allocations: 6.25 kB / 375.3 MB, free: 5.012 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01269/0.01273, allocations: 8.416 MB / 383.7 MB, free: 12.55 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006584/0.01932, allocations: 2.791 MB / 386.5 MB, free: 9.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/0.02058, allocations: 55.81 kB / 386.5 MB, free: 9.695 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00471/0.02529, allocations: 2.064 MB / 388.6 MB, free: 7.625 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003436/0.02873, allocations: 1.186 MB / 389.8 MB, free: 6.434 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008533/0.02958, allocations: 315.2 kB / 390.1 MB, free: 6.125 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003777/0.03336, allocations: 2.367 MB / 392.4 MB, free: 3.754 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002888/0.03624, allocations: 1.793 MB / 394.2 MB, free: 1.918 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002467/0.03871, allocations: 1.294 MB / 395.5 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002393/0.0411, allocations: 1.13 MB / 396.7 MB, free: 15.49 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005434/0.04165, allocations: 196 kB / 396.9 MB, free: 15.3 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001528/0.04317, allocations: 0.6435 MB / 397.5 MB, free: 14.65 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001611/0.04479, allocations: 1.18 MB / 398.7 MB, free: 13.47 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001262/0.04605, allocations: 0.7124 MB / 399.4 MB, free: 12.75 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006344/0.05239, allocations: 4.279 MB / 403.7 MB, free: 8.461 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/0.0524, allocations: 0 / 403.7 MB, free: 8.461 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.697e-06/0.05241, allocations: 0 / 403.7 MB, free: 8.461 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002241/0.05263, allocations: 4 kB / 403.7 MB, free: 8.457 MB / 378.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.007664/0.06029, allocations: 2.843 MB / 406.5 MB, free: 5.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.06034, allocations: 8.031 kB / 406.5 MB, free: 5.562 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005905/0.06625, allocations: 1.926 MB / 408.5 MB, free: 3.633 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00295/0.0692, allocations: 1.282 MB / 409.7 MB, free: 2.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.06935, allocations: 144 kB / 409.9 MB, free: 2.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000401/0.06975, allocations: 184.3 kB / 410.1 MB, free: 2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01137/0.08112, allocations: 6.262 MB / 416.3 MB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-05/0.08117, allocations: 23.8 kB / 416.3 MB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002701/0.08144, allocations: 91.91 kB / 416.4 MB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002435/0.08388, allocations: 1.34 MB / 417.8 MB, free: 10 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01086/0.09474, allocations: 5.328 MB / 423.1 MB, free: 4.66 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02935/0.1241, allocations: 18.41 MB / 441.5 MB, free: 1.699 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004456/0.1285, allocations: 1.57 MB / 443.1 MB, free: 116 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1742/0.3027, allocations: 0.6388 MB / 443.7 MB, free: 101.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005857/0.3086, allocations: 3.102 MB / 446.8 MB, free: 101 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.3086, allocations: 45.03 kB / 446.9 MB, free: 101 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 4.168e-06/0.3086, allocations: 3.172 kB / 446.9 MB, free: 101 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.005028/0.3137, allocations: 2.137 MB / 449 MB, free: 100.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.3137, allocations: 55.81 kB / 449.1 MB, free: 100.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00236/0.3161, allocations: 1.934 MB / 451 MB, free: 99.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.591e-05/0.3161, allocations: 39.42 kB / 451 MB, free: 99.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008175/0.3169, allocations: 1.898 MB / 452.9 MB, free: 98.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/0.3171, allocations: 330.5 kB / 453.3 MB, free: 98.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005893/0.3177, allocations: 0.6077 MB / 453.9 MB, free: 98.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.058e-05/0.3178, allocations: 348 kB / 454.2 MB, free: 97.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009471/0.3187, allocations: 0.8855 MB / 455.1 MB, free: 97.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001777/0.3205, allocations: 2.751 MB / 457.8 MB, free: 94.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003113/0.3236, allocations: 3.968 MB / 461.8 MB, free: 91.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.208e-05/0.3236, allocations: 22.36 kB / 461.8 MB, free: 91.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.004595/0.3282, allocations: 3.682 MB / 465.5 MB, free: 89.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.681e-05/0.3283, allocations: 36.72 kB / 465.5 MB, free: 89.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-05/0.3283, allocations: 63.91 kB / 465.6 MB, free: 89.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.848e-05/0.3284, allocations: 90.62 kB / 465.7 MB, free: 89.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/0.3301, allocations: 0.6526 MB / 466.4 MB, free: 89.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-05/0.3302, allocations: 137 kB / 466.5 MB, free: 89.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/0.332, allocations: 410.9 kB / 466.9 MB, free: 89.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002204/0.3322, allocations: 192.2 kB / 467.1 MB, free: 89.47 MB / 410.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.001557/0.3337, allocations: 1.333 MB / 468.4 MB, free: 88.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/0.334, allocations: 176.7 kB / 468.6 MB, free: 88.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002717/0.3342, allocations: 189.9 kB / 468.8 MB, free: 88.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/0.3342, allocations: 13 kB / 468.8 MB, free: 88.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.3343, allocations: 6.906 kB / 468.8 MB, free: 88.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.3343, allocations: 3.375 kB / 468.8 MB, free: 88.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004377/0.3386, allocations: 3.082 MB / 471.9 MB, free: 87.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/0.3387, allocations: 9.453 kB / 471.9 MB, free: 87.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003714/0.339, allocations: 106.4 kB / 472 MB, free: 87.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-05/0.339, allocations: 9.531 kB / 472 MB, free: 87.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.21e-05/0.3391, allocations: 25.31 kB / 472 MB, free: 87.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.628e-06/0.3391, allocations: 16.5 kB / 472 MB, free: 87.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.3391, allocations: 5.812 kB / 472 MB, free: 87.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.3402, allocations: 1.256 MB / 473.3 MB, free: 86.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002514/0.3405, allocations: 155.9 kB / 473.4 MB, free: 86.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/0.3406, allocations: 23 kB / 473.5 MB, free: 86.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004158/0.341, allocations: 27.03 kB / 473.5 MB, free: 86.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.037e-05/0.3411, allocations: 60.94 kB / 473.6 MB, free: 86.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.717e-05/0.3412, allocations: 29.19 kB / 473.6 MB, free: 86.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001321/0.3425, allocations: 1.115 MB / 474.7 MB, free: 86.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3425, allocations: 1.156 kB / 474.7 MB, free: 86.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002611/0.3451, allocations: 0.7107 MB / 475.4 MB, free: 85.84 MB / 410.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.0003056/0.3454, allocations: 136.4 kB / 475.5 MB, free: 85.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002873/0.3483, allocations: 1.954 MB / 477.5 MB, free: 85.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.3483, allocations: 5.438 kB / 477.5 MB, free: 85.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000523/0.3488, allocations: 436.6 kB / 477.9 MB, free: 84.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.35, allocations: 193.3 kB / 478.1 MB, free: 84.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007675/0.3577, allocations: 5.166 MB / 483.3 MB, free: 82.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001883/0.3596, allocations: 1.711 MB / 485 MB, free: 81.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001755/0.3613, allocations: 0.942 MB / 485.9 MB, free: 81.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/0.3615, allocations: 114 kB / 486 MB, free: 81.82 MB / 410.7 MB Notification: Performance of SimCode: time 1.193e-06/0.3615, allocations: 0 / 486 MB, free: 81.82 MB / 410.7 MB Notification: Performance of Templates: time 0.02165/0.3832, allocations: 11.64 MB / 497.7 MB, free: 77.05 MB / 410.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.456800515996292]