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.001501/0.001501, allocations: 81.86 kB / 21.44 MB, free: 3.062 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.001249/0.001249, allocations: 166.8 kB / 24.84 MB, free: 9.191 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 1.066/1.066, allocations: 158.6 MB / 186.7 MB, free: 2.762 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.155/0.155, allocations: 32.37 MB / 271.5 MB, free: 14.53 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.573e-06/1.573e-06, allocations: 0 / 348.9 MB, free: 9.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.703e-05, allocations: 4.281 kB / 348.9 MB, free: 9.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.002347/0.002374, allocations: 2.26 MB / 351.2 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.003378, allocations: 0.7527 MB / 351.9 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.003494, allocations: 7.938 kB / 351.9 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.003682, allocations: 35.64 kB / 352 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.00379, allocations: 75.34 kB / 352 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.004148, allocations: 135.7 kB / 352.2 MB, free: 5.902 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000237/0.004385, allocations: 343.2 kB / 352.5 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.004507, allocations: 52.8 kB / 352.6 MB, free: 5.52 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.004703, allocations: 211.5 kB / 352.8 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.004853, allocations: 127.7 kB / 352.9 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.263e-05/0.004886, allocations: 28 kB / 352.9 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.004996, allocations: 71.95 kB / 353 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.65e-05/0.005062, allocations: 67.73 kB / 353 MB, free: 5.023 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.459e-05/0.005127, allocations: 91.81 kB / 353.1 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.005408, allocations: 275 kB / 353.4 MB, free: 4.664 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.005412, allocations: 0 / 353.4 MB, free: 4.664 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.005414, allocations: 3.984 kB / 353.4 MB, free: 4.66 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.00542, allocations: 4 kB / 353.4 MB, free: 4.656 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.0005023/0.005923, allocations: 0.5701 MB / 354 MB, free: 4.051 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.00596, allocations: 8.031 kB / 354 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.828e-05/0.006018, allocations: 44.8 kB / 354 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.006191, allocations: 200.1 kB / 354.2 MB, free: 3.777 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.006211, allocations: 16.88 kB / 354.2 MB, free: 3.762 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.308e-05/0.006264, allocations: 28.36 kB / 354.3 MB, free: 3.734 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.006471, allocations: 197.3 kB / 354.5 MB, free: 3.531 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.006482, allocations: 4.188 kB / 354.5 MB, free: 3.527 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.006499, allocations: 8.375 kB / 354.5 MB, free: 3.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.006505, allocations: 11.94 kB / 354.5 MB, free: 3.508 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.006628, allocations: 107.4 kB / 354.6 MB, free: 3.402 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005867/0.007215, allocations: 0.5842 MB / 355.2 MB, free: 2.793 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.007416, allocations: 174.8 kB / 355.3 MB, free: 2.609 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.42e-05/0.00749, allocations: 75.7 kB / 355.4 MB, free: 2.531 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.007509, allocations: 4 kB / 355.4 MB, free: 2.527 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.654e-05/0.007525, allocations: 41.39 kB / 355.5 MB, free: 2.477 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 1.021e-06/0.007526, allocations: 0 / 355.5 MB, free: 2.477 MB / 282.7 MB Notification: Performance of matching and sorting (n=33): time 0.001214/0.00874, allocations: 0.9175 MB / 356.4 MB, free: 1.5 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.822e-05/0.008759, allocations: 55.41 kB / 356.4 MB, free: 1.434 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.822e-05/0.008847, allocations: 223.6 kB / 356.7 MB, free: 1.199 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.008867, allocations: 37.7 kB / 356.7 MB, free: 1.156 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.492e-05/0.008922, allocations: 183.5 kB / 356.9 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.849e-05/0.00897, allocations: 123 kB / 357 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.605e-05/0.009036, allocations: 71.31 kB / 357.1 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.364e-05/0.0091, allocations: 0.5001 MB / 357.6 MB, free: 268 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.217e-05/0.009172, allocations: 59.95 kB / 357.6 MB, free: 208 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.211e-05/0.009254, allocations: 118.4 kB / 357.7 MB, free: 72 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/0.009455, allocations: 158.3 kB / 357.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.009456, allocations: 0 / 357.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003365/0.009793, allocations: 300.7 kB / 358.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.009806, allocations: 4 kB / 358.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.009813, allocations: 4.062 kB / 358.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003159/0.01013, allocations: 195.5 kB / 358.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.01025, allocations: 55.91 kB / 358.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005641/0.01082, allocations: 0.9131 MB / 359.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.01092, allocations: 23.98 kB / 359.4 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.01094, allocations: 15.92 kB / 359.4 MB, free: 14.35 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.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 0.0001117/0.01105, allocations: 172.8 kB / 359.6 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.568e-05/0.0111, allocations: 35.89 kB / 359.6 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.865e-05/0.01115, allocations: 34.59 kB / 359.6 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.01115, allocations: 7.938 kB / 359.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.01115, allocations: 3.984 kB / 359.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.01116, allocations: 4 kB / 359.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007899/0.01195, allocations: 0.7229 MB / 360.4 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.01195, allocations: 4 kB / 360.4 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.01207, allocations: 43.97 kB / 360.4 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002409/0.01231, allocations: 183.5 kB / 360.6 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.01233, allocations: 15.98 kB / 360.6 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005742/0.0129, allocations: 0.9014 MB / 361.5 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.0129, allocations: 0 / 361.5 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005056/0.01341, allocations: 0.5036 MB / 362 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.093e-05/0.01349, allocations: 51.81 kB / 362.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/0.01352, allocations: 8 kB / 362.1 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.01363, allocations: 23.97 kB / 362.1 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.713e-05/0.01371, allocations: 47.84 kB / 362.1 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.01373, allocations: 11.98 kB / 362.2 MB, free: 11.46 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.254e-05/0.01379, allocations: 159.1 kB / 362.3 MB, free: 11.3 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01379, allocations: 4.031 kB / 362.3 MB, free: 11.3 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002577/0.01405, allocations: 72 kB / 362.4 MB, free: 11.23 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.0001641/0.01421, allocations: 125.2 kB / 362.5 MB, free: 11.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003331/0.01455, allocations: 216.6 kB / 362.7 MB, free: 10.88 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.01455, allocations: 0 / 362.7 MB, free: 10.88 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.0147, allocations: 119.4 kB / 362.8 MB, free: 10.76 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.01496, allocations: 56.08 kB / 362.9 MB, free: 10.7 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.0161, allocations: 0.6186 MB / 363.5 MB, free: 10.05 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.532e-05/0.01616, allocations: 85.06 kB / 363.6 MB, free: 9.949 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.865e-05/0.01622, allocations: 21.94 kB / 363.6 MB, free: 9.926 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.695e-05/0.01631, allocations: 110.1 kB / 363.7 MB, free: 9.816 MB / 298.7 MB Notification: Performance of SimCode: time 1.252e-06/0.01632, allocations: 0 / 363.7 MB, free: 9.816 MB / 298.7 MB Notification: Performance of Templates: time 0.007354/0.02367, allocations: 4.707 MB / 368.4 MB, free: 5.133 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.270356621593237]