Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.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.001462/0.001462, allocations: 82.66 kB / 21.42 MB, free: 3.07 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.001271/0.001271, allocations: 170.3 kB / 24.82 MB, free: 9.238 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 0.9423/0.9423, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 273.4 MB, free: 1.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.607e-05/1.772e-05, allocations: 2.312 kB / 273.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.008364/0.008382, allocations: 9.881 MB / 283.3 MB, free: 7.355 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005562/0.01394, allocations: 3.24 MB / 286.5 MB, free: 4.109 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009849/0.01493, allocations: 71.5 kB / 286.6 MB, free: 4.039 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001388/0.01632, allocations: 0.6984 MB / 287.3 MB, free: 3.336 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001764/0.01808, allocations: 0.9314 MB / 288.2 MB, free: 2.398 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000695/0.01878, allocations: 431.2 kB / 288.7 MB, free: 1.977 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1129/0.1316, allocations: 3.077 MB / 291.7 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002158/0.1338, allocations: 1.336 MB / 293.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003806/0.1376, allocations: 2.275 MB / 295.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00279/0.1404, allocations: 1.536 MB / 296.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001081/0.1415, allocations: 343.1 kB / 297.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.1426, allocations: 452.1 kB / 297.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008381/0.1434, allocations: 1.029 MB / 298.7 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002055/0.1455, allocations: 1.085 MB / 299.8 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003335/0.1488, allocations: 2.596 MB / 302.4 MB, free: 14.01 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1488, allocations: 0 / 302.4 MB, free: 14.01 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1488, allocations: 0.9375 kB / 302.4 MB, free: 14.01 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001435/0.149, allocations: 0 / 302.4 MB, free: 14.01 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.005042/0.154, allocations: 3.307 MB / 305.7 MB, free: 12.13 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.154, allocations: 14.59 kB / 305.7 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.155, allocations: 0.5446 MB / 306.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/0.1569, allocations: 1.561 MB / 307.8 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.157, allocations: 184 kB / 308 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002569/0.1573, allocations: 232.9 kB / 308.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002211/0.1595, allocations: 1.769 MB / 310 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.724e-05/0.1596, allocations: 14.47 kB / 310 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001568/0.1597, allocations: 92.66 kB / 310.1 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.6e-05/0.1598, allocations: 109.5 kB / 310.2 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.1609, allocations: 0.6865 MB / 310.9 MB, free: 9.855 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007714/0.1686, allocations: 7.755 MB / 318.6 MB, free: 2.547 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009144/0.1696, allocations: 0.7669 MB / 319.4 MB, free: 1.824 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005291/0.1701, allocations: 496 kB / 319.9 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001388/0.1702, allocations: 48.97 kB / 319.9 MB, free: 1.301 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.1702, allocations: 50.39 kB / 320 MB, free: 1.242 MB / 266.7 MB Notification: Performance of pre-optimization done (n=116): time 3.016e-06/0.1703, allocations: 0 / 320 MB, free: 1.242 MB / 266.7 MB Notification: Performance of matching and sorting (n=131): time 0.004313/0.1746, allocations: 2.666 MB / 322.6 MB, free: 14.6 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.1746, allocations: 68.72 kB / 322.7 MB, free: 14.52 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.1758, allocations: 1.375 MB / 324.1 MB, free: 13.34 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.719e-05/0.1759, allocations: 45.7 kB / 324.1 MB, free: 13.29 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007758/0.1767, allocations: 1.296 MB / 325.4 MB, free: 12.04 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002676/0.1769, allocations: 488.4 kB / 325.9 MB, free: 11.59 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002947/0.1772, allocations: 300.2 kB / 326.2 MB, free: 11.32 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.843e-05/0.1773, allocations: 480.8 kB / 326.7 MB, free: 10.85 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002706/0.1776, allocations: 187.8 kB / 326.8 MB, free: 10.67 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000485/0.1781, allocations: 0.7543 MB / 327.6 MB, free: 9.723 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.1792, allocations: 1.073 MB / 328.7 MB, free: 8.504 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.1792, allocations: 4 kB / 328.7 MB, free: 8.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001589/0.1808, allocations: 1.311 MB / 330 MB, free: 7.262 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.1808, allocations: 12.28 kB / 330 MB, free: 7.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.1808, allocations: 16 kB / 330 MB, free: 7.234 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005024/0.1813, allocations: 240.8 kB / 330.2 MB, free: 6.988 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006613/0.182, allocations: 316.4 kB / 330.6 MB, free: 6.699 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004069/0.186, allocations: 6.449 MB / 337 MB, free: 4 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008552/0.1869, allocations: 53.39 kB / 337.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.132e-05/0.187, allocations: 55.98 kB / 337.1 MB, free: 15.9 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006045/0.1876, allocations: 252.5 kB / 337.4 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002484/0.1878, allocations: 230.8 kB / 337.6 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/0.1891, allocations: 1.054 MB / 338.6 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/0.1891, allocations: 12 kB / 338.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.1891, allocations: 7.938 kB / 338.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.1892, allocations: 7.984 kB / 338.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003889/0.193, allocations: 3.161 MB / 341.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.193, allocations: 4 kB / 341.8 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004923/0.1935, allocations: 200.3 kB / 342 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005432/0.1941, allocations: 275.5 kB / 342.3 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.72e-05/0.1942, allocations: 35.98 kB / 342.3 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004234/0.1984, allocations: 8.157 MB / 350.5 MB, free: 2.414 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1984, allocations: 4 kB / 350.5 MB, free: 2.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00242/0.2008, allocations: 1.564 MB / 352.1 MB, free: 0.793 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005291/0.2013, allocations: 282.7 kB / 352.3 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.2015, allocations: 36.05 kB / 352.4 MB, free: 492 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004086/0.2019, allocations: 51.97 kB / 352.4 MB, free: 440 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001767/0.2021, allocations: 108.6 kB / 352.5 MB, free: 332 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.812e-05/0.2021, allocations: 27.98 kB / 352.6 MB, free: 304 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007565/0.2029, allocations: 0.748 MB / 353.3 MB, free: 15.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.2029, allocations: 0 / 353.3 MB, free: 15.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001469/0.2043, allocations: 0.496 MB / 353.8 MB, free: 15.12 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,100.0%), (1,6,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003394/0.2047, allocations: 203.1 kB / 354 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001917/0.2066, allocations: 1.433 MB / 355.4 MB, free: 13.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.2066, allocations: 4.188 kB / 355.4 MB, free: 13.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001188/0.2078, allocations: 1.206 MB / 356.6 MB, free: 12.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/0.2091, allocations: 430.6 kB / 357.1 MB, free: 11.87 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006394/0.2155, allocations: 4.207 MB / 361.3 MB, free: 7.605 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006511/0.2162, allocations: 0.6677 MB / 361.9 MB, free: 6.906 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000694/0.2169, allocations: 222.5 kB / 362.2 MB, free: 6.684 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008713/0.2178, allocations: 485.9 kB / 362.6 MB, free: 6.207 MB / 314.7 MB Notification: Performance of SimCode: time 8.41e-07/0.2178, allocations: 0 / 362.6 MB, free: 6.207 MB / 314.7 MB Notification: Performance of Templates: time 0.04279/0.2605, allocations: 27.63 MB / 390.3 MB, free: 11.09 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.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.3561079590581357]