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.002098/0.002098, allocations: 92.27 kB / 20.96 MB, free: 3.441 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.002595/0.002595, allocations: 156.9 kB / 24.26 MB, free: 148 kB / 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 1.508/1.508, allocations: 177 MB / 204.5 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3754/0.3754, allocations: 34.25 MB / 295.2 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 179] 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.613e-06/1.613e-06, allocations: 0 / 377.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.545e-05/3.706e-05, allocations: 8.422 kB / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004651/0.004688, allocations: 2.261 MB / 379.5 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001738/0.006426, allocations: 0.8762 MB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.006537, allocations: 4 kB / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002889/0.006826, allocations: 47.52 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002246/0.007051, allocations: 83.33 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004463/0.007497, allocations: 155.4 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004681/0.007965, allocations: 355.2 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001912/0.008156, allocations: 53.14 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003989/0.008555, allocations: 223.5 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002591/0.008814, allocations: 131.7 kB / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.032e-05/0.008874, allocations: 28 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001849/0.009059, allocations: 83.91 kB / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.009202, allocations: 75.73 kB / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.009339, allocations: 95.75 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005744/0.009914, allocations: 406.7 kB / 382 MB, free: 14.03 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.009917, allocations: 0 / 382 MB, free: 14.03 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.009918, allocations: 0 / 382 MB, free: 14.03 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.009928, allocations: 3.984 kB / 382 MB, free: 14.03 MB / 362.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.001111/0.01104, allocations: 0.5013 MB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.01109, allocations: 8.031 kB / 382.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002416/0.01133, allocations: 60.73 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004313/0.01176, allocations: 209.9 kB / 382.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.623e-05/0.0118, allocations: 20.88 kB / 382.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.371e-05/0.01186, allocations: 24.38 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005918/0.01245, allocations: 264.5 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.01247, allocations: 4.172 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.167e-05/0.0125, allocations: 8.375 kB / 383.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.01251, allocations: 7.938 kB / 383.1 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005744/0.01309, allocations: 241.8 kB / 383.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.01463, allocations: 0.5957 MB / 384 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006264/0.01526, allocations: 230.4 kB / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002874/0.01555, allocations: 124.8 kB / 384.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.175e-05/0.01558, allocations: 8.422 kB / 384.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.01561, allocations: 34.56 kB / 384.4 MB, free: 11.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.563e-06/0.01561, allocations: 4 kB / 384.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.003653/0.01927, allocations: 1.189 MB / 385.6 MB, free: 10.35 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.01932, allocations: 55.41 kB / 385.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.01956, allocations: 194.9 kB / 385.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.962e-05/0.01961, allocations: 41.7 kB / 385.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.01975, allocations: 148.8 kB / 386 MB, free: 9.883 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.01987, allocations: 115 kB / 386.1 MB, free: 9.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.02002, allocations: 65.69 kB / 386.2 MB, free: 9.699 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.02021, allocations: 330.8 kB / 386.5 MB, free: 9.367 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002803/0.02049, allocations: 116 kB / 386.6 MB, free: 9.254 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003244/0.02081, allocations: 168.4 kB / 386.8 MB, free: 9.078 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005101/0.02132, allocations: 232.7 kB / 387 MB, free: 8.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.02132, allocations: 4 kB / 387 MB, free: 8.836 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001035/0.02236, allocations: 445.8 kB / 387.4 MB, free: 8.391 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.02238, allocations: 6.969 kB / 387.4 MB, free: 8.387 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.02238, allocations: 0 / 387.4 MB, free: 8.387 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005432/0.02293, allocations: 196.8 kB / 387.6 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/0.02318, allocations: 55.91 kB / 387.7 MB, free: 8.137 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009362/0.02411, allocations: 0.7358 MB / 388.4 MB, free: 7.375 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002951/0.02441, allocations: 36 kB / 388.4 MB, free: 7.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-05/0.02444, allocations: 11.98 kB / 388.5 MB, free: 7.328 MB / 362.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,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0002093/0.02465, allocations: 150.1 kB / 388.6 MB, free: 7.172 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-05/0.02474, allocations: 39.86 kB / 388.6 MB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.02486, allocations: 46.58 kB / 388.7 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.02486, allocations: 4 kB / 388.7 MB, free: 7.082 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.02487, allocations: 0 / 388.7 MB, free: 7.082 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.02487, allocations: 0 / 388.7 MB, free: 7.082 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002149/0.02702, allocations: 0.8269 MB / 389.5 MB, free: 6.207 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.02703, allocations: 3.984 kB / 389.5 MB, free: 6.203 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002461/0.02728, allocations: 47.92 kB / 389.6 MB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004316/0.02771, allocations: 168.7 kB / 389.7 MB, free: 5.988 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.32e-05/0.02775, allocations: 12 kB / 389.8 MB, free: 5.977 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008184/0.02857, allocations: 0.6889 MB / 390.4 MB, free: 5.262 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.02857, allocations: 3.938 kB / 390.4 MB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.02991, allocations: 0.6243 MB / 391.1 MB, free: 4.613 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.03005, allocations: 51.81 kB / 391.1 MB, free: 4.562 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.66e-05/0.03011, allocations: 11.94 kB / 391.1 MB, free: 4.551 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002766/0.03039, allocations: 31.95 kB / 391.2 MB, free: 4.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.03053, allocations: 55.83 kB / 391.2 MB, free: 4.465 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-05/0.03056, allocations: 20.05 kB / 391.2 MB, free: 4.445 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001695/0.03073, allocations: 135.5 kB / 391.4 MB, free: 4.312 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03073, allocations: 0 / 391.4 MB, free: 4.312 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003989/0.03113, allocations: 72 kB / 391.4 MB, free: 4.242 MB / 362.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.001763/0.03289, allocations: 388.7 kB / 391.8 MB, free: 3.984 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000856/0.03375, allocations: 291.8 kB / 392.1 MB, free: 3.699 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.03375, allocations: 0 / 392.1 MB, free: 3.699 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003745/0.03413, allocations: 139.8 kB / 392.2 MB, free: 3.562 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005015/0.03463, allocations: 51.95 kB / 392.3 MB, free: 3.512 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.0368, allocations: 0.721 MB / 393 MB, free: 2.762 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/0.03698, allocations: 142.9 kB / 393.2 MB, free: 2.598 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000113/0.0371, allocations: 30.27 kB / 393.2 MB, free: 2.566 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.853e-05/0.03718, allocations: 20.5 kB / 393.2 MB, free: 2.547 MB / 362.7 MB Notification: Performance of SimCode: time 1.202e-06/0.03718, allocations: 4 kB / 393.2 MB, free: 2.543 MB / 362.7 MB Notification: Performance of Templates: time 0.01055/0.04773, allocations: 4.362 MB / 397.6 MB, free: 14.2 MB / 378.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.080036598956212]