Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009245/0.0009245, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001234/0.002159, allocations: 452 kB / 10.43 MB, free: 264 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.0008006/0.0008006, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001027/0.001828, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.018/1.018, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1727/1.19, allocations: 49.5 MB / 220.7 MB, free: 1.363 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1569/0.1569, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02808/0.185, allocations: 12.32 MB / 266.1 MB, free: 3.875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.377e-06/3.377e-06, allocations: 7.938 kB / 267.4 MB, free: 2.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.94e-05/3.277e-05, allocations: 6.25 kB / 267.4 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004744/0.004777, allocations: 2.312 MB / 269.7 MB, free: 240 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001573/0.006349, allocations: 0.7797 MB / 270.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.006521, allocations: 7.938 kB / 270.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001916/0.006712, allocations: 43.53 kB / 270.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001715/0.006884, allocations: 75.34 kB / 270.6 MB, free: 15.32 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004407/0.007325, allocations: 123.7 kB / 270.7 MB, free: 15.2 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004256/0.00775, allocations: 343.2 kB / 271 MB, free: 14.86 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/0.007939, allocations: 58.7 kB / 271.1 MB, free: 14.81 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003929/0.008332, allocations: 223.5 kB / 271.3 MB, free: 14.59 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003842/0.008717, allocations: 119.7 kB / 271.4 MB, free: 14.47 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.28e-05/0.008769, allocations: 24 kB / 271.5 MB, free: 14.45 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000237/0.009006, allocations: 83.94 kB / 271.5 MB, free: 14.37 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.92e-05/0.009106, allocations: 47.81 kB / 271.6 MB, free: 14.32 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.837e-05/0.009204, allocations: 71.88 kB / 271.7 MB, free: 14.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004332/0.009637, allocations: 235.2 kB / 271.9 MB, free: 14.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.646e-05/0.009654, allocations: 0 / 271.9 MB, free: 14.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.009655, allocations: 0 / 271.9 MB, free: 14.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.009669, allocations: 4 kB / 271.9 MB, free: 14.02 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0009788/0.01065, allocations: 0.4998 MB / 272.4 MB, free: 13.49 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.0107, allocations: 8.031 kB / 272.4 MB, free: 13.48 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.814e-05/0.01077, allocations: 32.92 kB / 272.4 MB, free: 13.45 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.01103, allocations: 169.4 kB / 272.6 MB, free: 13.26 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.01106, allocations: 16.88 kB / 272.6 MB, free: 13.25 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.0111, allocations: 32.3 kB / 272.6 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.01136, allocations: 205.2 kB / 272.9 MB, free: 13.01 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.01137, allocations: 192 / 272.9 MB, free: 13.01 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.01139, allocations: 12.38 kB / 272.9 MB, free: 13 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.0114, allocations: 7.938 kB / 272.9 MB, free: 12.99 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.01154, allocations: 99.41 kB / 273 MB, free: 12.89 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000665/0.01221, allocations: 442.2 kB / 273.4 MB, free: 12.44 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.01246, allocations: 158.3 kB / 273.6 MB, free: 12.28 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.838e-05/0.01254, allocations: 68.83 kB / 273.6 MB, free: 12.21 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.01256, allocations: 4 kB / 273.6 MB, free: 12.2 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.01259, allocations: 38.56 kB / 273.7 MB, free: 12.16 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 1.873e-06/0.01259, allocations: 0 / 273.7 MB, free: 12.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=33): time 0.001716/0.01431, allocations: 1.014 MB / 274.7 MB, free: 11.07 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.01435, allocations: 59.39 kB / 274.7 MB, free: 11 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/0.01467, allocations: 170.8 kB / 274.9 MB, free: 10.82 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.01469, allocations: 41.7 kB / 274.9 MB, free: 10.77 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.091e-05/0.01476, allocations: 132.7 kB / 275.1 MB, free: 10.64 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.59e-05/0.01482, allocations: 119 kB / 275.2 MB, free: 10.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.387e-05/0.01491, allocations: 65.66 kB / 275.3 MB, free: 10.45 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.01501, allocations: 326.8 kB / 275.6 MB, free: 10.12 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.996e-05/0.01509, allocations: 51.97 kB / 275.6 MB, free: 10.07 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.677e-05/0.01517, allocations: 98.94 kB / 275.7 MB, free: 9.965 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.01532, allocations: 166.9 kB / 275.9 MB, free: 9.789 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.01533, allocations: 0 / 275.9 MB, free: 9.789 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000298/0.01562, allocations: 238 kB / 276.1 MB, free: 9.547 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.01564, allocations: 4 kB / 276.1 MB, free: 9.543 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.01565, allocations: 4 kB / 276.1 MB, free: 9.539 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003028/0.01595, allocations: 184.7 kB / 276.3 MB, free: 9.355 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.01614, allocations: 59.91 kB / 276.4 MB, free: 9.297 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004153/0.01656, allocations: 0.6382 MB / 277 MB, free: 8.633 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.01666, allocations: 23.97 kB / 277 MB, free: 8.609 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.01668, allocations: 15.94 kB / 277 MB, free: 8.594 MB / 282.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,12)} Notification: Performance of prepare postOptimizeDAE: time 9.45e-05/0.01677, allocations: 128.7 kB / 277.2 MB, free: 8.457 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.828e-05/0.01681, allocations: 27.92 kB / 277.2 MB, free: 8.43 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.657e-05/0.01686, allocations: 30.64 kB / 277.2 MB, free: 8.398 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.01686, allocations: 4 kB / 277.2 MB, free: 8.395 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.01686, allocations: 4.031 kB / 277.2 MB, free: 8.391 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.01687, allocations: 7.984 kB / 277.2 MB, free: 8.383 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006945/0.01757, allocations: 0.5579 MB / 277.8 MB, free: 7.785 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.01757, allocations: 0 / 277.8 MB, free: 7.785 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.01773, allocations: 55.95 kB / 277.8 MB, free: 7.73 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.01779, allocations: 35.81 kB / 277.9 MB, free: 7.695 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002328/0.01803, allocations: 188.5 kB / 278.1 MB, free: 7.508 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.01804, allocations: 4 kB / 278.1 MB, free: 7.504 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003521/0.01839, allocations: 0.6109 MB / 278.7 MB, free: 6.867 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.0184, allocations: 0 / 278.7 MB, free: 6.867 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004165/0.01881, allocations: 393.8 kB / 279.1 MB, free: 6.461 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.01884, allocations: 16.12 kB / 279.1 MB, free: 6.445 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.91e-05/0.01894, allocations: 31.97 kB / 279.1 MB, free: 6.414 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.923e-05/0.01903, allocations: 47.84 kB / 279.2 MB, free: 6.367 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.01905, allocations: 11.98 kB / 279.2 MB, free: 6.355 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.132e-05/0.01909, allocations: 36.81 kB / 279.2 MB, free: 6.316 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01909, allocations: 0 / 279.2 MB, free: 6.316 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000229/0.01932, allocations: 80 kB / 279.3 MB, free: 6.238 MB / 282.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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001826/0.0195, allocations: 104.3 kB / 279.4 MB, free: 6.129 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000313/0.01982, allocations: 200.7 kB / 279.6 MB, free: 5.93 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/0.01983, allocations: 4 kB / 279.6 MB, free: 5.926 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.01997, allocations: 128.6 kB / 279.7 MB, free: 5.797 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.02029, allocations: 230.1 kB / 279.9 MB, free: 5.535 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00317/0.02346, allocations: 0.5832 MB / 280.5 MB, free: 4.918 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.961e-05/0.02352, allocations: 96.98 kB / 280.6 MB, free: 4.805 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.761e-05/0.02358, allocations: 18.3 kB / 280.6 MB, free: 4.789 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.02369, allocations: 87.3 kB / 280.7 MB, free: 4.703 MB / 282.7 MB Notification: Performance of SimCode: time 2.454e-06/0.02369, allocations: 0 / 280.7 MB, free: 4.703 MB / 282.7 MB Notification: Performance of Templates: time 0.1575/0.1812, allocations: 4.745 MB / 285.5 MB, free: 14.91 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.185985633172095]