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.001487/0.001487, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001592/0.001592, allocations: 161.7 kB / 24.27 MB, free: 176 kB / 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.506/1.506, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.4201/0.4201, allocations: 32.8 MB / 293.9 MB, free: 1.184 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 2.545e-06/2.545e-06, allocations: 0 / 375.2 MB, free: 5.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.535e-05/3.789e-05, allocations: 6.25 kB / 375.2 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.005862/0.0059, allocations: 2.28 MB / 377.5 MB, free: 2.699 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002257/0.008157, allocations: 0.8568 MB / 378.4 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.008309, allocations: 7.938 kB / 378.4 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000352/0.008661, allocations: 55.5 kB / 378.4 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.008945, allocations: 79.34 kB / 378.5 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005269/0.009472, allocations: 151.5 kB / 378.7 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006091/0.01008, allocations: 359.1 kB / 379 MB, free: 1.191 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002377/0.01032, allocations: 61.12 kB / 379.1 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005132/0.01083, allocations: 215.5 kB / 379.3 MB, free: 0.918 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000334/0.01117, allocations: 131.6 kB / 379.4 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.713e-05/0.01124, allocations: 32 kB / 379.4 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002571/0.0115, allocations: 87.91 kB / 379.5 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001759/0.01168, allocations: 71.8 kB / 379.6 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001892/0.01187, allocations: 95.73 kB / 379.7 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007886/0.01265, allocations: 406.7 kB / 380.1 MB, free: 112 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.01266, allocations: 0 / 380.1 MB, free: 112 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01266, allocations: 0 / 380.1 MB, free: 112 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.01267, allocations: 0 / 380.1 MB, free: 112 kB / 346.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.001427/0.01409, allocations: 0.5053 MB / 380.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.01414, allocations: 11.98 kB / 380.6 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003352/0.01448, allocations: 60.73 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005743/0.01505, allocations: 209.9 kB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.775e-05/0.0151, allocations: 16.88 kB / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.598e-05/0.01519, allocations: 24.38 kB / 380.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008821/0.01607, allocations: 268.5 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.01609, allocations: 4.188 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.595e-05/0.01614, allocations: 4.375 kB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/0.01616, allocations: 19.88 kB / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008878/0.01705, allocations: 229.9 kB / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002141/0.01919, allocations: 0.6035 MB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009327/0.02012, allocations: 230.4 kB / 382.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004731/0.0206, allocations: 121.2 kB / 382.4 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.729e-05/0.02063, allocations: 4 kB / 382.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.197e-05/0.02068, allocations: 42.5 kB / 382.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 2.294e-06/0.02069, allocations: 0 / 382.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.005102/0.02579, allocations: 1.201 MB / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.084e-05/0.02588, allocations: 55.41 kB / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003393/0.02622, allocations: 187 kB / 383.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.846e-05/0.0263, allocations: 41.69 kB / 383.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.02646, allocations: 144.7 kB / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/0.02663, allocations: 119.1 kB / 384.2 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/0.02684, allocations: 65.69 kB / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002551/0.02709, allocations: 334.8 kB / 384.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004401/0.02753, allocations: 115.9 kB / 384.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005103/0.02804, allocations: 167.4 kB / 384.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007642/0.02881, allocations: 232.7 kB / 385 MB, free: 10.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.02881, allocations: 4 kB / 385.1 MB, free: 10.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001577/0.03039, allocations: 441.8 kB / 385.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.03041, allocations: 7.938 kB / 385.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.03042, allocations: 8.062 kB / 385.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007655/0.03119, allocations: 196.5 kB / 385.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/0.03154, allocations: 51.91 kB / 385.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/0.03286, allocations: 0.7315 MB / 386.5 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004314/0.03329, allocations: 44.05 kB / 386.5 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.03332, allocations: 11.98 kB / 386.5 MB, free: 9.391 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.0002068/0.03353, allocations: 145.8 kB / 386.7 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.975e-05/0.03363, allocations: 35.8 kB / 386.7 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.625e-05/0.03373, allocations: 38.64 kB / 386.7 MB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.03373, allocations: 4 kB / 386.7 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.03374, allocations: 0 / 386.7 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.03374, allocations: 0 / 386.7 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/0.03565, allocations: 0.8308 MB / 387.6 MB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.03565, allocations: 0 / 387.6 MB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/0.0359, allocations: 55.91 kB / 387.6 MB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004565/0.03636, allocations: 168.7 kB / 387.8 MB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.771e-05/0.03639, allocations: 16.02 kB / 387.8 MB, free: 8.043 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000852/0.03724, allocations: 0.6889 MB / 388.5 MB, free: 7.328 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.03725, allocations: 3.938 kB / 388.5 MB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.0386, allocations: 0.6125 MB / 389.1 MB, free: 6.691 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.03874, allocations: 51.84 kB / 389.2 MB, free: 6.641 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.777e-05/0.03881, allocations: 15.92 kB / 389.2 MB, free: 6.625 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/0.03911, allocations: 36.09 kB / 389.2 MB, free: 6.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.03926, allocations: 51.89 kB / 389.3 MB, free: 6.539 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.03929, allocations: 8 kB / 389.3 MB, free: 6.531 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001603/0.03945, allocations: 143.5 kB / 389.4 MB, free: 6.391 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03945, allocations: 0 / 389.4 MB, free: 6.391 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003973/0.03984, allocations: 75.94 kB / 389.5 MB, free: 6.316 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.001848/0.04169, allocations: 387.8 kB / 389.9 MB, free: 6.082 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008691/0.04256, allocations: 295.9 kB / 390.2 MB, free: 5.793 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.04256, allocations: 0 / 390.2 MB, free: 5.793 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004038/0.04297, allocations: 144 kB / 390.3 MB, free: 5.652 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004767/0.04344, allocations: 51.95 kB / 390.3 MB, free: 5.602 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/0.04565, allocations: 0.7169 MB / 391.1 MB, free: 4.855 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.04585, allocations: 150.9 kB / 391.2 MB, free: 4.684 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001236/0.04597, allocations: 18.3 kB / 391.2 MB, free: 4.664 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.367e-05/0.04606, allocations: 24.48 kB / 391.3 MB, free: 4.641 MB / 362.7 MB Notification: Performance of SimCode: time 9.02e-07/0.04606, allocations: 4 kB / 391.3 MB, free: 4.637 MB / 362.7 MB Notification: Performance of Templates: time 0.01103/0.05709, allocations: 4.363 MB / 395.6 MB, free: 312 kB / 362.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.131744019920006]