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.00126/0.00126, allocations: 87.58 kB / 21.19 MB, free: 3.375 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.001469/0.001469, allocations: 161 kB / 24.55 MB, free: 12 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 0.9115/0.9115, allocations: 177.1 MB / 205 MB, free: 5.586 MB / 186.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.2384/0.2384, allocations: 34.26 MB / 295.7 MB, free: 0.6797 MB / 266.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.322e-06/1.322e-06, allocations: 0 / 378 MB, free: 2.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.37e-05/1.502e-05, allocations: 5.688 kB / 378 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.007947/0.007962, allocations: 9.239 MB / 387.3 MB, free: 9.344 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004251/0.01221, allocations: 2.872 MB / 390.1 MB, free: 6.465 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006016/0.01281, allocations: 55.81 kB / 390.2 MB, free: 6.41 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002184/0.015, allocations: 2.142 MB / 392.3 MB, free: 4.262 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.01663, allocations: 1.182 MB / 393.5 MB, free: 3.074 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007501/0.01738, allocations: 315.2 kB / 393.8 MB, free: 2.766 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001691/0.01907, allocations: 2.364 MB / 396.2 MB, free: 404 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001391/0.02046, allocations: 1.789 MB / 398 MB, free: 14.56 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008757/0.02134, allocations: 1.298 MB / 399.3 MB, free: 13.26 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000986/0.02232, allocations: 1.177 MB / 400.5 MB, free: 12.08 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002018/0.02252, allocations: 196 kB / 400.6 MB, free: 11.89 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001232/0.02376, allocations: 0.6396 MB / 401.3 MB, free: 11.25 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006614/0.02442, allocations: 1.184 MB / 402.5 MB, free: 10.06 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005054/0.02492, allocations: 0.7241 MB / 403.2 MB, free: 9.332 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001917/0.02684, allocations: 2.72 MB / 405.9 MB, free: 6.602 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.02684, allocations: 4 kB / 405.9 MB, free: 6.598 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.02684, allocations: 0 / 405.9 MB, free: 6.598 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.75e-05/0.02687, allocations: 0 / 405.9 MB, free: 6.598 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.003007/0.02988, allocations: 3.134 MB / 409 MB, free: 3.414 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.02992, allocations: 8.031 kB / 409.1 MB, free: 3.406 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002839/0.03276, allocations: 1.879 MB / 410.9 MB, free: 1.523 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.03396, allocations: 1.247 MB / 412.2 MB, free: 248 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.657e-05/0.03403, allocations: 148 kB / 412.3 MB, free: 100 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001929/0.03422, allocations: 184.3 kB / 412.5 MB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003608/0.03783, allocations: 3.321 MB / 415.8 MB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.176e-05/0.03786, allocations: 15.88 kB / 415.8 MB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001463/0.03801, allocations: 95.84 kB / 415.9 MB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001122/0.03913, allocations: 1.344 MB / 417.3 MB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002901/0.04203, allocations: 1.794 MB / 419.1 MB, free: 8.953 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01311/0.05514, allocations: 20.61 MB / 439.7 MB, free: 3.688 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/0.05695, allocations: 0.885 MB / 440.6 MB, free: 2.773 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003075/0.05726, allocations: 228.1 kB / 440.8 MB, free: 2.543 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1471/0.2044, allocations: 2.577 MB / 443.4 MB, free: 93.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.2044, allocations: 42.73 kB / 443.4 MB, free: 93.87 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 3.226e-06/0.2044, allocations: 1.859 kB / 443.4 MB, free: 93.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.003719/0.2082, allocations: 1.291 MB / 444.7 MB, free: 93.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.2082, allocations: 57.72 kB / 444.8 MB, free: 93.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001762/0.2099, allocations: 1.799 MB / 446.6 MB, free: 93.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.21, allocations: 33.14 kB / 446.6 MB, free: 93.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007394/0.2107, allocations: 2.015 MB / 448.6 MB, free: 92.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000176/0.2109, allocations: 338 kB / 448.9 MB, free: 92.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004323/0.2113, allocations: 0.6721 MB / 449.6 MB, free: 92.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.966e-05/0.2114, allocations: 0.5213 MB / 450.1 MB, free: 91.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003784/0.2118, allocations: 293.5 kB / 450.4 MB, free: 91.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009747/0.2128, allocations: 3.053 MB / 453.5 MB, free: 88.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001828/0.2146, allocations: 3.687 MB / 457.2 MB, free: 84.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.692e-05/0.2146, allocations: 17.28 kB / 457.2 MB, free: 84.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002251/0.2169, allocations: 2.501 MB / 459.7 MB, free: 84.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.2169, allocations: 32.44 kB / 459.7 MB, free: 84.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.253e-05/0.2169, allocations: 64.97 kB / 459.8 MB, free: 84.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.653e-05/0.217, allocations: 87.78 kB / 459.9 MB, free: 84.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009718/0.218, allocations: 0.6534 MB / 460.5 MB, free: 84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.333e-05/0.218, allocations: 131.6 kB / 460.6 MB, free: 83.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008644/0.2189, allocations: 412.5 kB / 461 MB, free: 83.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/0.219, allocations: 194.5 kB / 461.2 MB, free: 83.77 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.0005387/0.2196, allocations: 415 kB / 461.6 MB, free: 83.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.2197, allocations: 176 kB / 461.8 MB, free: 83.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.2198, allocations: 158.4 kB / 462 MB, free: 83.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.2198, allocations: 8.875 kB / 462 MB, free: 83.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.2198, allocations: 0 / 462 MB, free: 83.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.2198, allocations: 3.281 kB / 462 MB, free: 83.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00254/0.2223, allocations: 2.858 MB / 464.8 MB, free: 82.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.2223, allocations: 6.438 kB / 464.8 MB, free: 82.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/0.2225, allocations: 103.6 kB / 464.9 MB, free: 82.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-06/0.2225, allocations: 9.719 kB / 465 MB, free: 82.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.2226, allocations: 20.88 kB / 465 MB, free: 82.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.2226, allocations: 20.61 kB / 465 MB, free: 82.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.2226, allocations: 11.94 kB / 465 MB, free: 82.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005103/0.2231, allocations: 0.8991 MB / 465.9 MB, free: 81.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.788e-05/0.2232, allocations: 149.9 kB / 466.1 MB, free: 81.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.087e-05/0.2233, allocations: 23.5 kB / 466.1 MB, free: 81.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.2235, allocations: 31.23 kB / 466.1 MB, free: 81.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.626e-05/0.2235, allocations: 56.61 kB / 466.2 MB, free: 81.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.2236, allocations: 30.16 kB / 466.2 MB, free: 81.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005554/0.2241, allocations: 0.7817 MB / 467 MB, free: 80.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2241, allocations: 0 / 467 MB, free: 80.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001263/0.2254, allocations: 0.7043 MB / 467.7 MB, free: 80.66 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.0001934/0.2256, allocations: 144.8 kB / 467.8 MB, free: 80.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001068/0.2266, allocations: 1.259 MB / 469.1 MB, free: 80.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.2266, allocations: 3.281 kB / 469.1 MB, free: 80.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001759/0.2268, allocations: 213.7 kB / 469.3 MB, free: 80.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005952/0.2274, allocations: 195 kB / 469.5 MB, free: 79.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00391/0.2313, allocations: 4.39 MB / 473.9 MB, free: 77.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005141/0.2318, allocations: 0.7623 MB / 474.6 MB, free: 77.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009835/0.2328, allocations: 0.8049 MB / 475.4 MB, free: 77.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.233, allocations: 116.6 kB / 475.5 MB, free: 77.21 MB / 410.7 MB Notification: Performance of SimCode: time 1.502e-06/0.233, allocations: 3.062 kB / 475.6 MB, free: 77.21 MB / 410.7 MB Notification: Performance of Templates: time 0.02043/0.2534, allocations: 12.04 MB / 487.6 MB, free: 75.87 MB / 410.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 -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.415515763219446]