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.0009814/0.0009814, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001449/0.00243, allocations: 449.7 kB / 10.37 MB, free: 328 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.001005/0.001005, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001288/0.002293, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 0.9915/0.9915, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08609/1.078, allocations: 53.66 MB / 243.3 MB, free: 15.58 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.2656/0.2656, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02386/0.2895, allocations: 13.1 MB / 291.3 MB, free: 7.367 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.443e-06/1.443e-06, allocations: 0 / 292.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.646e-05/1.79e-05, allocations: 7.078 kB / 292.6 MB, free: 6.297 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01787/0.01789, allocations: 9.122 MB / 301.7 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008334/0.02623, allocations: 2.974 MB / 304.7 MB, free: 10.15 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003969/0.0302, allocations: 63.75 kB / 304.8 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005592/0.03579, allocations: 2.036 MB / 306.8 MB, free: 8.043 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002054/0.03784, allocations: 1.159 MB / 308 MB, free: 6.879 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005292/0.03837, allocations: 299.2 kB / 308.3 MB, free: 6.586 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005363/0.04373, allocations: 2.208 MB / 310.5 MB, free: 4.375 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004503/0.04824, allocations: 1.774 MB / 312.3 MB, free: 2.543 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.04931, allocations: 1.352 MB / 313.6 MB, free: 1.188 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008707/0.05018, allocations: 1.103 MB / 314.7 MB, free: 80 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001806/0.05036, allocations: 196 kB / 314.9 MB, free: 15.88 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007355/0.05109, allocations: 0.6552 MB / 315.6 MB, free: 15.23 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000602/0.0517, allocations: 1.064 MB / 316.6 MB, free: 14.16 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004773/0.05217, allocations: 0.5958 MB / 317.2 MB, free: 13.57 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001785/0.05396, allocations: 2.553 MB / 319.8 MB, free: 11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.571e-05/0.05397, allocations: 4 kB / 319.8 MB, free: 11 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.05398, allocations: 0 / 319.8 MB, free: 11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.235e-05/0.05403, allocations: 0 / 319.8 MB, free: 11 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.003118/0.05715, allocations: 3.241 MB / 323 MB, free: 7.703 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.05719, allocations: 12.03 kB / 323 MB, free: 7.691 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001789/0.05897, allocations: 0.7616 MB / 323.8 MB, free: 6.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.06013, allocations: 1.049 MB / 324.8 MB, free: 5.844 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.45e-05/0.0602, allocations: 144 kB / 325 MB, free: 5.703 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/0.06039, allocations: 184.3 kB / 325.2 MB, free: 5.523 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002727/0.06312, allocations: 2.837 MB / 328 MB, free: 2.414 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.19e-05/0.06315, allocations: 11.88 kB / 328 MB, free: 2.402 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/0.06329, allocations: 87.91 kB / 328.1 MB, free: 2.316 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004807/0.0681, allocations: 1.207 MB / 329.3 MB, free: 1.105 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005573/0.07367, allocations: 1.516 MB / 330.8 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01696/0.09063, allocations: 15.3 MB / 346.1 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001599/0.09223, allocations: 0.8598 MB / 347 MB, free: 14.81 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.09243, allocations: 160.5 kB / 347.1 MB, free: 14.65 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002664/0.0951, allocations: 2.181 MB / 349.3 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.09512, allocations: 43.05 kB / 349.4 MB, free: 12.39 MB / 346.7 MB Notification: Performance of pre-optimization done (n=78): time 3.527e-06/0.09513, allocations: 0 / 349.4 MB, free: 12.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=78): time 0.002153/0.09728, allocations: 1.074 MB / 350.4 MB, free: 11.31 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.09731, allocations: 55.91 kB / 350.5 MB, free: 11.24 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009342/0.09825, allocations: 1.424 MB / 351.9 MB, free: 9.809 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.09828, allocations: 33.7 kB / 351.9 MB, free: 9.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007041/0.09898, allocations: 1.842 MB / 353.8 MB, free: 7.906 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.09913, allocations: 321.5 kB / 354.1 MB, free: 7.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004103/0.09954, allocations: 0.5762 MB / 354.7 MB, free: 7.004 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.141e-05/0.09963, allocations: 349.8 kB / 355 MB, free: 6.656 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003087/0.09994, allocations: 314.2 kB / 355.3 MB, free: 6.344 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/0.101, allocations: 2.091 MB / 357.4 MB, free: 3.316 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001696/0.1027, allocations: 2.746 MB / 360.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.986e-05/0.1027, allocations: 20 kB / 360.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.001836/0.1046, allocations: 1.964 MB / 362.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.638e-05/0.1046, allocations: 32 kB / 362.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.486e-05/0.1046, allocations: 68 kB / 362.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.745e-05/0.1047, allocations: 84 kB / 362.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.1058, allocations: 0.7097 MB / 363 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.768e-05/0.1059, allocations: 131.5 kB / 363.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009215/0.1068, allocations: 417.3 kB / 363.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/0.1069, allocations: 156 kB / 363.7 MB, free: 12.07 MB / 362.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.0006449/0.1076, allocations: 369.6 kB / 364.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.765e-05/0.1077, allocations: 91.91 kB / 364.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001477/0.1078, allocations: 160 kB / 364.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.1078, allocations: 8 kB / 364.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1078, allocations: 0 / 364.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1078, allocations: 8 kB / 364.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002249/0.1101, allocations: 2.249 MB / 366.6 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.1101, allocations: 8 kB / 366.6 MB, free: 9.047 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.1103, allocations: 103.8 kB / 366.7 MB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.1104, allocations: 150.7 kB / 366.8 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/0.1104, allocations: 11.98 kB / 366.9 MB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.1104, allocations: 19.98 kB / 366.9 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.018e-05/0.1105, allocations: 16.41 kB / 366.9 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.1105, allocations: 15.94 kB / 366.9 MB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004688/0.1109, allocations: 0.6449 MB / 367.6 MB, free: 7.996 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.039e-05/0.111, allocations: 19.98 kB / 367.6 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.1112, allocations: 16 kB / 367.6 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/0.1113, allocations: 63.67 kB / 367.7 MB, free: 7.898 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.242e-05/0.1113, allocations: 28 kB / 367.7 MB, free: 7.871 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004085/0.1117, allocations: 0.5526 MB / 368.2 MB, free: 7.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1117, allocations: 0 / 368.2 MB, free: 7.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001551/0.1133, allocations: 0.7045 MB / 368.9 MB, free: 6.613 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.000229/0.1135, allocations: 124.2 kB / 369.1 MB, free: 6.484 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.1145, allocations: 1.104 MB / 370.2 MB, free: 5.383 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.791e-05/0.1146, allocations: 56.86 kB / 370.2 MB, free: 5.316 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.1148, allocations: 171.4 kB / 370.4 MB, free: 5.148 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006342/0.1154, allocations: 294.1 kB / 370.7 MB, free: 4.871 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005164/0.1206, allocations: 4.615 MB / 375.3 MB, free: 120 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005816/0.1212, allocations: 0.7502 MB / 376 MB, free: 15.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005288/0.1217, allocations: 246.6 kB / 376.3 MB, free: 15.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/0.122, allocations: 283.2 kB / 376.6 MB, free: 14.82 MB / 378.7 MB Notification: Performance of SimCode: time 1.483e-06/0.122, allocations: 0 / 376.6 MB, free: 14.82 MB / 378.7 MB Notification: Performance of Templates: time 0.02079/0.1428, allocations: 12.59 MB / 389.1 MB, free: 2.395 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1656860085204244]