Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001034/0.001034, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001322/0.002357, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001089/0.001089, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001236/0.002325, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.988/0.988, allocations: 177.5 MB / 190 MB, free: 4.773 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0994/1.087, allocations: 53.87 MB / 243.9 MB, free: 14.83 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2801/0.2801, allocations: 34.88 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02375/0.3038, allocations: 13.24 MB / 292.8 MB, free: 6.367 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 294.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.902e-05/2.065e-05, allocations: 3.516 kB / 294.1 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.002789/0.00281, allocations: 2.435 MB / 296.5 MB, free: 2.629 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.004215, allocations: 0.912 MB / 297.4 MB, free: 1.711 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.004336, allocations: 7.938 kB / 297.4 MB, free: 1.703 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002114/0.004547, allocations: 51.52 kB / 297.5 MB, free: 1.652 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.004681, allocations: 79.33 kB / 297.6 MB, free: 1.574 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.004979, allocations: 159.4 kB / 297.7 MB, free: 1.418 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002923/0.005271, allocations: 355.2 kB / 298.1 MB, free: 1.07 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.005408, allocations: 59.08 kB / 298.1 MB, free: 1.012 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003223/0.00573, allocations: 235.4 kB / 298.4 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.00593, allocations: 131.7 kB / 298.5 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.568e-05/0.005966, allocations: 24 kB / 298.5 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.006109, allocations: 91.84 kB / 298.6 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.588e-05/0.006195, allocations: 51.81 kB / 298.6 MB, free: 500 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.015e-05/0.006265, allocations: 75.88 kB / 298.7 MB, free: 424 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003134/0.006578, allocations: 263.1 kB / 299 MB, free: 160 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.434e-05/0.006592, allocations: 4 kB / 299 MB, free: 156 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.006594, allocations: 0 / 299 MB, free: 156 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.006604, allocations: 0 / 299 MB, free: 156 kB / 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.0007583/0.007363, allocations: 0.528 MB / 299.5 MB, free: 15.6 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.007405, allocations: 16.91 kB / 299.5 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001945/0.007599, allocations: 114 kB / 299.6 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.007829, allocations: 182.1 kB / 299.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/0.007854, allocations: 16.88 kB / 299.8 MB, free: 15.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.038e-05/0.007894, allocations: 32.34 kB / 299.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002494/0.008143, allocations: 205.2 kB / 300.1 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.008155, allocations: 192 / 300.1 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.008174, allocations: 12.38 kB / 300.1 MB, free: 14.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.008182, allocations: 7.938 kB / 300.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.008333, allocations: 105.4 kB / 300.2 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006402/0.008973, allocations: 440.8 kB / 300.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002345/0.009208, allocations: 160.7 kB / 300.8 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.08e-05/0.009289, allocations: 65.45 kB / 300.8 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.00931, allocations: 4 kB / 300.8 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.00933, allocations: 38.56 kB / 300.9 MB, free: 14.15 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.412e-06/0.009332, allocations: 0 / 300.9 MB, free: 14.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.001385/0.01072, allocations: 0.903 MB / 301.8 MB, free: 13.19 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.01075, allocations: 55.41 kB / 301.8 MB, free: 13.12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.01086, allocations: 176.5 kB / 302 MB, free: 12.94 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.01089, allocations: 37.7 kB / 302 MB, free: 12.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.295e-05/0.01094, allocations: 136.7 kB / 302.2 MB, free: 12.76 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.01e-05/0.011, allocations: 122.9 kB / 302.3 MB, free: 12.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.241e-05/0.01107, allocations: 73.55 kB / 302.4 MB, free: 12.56 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.007e-05/0.01115, allocations: 334.8 kB / 302.7 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.911e-05/0.01122, allocations: 51.97 kB / 302.8 MB, free: 12.17 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.464e-05/0.01131, allocations: 86.78 kB / 302.8 MB, free: 12.08 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.01145, allocations: 149.8 kB / 303 MB, free: 11.92 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.01145, allocations: 0 / 303 MB, free: 11.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002986/0.01175, allocations: 253.9 kB / 303.2 MB, free: 11.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.01177, allocations: 6.812 kB / 303.2 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.01177, allocations: 0 / 303.2 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002319/0.012, allocations: 151.6 kB / 303.4 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.01216, allocations: 63.95 kB / 303.4 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003518/0.01251, allocations: 0.6163 MB / 304.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.395e-05/0.0126, allocations: 32.06 kB / 304.1 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.01262, allocations: 4 kB / 304.1 MB, free: 10.77 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 9.706e-05/0.01271, allocations: 137.3 kB / 304.2 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.01275, allocations: 23.98 kB / 304.3 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.497e-05/0.0128, allocations: 38.59 kB / 304.3 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.0128, allocations: 3.984 kB / 304.3 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.0128, allocations: 4 kB / 304.3 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.0128, allocations: 0 / 304.3 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000655/0.01346, allocations: 0.5347 MB / 304.8 MB, free: 9.977 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.01346, allocations: 3.938 kB / 304.8 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.0136, allocations: 55.95 kB / 304.9 MB, free: 9.918 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.889e-05/0.01366, allocations: 35.83 kB / 304.9 MB, free: 9.883 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001711/0.01383, allocations: 140.6 kB / 305.1 MB, free: 9.742 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.01385, allocations: 15.98 kB / 305.1 MB, free: 9.727 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002799/0.01413, allocations: 0.588 MB / 305.7 MB, free: 9.109 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.01413, allocations: 8 kB / 305.7 MB, free: 9.102 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003564/0.01449, allocations: 369.8 kB / 306 MB, free: 8.719 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.01453, allocations: 12 kB / 306.1 MB, free: 8.707 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.393e-05/0.01462, allocations: 31.91 kB / 306.1 MB, free: 8.676 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.234e-05/0.01469, allocations: 43.91 kB / 306.1 MB, free: 8.633 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.01471, allocations: 11.98 kB / 306.1 MB, free: 8.621 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.008e-05/0.01475, allocations: 49.02 kB / 306.2 MB, free: 8.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01475, allocations: 0 / 306.2 MB, free: 8.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001868/0.01493, allocations: 75.94 kB / 306.3 MB, free: 8.496 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.0009938/0.01593, allocations: 488.8 kB / 306.7 MB, free: 8.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002722/0.0162, allocations: 197.2 kB / 306.9 MB, free: 8.074 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.737e-06/0.01621, allocations: 0 / 306.9 MB, free: 8.074 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.01634, allocations: 113.6 kB / 307 MB, free: 7.961 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.01661, allocations: 257.2 kB / 307.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00297/0.01958, allocations: 0.6294 MB / 307.9 MB, free: 7.008 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.861e-05/0.01964, allocations: 93.05 kB / 308 MB, free: 6.895 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.451e-05/0.0197, allocations: 18.3 kB / 308 MB, free: 6.879 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.814e-05/0.0198, allocations: 79.36 kB / 308.1 MB, free: 6.801 MB / 298.7 MB Notification: Performance of SimCode: time 1.392e-06/0.0198, allocations: 4 kB / 308.1 MB, free: 6.797 MB / 298.7 MB Notification: Performance of Templates: time 0.00635/0.02615, allocations: 4.864 MB / 313 MB, free: 1.977 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/SupportTorque1/SupportTorque1.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0708049004897475]