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.001894/0.001894, allocations: 95.61 kB / 20.96 MB, free: 3.453 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.001959/0.001959, allocations: 161.3 kB / 24.27 MB, free: 148 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.569/1.569, allocations: 177.2 MB / 204.6 MB, free: 5.602 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.3917/0.3917, allocations: 32.79 MB / 293.9 MB, free: 1.18 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 1.864e-06/1.864e-06, allocations: 0 / 375.2 MB, free: 4.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.018e-05/3.204e-05, allocations: 2.312 kB / 375.2 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004422/0.004454, allocations: 2.373 MB / 377.6 MB, free: 2.594 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.006234, allocations: 0.8685 MB / 378.5 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.006357, allocations: 7.938 kB / 378.5 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002978/0.006655, allocations: 59.5 kB / 378.6 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002294/0.006884, allocations: 79.34 kB / 378.6 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004246/0.007309, allocations: 155.5 kB / 378.8 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004925/0.007802, allocations: 355.1 kB / 379.1 MB, free: 1.07 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/0.008, allocations: 61.12 kB / 379.2 MB, free: 1.008 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004395/0.008439, allocations: 215.5 kB / 379.4 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002784/0.008718, allocations: 135.6 kB / 379.5 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.426e-05/0.008782, allocations: 28 kB / 379.6 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001958/0.008978, allocations: 87.91 kB / 379.6 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.009128, allocations: 75.78 kB / 379.7 MB, free: 488 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.009287, allocations: 95.75 kB / 379.8 MB, free: 392 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006212/0.009908, allocations: 402.7 kB / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.009912, allocations: 0 / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.009913, allocations: 0 / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.00992, allocations: 0 / 380.2 MB, free: 15.99 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.001283/0.0112, allocations: 0.6125 MB / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.295e-05/0.01127, allocations: 15.98 kB / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002582/0.01152, allocations: 60.67 kB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003694/0.01189, allocations: 208.8 kB / 381.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.524e-05/0.01193, allocations: 16.88 kB / 381.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.092e-05/0.01199, allocations: 24.38 kB / 381.1 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005923/0.01258, allocations: 252.6 kB / 381.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.0126, allocations: 4.188 kB / 381.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.481e-05/0.01265, allocations: 16.38 kB / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.01266, allocations: 11.88 kB / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005948/0.01325, allocations: 225.8 kB / 381.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.0148, allocations: 0.674 MB / 382.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005918/0.01539, allocations: 235 kB / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002731/0.01566, allocations: 120.1 kB / 382.7 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.341e-05/0.0157, allocations: 4 kB / 382.7 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.01574, allocations: 45.33 kB / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.363e-06/0.01574, allocations: 0 / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.003404/0.01915, allocations: 1.17 MB / 383.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/0.01921, allocations: 55.41 kB / 383.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003202/0.01953, allocations: 262 kB / 384.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.78e-05/0.01958, allocations: 37.64 kB / 384.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.01975, allocations: 203.4 kB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.01989, allocations: 123.1 kB / 384.5 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.02006, allocations: 83.34 kB / 384.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003145/0.02037, allocations: 0.5118 MB / 385.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002696/0.02064, allocations: 116 kB / 385.2 MB, free: 10.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003154/0.02096, allocations: 174.6 kB / 385.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005054/0.02146, allocations: 252 kB / 385.7 MB, free: 10.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.02146, allocations: 0 / 385.7 MB, free: 10.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009916/0.02246, allocations: 444.7 kB / 386.1 MB, free: 9.797 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.02248, allocations: 11.98 kB / 386.1 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.02249, allocations: 0 / 386.1 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005411/0.02303, allocations: 187.5 kB / 386.3 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.02327, allocations: 59.97 kB / 386.4 MB, free: 9.539 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00108/0.02435, allocations: 0.9952 MB / 387.3 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.02458, allocations: 27.97 kB / 387.4 MB, free: 8.484 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.16e-05/0.02461, allocations: 8 kB / 387.4 MB, free: 8.477 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.0003302/0.02495, allocations: 192.5 kB / 387.6 MB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.02505, allocations: 35.8 kB / 387.6 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.02516, allocations: 38.64 kB / 387.6 MB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.02517, allocations: 8.031 kB / 387.7 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.02518, allocations: 0 / 387.7 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.02518, allocations: 0 / 387.7 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001852/0.02703, allocations: 0.9098 MB / 388.6 MB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.02704, allocations: 0 / 388.6 MB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/0.02727, allocations: 47.91 kB / 388.6 MB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004406/0.02772, allocations: 179.5 kB / 388.8 MB, free: 7.004 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/0.02775, allocations: 7.984 kB / 388.8 MB, free: 6.996 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009557/0.0287, allocations: 0.9483 MB / 389.7 MB, free: 6.016 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.108e-05/0.02871, allocations: 11.98 kB / 389.8 MB, free: 6.004 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.03, allocations: 0.6497 MB / 390.4 MB, free: 5.324 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.03014, allocations: 55.8 kB / 390.5 MB, free: 5.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.192e-05/0.0302, allocations: 11.94 kB / 390.5 MB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.03042, allocations: 19.98 kB / 390.5 MB, free: 5.238 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.03056, allocations: 59.83 kB / 390.5 MB, free: 5.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/0.03059, allocations: 11.98 kB / 390.6 MB, free: 5.168 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001722/0.03076, allocations: 179.4 kB / 390.7 MB, free: 4.992 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03076, allocations: 0 / 390.7 MB, free: 4.992 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003906/0.03115, allocations: 72 kB / 390.8 MB, free: 4.922 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.002514/0.03367, allocations: 395.5 kB / 391.2 MB, free: 4.684 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008269/0.0345, allocations: 311.7 kB / 391.5 MB, free: 4.375 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.0345, allocations: 4 kB / 391.5 MB, free: 4.371 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003851/0.03488, allocations: 163.4 kB / 391.7 MB, free: 4.207 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004601/0.03534, allocations: 51.95 kB / 391.7 MB, free: 4.156 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/0.03726, allocations: 0.6791 MB / 392.4 MB, free: 3.449 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001858/0.03744, allocations: 150.9 kB / 392.5 MB, free: 3.281 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.59e-05/0.03754, allocations: 18.3 kB / 392.6 MB, free: 3.262 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.959e-05/0.03762, allocations: 24.5 kB / 392.6 MB, free: 3.238 MB / 362.7 MB Notification: Performance of SimCode: time 1.352e-06/0.03762, allocations: 7.938 kB / 392.6 MB, free: 3.23 MB / 362.7 MB Notification: Performance of Templates: time 0.01087/0.04849, allocations: 4.363 MB / 396.9 MB, free: 14.89 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","/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.2429849749896675]