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.001017/0.001017, allocations: 88.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.00125/0.00125, allocations: 164 kB / 24.91 MB, free: 8.715 MB / 18.57 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.9688/0.9688, allocations: 177 MB / 205.2 MB, free: 5.008 MB / 186.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.2793/0.2793, allocations: 34.85 MB / 296.6 MB, free: 412 kB / 266.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 2.244e-06/2.244e-06, allocations: 0 / 325.9 MB, free: 7.141 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.865e-05/3.09e-05, allocations: 6.547 kB / 325.9 MB, free: 7.137 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004304/0.004335, allocations: 2.425 MB / 328.4 MB, free: 4.699 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.006008, allocations: 0.9081 MB / 329.3 MB, free: 3.785 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.006142, allocations: 4 kB / 329.3 MB, free: 3.781 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003/0.006442, allocations: 47.58 kB / 329.3 MB, free: 3.734 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002353/0.006677, allocations: 87.27 kB / 329.4 MB, free: 3.648 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003889/0.007066, allocations: 151.5 kB / 329.6 MB, free: 3.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003794/0.007445, allocations: 355.9 kB / 329.9 MB, free: 3.152 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000199/0.007644, allocations: 67.08 kB / 330 MB, free: 3.086 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003939/0.008038, allocations: 215.5 kB / 330.2 MB, free: 2.875 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002512/0.00829, allocations: 131.7 kB / 330.3 MB, free: 2.746 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.167e-05/0.008341, allocations: 28 kB / 330.3 MB, free: 2.719 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002039/0.008545, allocations: 91.8 kB / 330.4 MB, free: 2.629 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.008667, allocations: 79.72 kB / 330.5 MB, free: 2.551 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.008778, allocations: 95.81 kB / 330.6 MB, free: 2.457 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004233/0.009201, allocations: 291 kB / 330.9 MB, free: 2.172 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.009205, allocations: 0 / 330.9 MB, free: 2.172 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.009206, allocations: 4 kB / 330.9 MB, free: 2.168 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.009211, allocations: 7.938 kB / 330.9 MB, free: 2.16 MB / 298.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.0007419/0.009953, allocations: 481.2 kB / 331.4 MB, free: 1.668 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.009989, allocations: 12.03 kB / 331.4 MB, free: 1.656 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001792/0.01017, allocations: 48.89 kB / 331.4 MB, free: 1.609 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.01045, allocations: 178.1 kB / 331.6 MB, free: 1.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/0.01048, allocations: 16.88 kB / 331.6 MB, free: 1.395 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.377e-05/0.01052, allocations: 28.31 kB / 331.6 MB, free: 1.367 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.01088, allocations: 205.2 kB / 331.8 MB, free: 1.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.01089, allocations: 192 / 331.8 MB, free: 1.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.537e-05/0.01092, allocations: 8.375 kB / 331.8 MB, free: 1.152 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.01093, allocations: 11.92 kB / 331.9 MB, free: 1.141 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002417/0.01117, allocations: 97.42 kB / 332 MB, free: 1.043 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007349/0.01191, allocations: 448.8 kB / 332.4 MB, free: 0.582 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.01213, allocations: 158.4 kB / 332.5 MB, free: 428 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.058e-05/0.0122, allocations: 57.72 kB / 332.6 MB, free: 368 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.01222, allocations: 7.938 kB / 332.6 MB, free: 360 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.01224, allocations: 38.56 kB / 332.6 MB, free: 312 kB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.443e-06/0.01224, allocations: 0 / 332.6 MB, free: 312 kB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.001444/0.01369, allocations: 0.8708 MB / 333.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.01372, allocations: 55.41 kB / 333.6 MB, free: 15.31 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.01382, allocations: 184.5 kB / 333.8 MB, free: 15.12 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.01385, allocations: 37.7 kB / 333.8 MB, free: 15.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/0.0139, allocations: 136.7 kB / 333.9 MB, free: 14.94 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.616e-05/0.01396, allocations: 123 kB / 334 MB, free: 14.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.087e-05/0.01403, allocations: 69.61 kB / 334.1 MB, free: 14.74 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.596e-05/0.0141, allocations: 338.8 kB / 334.4 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.893e-05/0.01417, allocations: 43.98 kB / 334.5 MB, free: 14.36 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.541e-05/0.01426, allocations: 82.08 kB / 334.6 MB, free: 14.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.01441, allocations: 163.3 kB / 334.7 MB, free: 14.1 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01441, allocations: 4 kB / 334.7 MB, free: 14.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002889/0.0147, allocations: 234.1 kB / 335 MB, free: 13.86 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.01471, allocations: 4 kB / 335 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.01472, allocations: 8.062 kB / 335 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002223/0.01494, allocations: 140.7 kB / 335.1 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.0151, allocations: 63.89 kB / 335.2 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003527/0.01545, allocations: 0.6207 MB / 335.8 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.09e-05/0.01554, allocations: 28 kB / 335.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.01556, allocations: 12 kB / 335.8 MB, free: 12.95 MB / 314.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 8.882e-05/0.01565, allocations: 133.3 kB / 336 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.01568, allocations: 23.98 kB / 336 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.264e-05/0.01573, allocations: 38.58 kB / 336 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.01573, allocations: 4 kB / 336 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.01573, allocations: 0 / 336 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.01574, allocations: 0 / 336 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007593/0.0165, allocations: 0.5425 MB / 336.6 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.0165, allocations: 3.938 kB / 336.6 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/0.01672, allocations: 60.02 kB / 336.6 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002666/0.01698, allocations: 137.3 kB / 336.8 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.877e-05/0.01701, allocations: 11.98 kB / 336.8 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004077/0.01742, allocations: 0.5964 MB / 337.4 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01742, allocations: 0 / 337.4 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003921/0.01781, allocations: 372.7 kB / 337.7 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.606e-05/0.01788, allocations: 31.84 kB / 337.8 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.01791, allocations: 12.06 kB / 337.8 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.01801, allocations: 35.84 kB / 337.8 MB, free: 10.87 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.2e-05/0.01809, allocations: 47.89 kB / 337.9 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.01811, allocations: 11.98 kB / 337.9 MB, free: 10.81 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.936e-05/0.01816, allocations: 49.03 kB / 337.9 MB, free: 10.76 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01816, allocations: 0 / 337.9 MB, free: 10.76 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002089/0.01837, allocations: 68 kB / 338 MB, free: 10.7 MB / 314.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.0009839/0.01935, allocations: 449.5 kB / 338.4 MB, free: 10.47 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003272/0.01968, allocations: 192.5 kB / 338.6 MB, free: 10.28 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.01968, allocations: 0 / 338.6 MB, free: 10.28 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.01982, allocations: 109.6 kB / 338.7 MB, free: 10.17 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.02005, allocations: 47.95 kB / 338.8 MB, free: 10.12 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.02119, allocations: 0.617 MB / 339.4 MB, free: 9.469 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.449e-05/0.02126, allocations: 89.05 kB / 339.5 MB, free: 9.363 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.725e-05/0.02132, allocations: 30.41 kB / 339.5 MB, free: 9.336 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.02142, allocations: 87.34 kB / 339.6 MB, free: 9.25 MB / 314.7 MB Notification: Performance of SimCode: time 1.152e-06/0.02143, allocations: 0 / 339.6 MB, free: 9.25 MB / 314.7 MB Notification: Performance of Templates: time 0.006684/0.02811, allocations: 4.775 MB / 344.4 MB, free: 4.516 MB / 314.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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.040856088977307]