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.00112/0.00112, allocations: 87.33 kB / 20.42 MB, free: 4.137 MB / 18.57 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.001276/0.001276, allocations: 169 kB / 23.79 MB, free: 0.7695 MB / 18.57 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 0.9211/0.9211, allocations: 158.6 MB / 185.7 MB, free: 2.934 MB / 170.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.1485/0.1485, allocations: 32.37 MB / 270.4 MB, free: 14.7 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 1.553e-06/1.553e-06, allocations: 0 / 347.6 MB, free: 9.477 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.617e-05/2.772e-05, allocations: 8.219 kB / 347.6 MB, free: 9.469 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.003096/0.003123, allocations: 2.299 MB / 349.9 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.004381, allocations: 0.7527 MB / 350.7 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.004494, allocations: 4 kB / 350.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.004682, allocations: 31.66 kB / 350.7 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.882e-05/0.004781, allocations: 79.33 kB / 350.8 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004756/0.005257, allocations: 143.6 kB / 351 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003265/0.005583, allocations: 339.2 kB / 351.3 MB, free: 5.809 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.005751, allocations: 58.42 kB / 351.3 MB, free: 5.758 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002698/0.006021, allocations: 203.6 kB / 351.5 MB, free: 5.559 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.006229, allocations: 131.6 kB / 351.7 MB, free: 5.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.422e-05/0.006273, allocations: 24 kB / 351.7 MB, free: 5.406 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.00641, allocations: 79.88 kB / 351.8 MB, free: 5.328 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.758e-05/0.006487, allocations: 67.8 kB / 351.8 MB, free: 5.262 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.006589, allocations: 99.73 kB / 351.9 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003399/0.006929, allocations: 263.1 kB / 352.2 MB, free: 4.906 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.006932, allocations: 0 / 352.2 MB, free: 4.906 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.006932, allocations: 0 / 352.2 MB, free: 4.906 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.006939, allocations: 0 / 352.2 MB, free: 4.906 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.0007157/0.007654, allocations: 0.5741 MB / 352.8 MB, free: 4.297 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.007696, allocations: 12.03 kB / 352.8 MB, free: 4.285 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.197e-05/0.007788, allocations: 36.8 kB / 352.8 MB, free: 4.25 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.008052, allocations: 208 kB / 353 MB, free: 4.02 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/0.008083, allocations: 16.88 kB / 353 MB, free: 4.004 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.682e-05/0.00814, allocations: 24.36 kB / 353.1 MB, free: 3.98 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004444/0.008584, allocations: 237.2 kB / 353.3 MB, free: 3.738 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.008601, allocations: 192 / 353.3 MB, free: 3.738 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/0.008632, allocations: 12.38 kB / 353.3 MB, free: 3.727 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.008646, allocations: 7.938 kB / 353.3 MB, free: 3.719 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002881/0.008934, allocations: 154.9 kB / 353.5 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009737/0.009907, allocations: 0.6109 MB / 354.1 MB, free: 2.922 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003724/0.01028, allocations: 187 kB / 354.3 MB, free: 2.727 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.01044, allocations: 91.64 kB / 354.3 MB, free: 2.633 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.171e-05/0.01047, allocations: 4 kB / 354.3 MB, free: 2.629 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.0105, allocations: 45.33 kB / 354.4 MB, free: 2.574 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 1.603e-06/0.0105, allocations: 0 / 354.4 MB, free: 2.574 MB / 282.7 MB Notification: Performance of matching and sorting (n=33): time 0.001775/0.01228, allocations: 1.036 MB / 355.4 MB, free: 1.477 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.0123, allocations: 63.34 kB / 355.5 MB, free: 1.402 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.01241, allocations: 227.6 kB / 355.7 MB, free: 1.164 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.01242, allocations: 33.69 kB / 355.7 MB, free: 1.125 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.909e-05/0.01248, allocations: 191.5 kB / 355.9 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.865e-05/0.01253, allocations: 115.1 kB / 356 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.177e-05/0.0126, allocations: 71.34 kB / 356.1 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.285e-05/0.01266, allocations: 0.5001 MB / 356.6 MB, free: 236 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.01276, allocations: 83.89 kB / 356.7 MB, free: 152 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.01292, allocations: 130.5 kB / 356.8 MB, free: 4 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/0.01317, allocations: 206.3 kB / 357 MB, free: 15.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.01318, allocations: 0 / 357 MB, free: 15.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004464/0.01362, allocations: 348.7 kB / 357.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.01364, allocations: 4 kB / 357.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.01365, allocations: 4.062 kB / 357.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003452/0.01399, allocations: 206.3 kB / 357.6 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.01413, allocations: 55.91 kB / 357.6 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000572/0.0147, allocations: 0.9405 MB / 358.6 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.0148, allocations: 35.89 kB / 358.6 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.01482, allocations: 8 kB / 358.6 MB, free: 14.15 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.free,bearingFriction1.mode,$PRE.bearingFriction1.mode,bearingFriction1.locked,bearingFriction1.startBackward,$PRE.bearingFriction1.startBackward,bearingFriction1.startForward,$PRE.bearingFriction1.startForward) * 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 0.0004242/0.01525, allocations: 180.8 kB / 358.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.67e-05/0.01529, allocations: 27.91 kB / 358.8 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.935e-05/0.01534, allocations: 38.64 kB / 358.9 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002373/0.01558, allocations: 8.031 kB / 358.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.01559, allocations: 0 / 358.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.01559, allocations: 3.938 kB / 358.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009666/0.01656, allocations: 0.7926 MB / 359.7 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.01656, allocations: 3.938 kB / 359.7 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.01669, allocations: 51.95 kB / 359.7 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002599/0.01695, allocations: 195.5 kB / 359.9 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.01697, allocations: 7.984 kB / 359.9 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005197/0.01749, allocations: 0.9249 MB / 360.8 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01749, allocations: 0 / 360.8 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005743/0.01807, allocations: 0.5621 MB / 361.4 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.335e-05/0.01814, allocations: 55.88 kB / 361.5 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.01817, allocations: 15.94 kB / 361.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.597e-05/0.01827, allocations: 23.97 kB / 361.5 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.258e-05/0.01836, allocations: 47.91 kB / 361.5 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.01837, allocations: 11.98 kB / 361.5 MB, free: 11.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.583e-05/0.01845, allocations: 167.1 kB / 361.7 MB, free: 10.91 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01845, allocations: 0 / 361.7 MB, free: 10.91 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002189/0.01867, allocations: 75.98 kB / 361.8 MB, free: 10.84 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001739/0.01884, allocations: 127.1 kB / 361.9 MB, free: 10.7 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005161/0.01936, allocations: 248.6 kB / 362.2 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01936, allocations: 0 / 362.2 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.01952, allocations: 143.4 kB / 362.3 MB, free: 10.31 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.01978, allocations: 39.95 kB / 362.3 MB, free: 10.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.02091, allocations: 0.6339 MB / 363 MB, free: 9.602 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.777e-05/0.02097, allocations: 85.06 kB / 363 MB, free: 9.5 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.999e-05/0.02102, allocations: 17.94 kB / 363.1 MB, free: 9.48 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.908e-05/0.02107, allocations: 24.5 kB / 363.1 MB, free: 9.457 MB / 298.7 MB Notification: Performance of SimCode: time 1.383e-06/0.02107, allocations: 4 kB / 363.1 MB, free: 9.453 MB / 298.7 MB Notification: Performance of Templates: time 0.006223/0.02729, allocations: 4.237 MB / 367.3 MB, free: 5.238 MB / 298.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2460541827604175]