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: 88.73 kB / 21.5 MB, free: 2.98 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.001041/0.001041, allocations: 163.3 kB / 24.91 MB, free: 8.77 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.9325/0.9325, allocations: 177 MB / 205.2 MB, free: 5.422 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.2276/0.2276, allocations: 34.86 MB / 296.6 MB, free: 0.5 MB / 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 1.192e-06/1.192e-06, allocations: 0 / 325.9 MB, free: 7.191 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.758e-05/1.878e-05, allocations: 7.844 kB / 325.9 MB, free: 7.184 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.002564/0.002583, allocations: 2.388 MB / 328.3 MB, free: 4.785 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.003593, allocations: 0.9003 MB / 329.2 MB, free: 3.879 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.639e-05/0.003679, allocations: 4 kB / 329.2 MB, free: 3.875 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002173/0.003897, allocations: 55.52 kB / 329.2 MB, free: 3.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.004037, allocations: 83.33 kB / 329.3 MB, free: 3.738 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.004296, allocations: 151.5 kB / 329.5 MB, free: 3.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002549/0.004551, allocations: 359.9 kB / 329.8 MB, free: 3.238 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.00468, allocations: 59.08 kB / 329.9 MB, free: 3.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002408/0.004921, allocations: 219.5 kB / 330.1 MB, free: 2.965 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.005089, allocations: 135.6 kB / 330.2 MB, free: 2.832 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.31e-05/0.005122, allocations: 32 kB / 330.3 MB, free: 2.801 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.00523, allocations: 83.92 kB / 330.3 MB, free: 2.719 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.561e-05/0.005316, allocations: 75.73 kB / 330.4 MB, free: 2.645 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.471e-05/0.005391, allocations: 103.8 kB / 330.5 MB, free: 2.543 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000281/0.005672, allocations: 287 kB / 330.8 MB, free: 2.262 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.005674, allocations: 0 / 330.8 MB, free: 2.262 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.005674, allocations: 0 / 330.8 MB, free: 2.262 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.005679, allocations: 0 / 330.8 MB, free: 2.262 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.0005131/0.006192, allocations: 493.2 kB / 331.3 MB, free: 1.758 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.878e-05/0.00622, allocations: 8.031 kB / 331.3 MB, free: 1.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/0.006343, allocations: 44.91 kB / 331.3 MB, free: 1.707 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.006552, allocations: 182 kB / 331.5 MB, free: 1.504 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.006575, allocations: 20.88 kB / 331.5 MB, free: 1.484 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.00661, allocations: 24.38 kB / 331.5 MB, free: 1.461 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.006848, allocations: 209.2 kB / 331.7 MB, free: 1.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.006861, allocations: 4.188 kB / 331.8 MB, free: 1.246 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.006878, allocations: 8.359 kB / 331.8 MB, free: 1.238 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.006886, allocations: 11.94 kB / 331.8 MB, free: 1.227 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.007035, allocations: 97.42 kB / 331.9 MB, free: 1.125 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006354/0.007671, allocations: 444.8 kB / 332.3 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.007886, allocations: 162.4 kB / 332.5 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.561e-05/0.007961, allocations: 60.84 kB / 332.5 MB, free: 452 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.007982, allocations: 4 kB / 332.5 MB, free: 448 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.008004, allocations: 38.56 kB / 332.6 MB, free: 400 kB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.423e-06/0.008005, allocations: 0 / 332.6 MB, free: 400 kB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.001306/0.009311, allocations: 0.8615 MB / 333.4 MB, free: 15.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.009337, allocations: 55.41 kB / 333.5 MB, free: 15.41 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.009442, allocations: 188.4 kB / 333.7 MB, free: 15.21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.009468, allocations: 37.7 kB / 333.7 MB, free: 15.17 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.36e-05/0.009522, allocations: 132.7 kB / 333.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.888e-05/0.009581, allocations: 127 kB / 334 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.014e-05/0.009651, allocations: 69.55 kB / 334 MB, free: 14.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.899e-05/0.00973, allocations: 342.8 kB / 334.4 MB, free: 14.49 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.595e-05/0.009796, allocations: 43.98 kB / 334.4 MB, free: 14.45 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.673e-05/0.009882, allocations: 86.02 kB / 334.5 MB, free: 14.36 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.01002, allocations: 155.3 kB / 334.6 MB, free: 14.19 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.01002, allocations: 0 / 334.6 MB, free: 14.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002862/0.01031, allocations: 246 kB / 334.9 MB, free: 13.94 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.01032, allocations: 4 kB / 334.9 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.01032, allocations: 0 / 334.9 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002245/0.01055, allocations: 148.8 kB / 335 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.01066, allocations: 51.91 kB / 335.1 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003406/0.011, allocations: 0.6177 MB / 335.7 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.021e-05/0.01109, allocations: 27.97 kB / 335.7 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.01111, allocations: 8 kB / 335.7 MB, free: 13.06 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.721e-05/0.01119, allocations: 137.3 kB / 335.9 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/0.01123, allocations: 19.98 kB / 335.9 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/0.01127, allocations: 38.67 kB / 335.9 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.01127, allocations: 7.938 kB / 335.9 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-06/0.01128, allocations: 0 / 335.9 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.01128, allocations: 0 / 335.9 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006228/0.0119, allocations: 0.5386 MB / 336.5 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.0119, allocations: 0 / 336.5 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.01202, allocations: 59.88 kB / 336.5 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001776/0.0122, allocations: 138.2 kB / 336.7 MB, free: 12.08 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.01221, allocations: 11.98 kB / 336.7 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002877/0.0125, allocations: 0.5958 MB / 337.3 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.0125, allocations: 0 / 337.3 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003618/0.01286, allocations: 373.8 kB / 337.6 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.058e-05/0.01292, allocations: 31.84 kB / 337.7 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.01295, allocations: 8 kB / 337.7 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.457e-05/0.01305, allocations: 23.97 kB / 337.7 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.136e-05/0.01312, allocations: 51.83 kB / 337.7 MB, free: 10.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.01313, allocations: 11.98 kB / 337.8 MB, free: 10.93 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.071e-05/0.01317, allocations: 57.05 kB / 337.8 MB, free: 10.87 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01317, allocations: 0 / 337.8 MB, free: 10.87 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001875/0.01336, allocations: 71.94 kB / 337.9 MB, free: 10.8 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.0009421/0.0143, allocations: 453.4 kB / 338.3 MB, free: 10.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002801/0.01458, allocations: 184.4 kB / 338.5 MB, free: 10.39 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.01459, allocations: 4 kB / 338.5 MB, free: 10.38 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.01471, allocations: 105.6 kB / 338.6 MB, free: 10.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.01492, allocations: 47.91 kB / 338.7 MB, free: 10.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.01593, allocations: 0.6249 MB / 339.3 MB, free: 9.57 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.521e-05/0.01599, allocations: 85.06 kB / 339.4 MB, free: 9.469 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.772e-05/0.01605, allocations: 26.27 kB / 339.4 MB, free: 9.445 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.957e-05/0.01614, allocations: 83.36 kB / 339.5 MB, free: 9.363 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01614, allocations: 0 / 339.5 MB, free: 9.363 MB / 314.7 MB Notification: Performance of Templates: time 0.006533/0.02267, allocations: 4.733 MB / 344.2 MB, free: 4.668 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 -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.0344023131765425]