Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001483/0.001483, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001143/0.001143, allocations: 174 kB / 24.82 MB, free: 8.938 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.227/1.227, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3885/0.3885, allocations: 32.8 MB / 294.6 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.396e-06/3.396e-06, allocations: 0 / 376.5 MB, free: 4.422 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.887e-05/4.227e-05, allocations: 2.312 kB / 376.5 MB, free: 4.418 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.005381/0.005423, allocations: 2.4 MB / 378.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002296/0.007719, allocations: 0.8683 MB / 379.7 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002646/0.007984, allocations: 7.938 kB / 379.7 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004676/0.008451, allocations: 55.55 kB / 379.8 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003552/0.008806, allocations: 75.36 kB / 379.9 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007131/0.00952, allocations: 155.5 kB / 380 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005688/0.01009, allocations: 363.1 kB / 380.4 MB, free: 492 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002301/0.01032, allocations: 53.14 kB / 380.4 MB, free: 436 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000622/0.01094, allocations: 215.5 kB / 380.6 MB, free: 220 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003785/0.01132, allocations: 139.6 kB / 380.8 MB, free: 80 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.929e-05/0.0114, allocations: 28 kB / 380.8 MB, free: 52 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003132/0.01171, allocations: 87.98 kB / 380.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.01186, allocations: 71.66 kB / 380.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.01199, allocations: 99.8 kB / 381 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006494/0.01264, allocations: 303 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.01264, allocations: 0 / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.01264, allocations: 0 / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.168e-06/0.01265, allocations: 0 / 381.3 MB, free: 15.5 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.001074/0.01373, allocations: 0.5972 MB / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.198e-05/0.0138, allocations: 19.97 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000248/0.01405, allocations: 56.69 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.01435, allocations: 204.8 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.038e-05/0.01438, allocations: 16.88 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.282e-05/0.01442, allocations: 24.38 kB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003556/0.01478, allocations: 205.2 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.01479, allocations: 4.172 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.01482, allocations: 8.375 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.01483, allocations: 11.94 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001876/0.01501, allocations: 121.3 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.01602, allocations: 0.58 MB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003767/0.01639, allocations: 163 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.01651, allocations: 78.59 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.501e-05/0.01655, allocations: 4 kB / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.176e-05/0.01659, allocations: 41.83 kB / 383.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.923e-06/0.01659, allocations: 0 / 383.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.001792/0.01838, allocations: 0.9043 MB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.01843, allocations: 55.41 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.0186, allocations: 241.9 kB / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/0.01865, allocations: 41.64 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.01876, allocations: 191.4 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.851e-05/0.01885, allocations: 127 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.01896, allocations: 71.33 kB / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.01916, allocations: 0.5001 MB / 385.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.01928, allocations: 55.95 kB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.01941, allocations: 110.7 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.01961, allocations: 152 kB / 385.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.01961, allocations: 0 / 385.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004726/0.02008, allocations: 300.7 kB / 386.2 MB, free: 10.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.02011, allocations: 4 kB / 386.2 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.02012, allocations: 0 / 386.2 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002968/0.02041, allocations: 159.6 kB / 386.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.02057, allocations: 55.91 kB / 386.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000604/0.02117, allocations: 0.8858 MB / 387.3 MB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.02131, allocations: 27.97 kB / 387.3 MB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.02133, allocations: 8 kB / 387.3 MB, free: 9.199 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.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 0.0001585/0.02148, allocations: 184.5 kB / 387.5 MB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.645e-05/0.02155, allocations: 35.86 kB / 387.5 MB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.651e-05/0.02162, allocations: 38.62 kB / 387.6 MB, free: 8.934 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.02162, allocations: 7.984 kB / 387.6 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.02163, allocations: 0 / 387.6 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.02164, allocations: 3.984 kB / 387.6 MB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.02265, allocations: 0.7151 MB / 388.3 MB, free: 8.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-06/0.02265, allocations: 7.969 kB / 388.3 MB, free: 8.152 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.02278, allocations: 47.92 kB / 388.3 MB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002422/0.02303, allocations: 139.5 kB / 388.5 MB, free: 7.965 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.02305, allocations: 7.984 kB / 388.5 MB, free: 7.957 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005265/0.02358, allocations: 0.878 MB / 389.4 MB, free: 7.047 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.02358, allocations: 0 / 389.4 MB, free: 7.047 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006137/0.02419, allocations: 0.4893 MB / 389.9 MB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.967e-05/0.02429, allocations: 47.81 kB / 389.9 MB, free: 6.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.161e-05/0.02433, allocations: 12 kB / 389.9 MB, free: 6.469 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.02445, allocations: 27.91 kB / 389.9 MB, free: 6.441 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.02458, allocations: 47.91 kB / 390 MB, free: 6.395 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.0246, allocations: 11.98 kB / 390 MB, free: 6.383 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001125/0.02471, allocations: 167.4 kB / 390.2 MB, free: 6.219 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02471, allocations: 0 / 390.2 MB, free: 6.219 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000338/0.02505, allocations: 72 kB / 390.2 MB, free: 6.148 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.001184/0.02623, allocations: 350.5 kB / 390.6 MB, free: 5.918 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004364/0.02667, allocations: 195.6 kB / 390.8 MB, free: 5.723 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.02667, allocations: 4.125 kB / 390.8 MB, free: 5.719 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.02683, allocations: 120.2 kB / 390.9 MB, free: 5.598 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.02716, allocations: 53.03 kB / 390.9 MB, free: 5.551 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.02863, allocations: 0.643 MB / 391.6 MB, free: 4.879 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.267e-05/0.0287, allocations: 85.06 kB / 391.7 MB, free: 4.777 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.649e-05/0.02879, allocations: 30.27 kB / 391.7 MB, free: 4.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.02891, allocations: 106.2 kB / 391.8 MB, free: 4.645 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/0.02891, allocations: 0 / 391.8 MB, free: 4.645 MB / 362.7 MB Notification: Performance of Templates: time 0.008854/0.03777, allocations: 4.755 MB / 396.6 MB, free: 15.93 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.8676567804068327]