Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.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.0009192/0.0009192, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001187/0.002107, 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.0007274/0.0007274, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009436/0.001671, 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 1.091/1.091, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1625/1.253, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.3436/0.3436, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03824/0.3818, allocations: 12.53 MB / 289.3 MB, free: 8.676 MB / 282.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.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 3.938 kB / 290.6 MB, free: 7.664 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.502e-05/3.692e-05, allocations: 3.078 kB / 290.6 MB, free: 7.66 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.003961/0.003998, allocations: 2.442 MB / 293 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.005715, allocations: 0.905 MB / 293.9 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.005874, allocations: 4 kB / 293.9 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002787/0.006153, allocations: 51.52 kB / 294 MB, free: 4.91 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.006326, allocations: 87.33 kB / 294.1 MB, free: 4.824 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000332/0.006658, allocations: 151.5 kB / 294.2 MB, free: 4.676 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003585/0.007017, allocations: 359.2 kB / 294.6 MB, free: 4.324 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/0.007205, allocations: 55.09 kB / 294.6 MB, free: 4.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003964/0.007602, allocations: 239.4 kB / 294.9 MB, free: 4.035 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002518/0.007853, allocations: 131.7 kB / 295 MB, free: 3.906 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.971e-05/0.007903, allocations: 32 kB / 295 MB, free: 3.875 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002002/0.008103, allocations: 79.92 kB / 295.1 MB, free: 3.797 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.00822, allocations: 59.78 kB / 295.2 MB, free: 3.738 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.123e-05/0.008312, allocations: 75.88 kB / 295.2 MB, free: 3.664 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000426/0.008738, allocations: 263 kB / 295.5 MB, free: 3.406 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-05/0.008777, allocations: 4 kB / 295.5 MB, free: 3.402 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.00878, allocations: 0 / 295.5 MB, free: 3.402 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.542e-05/0.008805, allocations: 0 / 295.5 MB, free: 3.402 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0008655/0.009671, allocations: 0.5275 MB / 296 MB, free: 2.852 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/0.009728, allocations: 12.03 kB / 296 MB, free: 2.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002077/0.009935, allocations: 118 kB / 296.1 MB, free: 2.707 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.0102, allocations: 182 kB / 296.3 MB, free: 2.504 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.25e-05/0.01024, allocations: 12.88 kB / 296.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.217e-05/0.01028, allocations: 24.38 kB / 296.4 MB, free: 2.469 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.01059, allocations: 205.2 kB / 296.6 MB, free: 2.258 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.01061, allocations: 4.188 kB / 296.6 MB, free: 2.254 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.01063, allocations: 12.38 kB / 296.6 MB, free: 2.242 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.01064, allocations: 7.938 kB / 296.6 MB, free: 2.234 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.01083, allocations: 97.42 kB / 296.7 MB, free: 2.141 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008283/0.01165, allocations: 445.5 kB / 297.1 MB, free: 1.688 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/0.01198, allocations: 158.4 kB / 297.3 MB, free: 1.523 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.719e-05/0.01207, allocations: 65.48 kB / 297.3 MB, free: 1.457 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.01209, allocations: 4 kB / 297.3 MB, free: 1.453 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.01212, allocations: 38.56 kB / 297.4 MB, free: 1.406 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 2.495e-06/0.01212, allocations: 3.938 kB / 297.4 MB, free: 1.402 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.001788/0.01391, allocations: 0.873 MB / 298.3 MB, free: 488 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.01396, allocations: 55.41 kB / 298.3 MB, free: 420 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.01411, allocations: 180.2 kB / 298.5 MB, free: 224 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.01415, allocations: 29.7 kB / 298.5 MB, free: 188 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.447e-05/0.01422, allocations: 144.7 kB / 298.7 MB, free: 40 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.01432, allocations: 127.1 kB / 298.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.535e-05/0.01441, allocations: 69.61 kB / 298.8 MB, free: 15.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.01453, allocations: 330.8 kB / 299.2 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.386e-05/0.0146, allocations: 43.98 kB / 299.2 MB, free: 15.46 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.01471, allocations: 87.38 kB / 299.3 MB, free: 15.36 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.01486, allocations: 155.3 kB / 299.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.01486, allocations: 4 kB / 299.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003427/0.01521, allocations: 237.9 kB / 299.7 MB, free: 14.96 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.01523, allocations: 8 kB / 299.7 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.01523, allocations: 0 / 299.7 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002877/0.01552, allocations: 155.5 kB / 299.8 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.01572, allocations: 63.2 kB / 299.9 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004879/0.01621, allocations: 0.6163 MB / 300.5 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.01631, allocations: 27.97 kB / 300.6 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.01633, allocations: 11.98 kB / 300.6 MB, free: 14.05 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (bearingFriction1.mode,$PRE.bearingFriction1.mode,bearingFriction1.locked,bearingFriction1.startBackward,$PRE.bearingFriction1.startBackward,bearingFriction1.startForward,$PRE.bearingFriction1.startForward,bearingFriction1.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,13)} Notification: Performance of prepare postOptimizeDAE: time 0.000124/0.01646, allocations: 132.9 kB / 300.7 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.875e-05/0.0165, allocations: 24.02 kB / 300.7 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.488e-05/0.01656, allocations: 42.58 kB / 300.8 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.01657, allocations: 4 kB / 300.8 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.01657, allocations: 0 / 300.8 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.01658, allocations: 0 / 300.8 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007566/0.01734, allocations: 0.5477 MB / 301.3 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.01734, allocations: 12.09 kB / 301.3 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.01751, allocations: 63.89 kB / 301.4 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.551e-05/0.01759, allocations: 31.83 kB / 301.4 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000218/0.01781, allocations: 133.3 kB / 301.5 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.01782, allocations: 7.984 kB / 301.6 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003723/0.0182, allocations: 0.6007 MB / 302.2 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.0182, allocations: 3.938 kB / 302.2 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004073/0.01861, allocations: 367.8 kB / 302.5 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.01864, allocations: 15.94 kB / 302.5 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.657e-05/0.01874, allocations: 23.97 kB / 302.6 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.5e-05/0.01883, allocations: 47.89 kB / 302.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.01885, allocations: 12.06 kB / 302.6 MB, free: 11.9 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.598e-05/0.01889, allocations: 45.31 kB / 302.7 MB, free: 11.86 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.0189, allocations: 0 / 302.7 MB, free: 11.86 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002259/0.01912, allocations: 79.92 kB / 302.7 MB, free: 11.78 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (inertia3.phi,inertia3.w) * Number of discrete variables: 4 (bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction1.locked,bearingFriction1.mode) * Number of discrete states: 3 (bearingFriction1.mode,bearingFriction1.startBackward,bearingFriction1.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001364/0.02049, allocations: 492.4 kB / 303.2 MB, free: 11.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003324/0.02082, allocations: 184.2 kB / 303.4 MB, free: 11.37 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.307e-05/0.02083, allocations: 4 kB / 303.4 MB, free: 11.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.02096, allocations: 104.7 kB / 303.5 MB, free: 11.26 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.02122, allocations: 69.02 kB / 303.6 MB, free: 11.19 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003289/0.02451, allocations: 0.6284 MB / 304.2 MB, free: 10.53 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.428e-05/0.02458, allocations: 85.06 kB / 304.3 MB, free: 10.43 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.305e-05/0.02466, allocations: 38.38 kB / 304.3 MB, free: 10.39 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.02477, allocations: 83.36 kB / 304.4 MB, free: 10.31 MB / 298.7 MB Notification: Performance of SimCode: time 2.214e-06/0.02478, allocations: 0 / 304.4 MB, free: 10.31 MB / 298.7 MB Notification: Performance of Templates: time 0.008438/0.03321, allocations: 4.843 MB / 309.2 MB, free: 5.512 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/SupportTorque1/SupportTorque1.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.5430008182302117]