Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 145.4 kB / 24.89 MB, free: 9.211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9604/0.9604, allocations: 173.4 MB / 201.5 MB, free: 9.215 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 268.5 MB, free: 6.152 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.526e-05, allocations: 2.312 kB / 268.5 MB, free: 6.148 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01067/0.0107, allocations: 9.912 MB / 278.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00586/0.01656, allocations: 3.274 MB / 281.7 MB, free: 8.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008361/0.01739, allocations: 75.5 kB / 281.8 MB, free: 8.836 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001395/0.01879, allocations: 0.7101 MB / 282.5 MB, free: 8.121 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001766/0.02056, allocations: 0.9119 MB / 283.4 MB, free: 7.203 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006684/0.02122, allocations: 423.2 kB / 283.8 MB, free: 6.789 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002554/0.02378, allocations: 3.069 MB / 286.9 MB, free: 3.707 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00175/0.02553, allocations: 1.368 MB / 288.3 MB, free: 2.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1093/0.1348, allocations: 2.247 MB / 290.5 MB, free: 17.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002201/0.137, allocations: 1.519 MB / 292 MB, free: 17.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007681/0.1378, allocations: 342.1 kB / 292.4 MB, free: 17.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007617/0.1386, allocations: 444 kB / 292.8 MB, free: 17.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006813/0.1393, allocations: 1.022 MB / 293.8 MB, free: 17.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00122/0.1405, allocations: 1.084 MB / 294.9 MB, free: 17.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002604/0.1431, allocations: 2.578 MB / 297.5 MB, free: 16.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1431, allocations: 0.8125 kB / 297.5 MB, free: 16.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.1431, allocations: 1.156 kB / 297.5 MB, free: 16.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.238e-05/0.1432, allocations: 7.219 kB / 297.5 MB, free: 16.79 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.004147/0.1473, allocations: 2.994 MB / 300.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.1474, allocations: 13.06 kB / 300.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007518/0.1481, allocations: 425.3 kB / 300.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/0.1496, allocations: 1.187 MB / 302.1 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.364e-05/0.1496, allocations: 182.4 kB / 302.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000244/0.1499, allocations: 234.1 kB / 302.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/0.1519, allocations: 1.79 MB / 304.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.961e-05/0.152, allocations: 8.344 kB / 304.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001612/0.1521, allocations: 95.91 kB / 304.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.777e-05/0.1522, allocations: 104.6 kB / 304.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.1533, allocations: 0.6938 MB / 305.2 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005435/0.1587, allocations: 6.191 MB / 311.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007866/0.1595, allocations: 0.7644 MB / 312.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005/0.16, allocations: 464.2 kB / 312.6 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001462/0.1602, allocations: 65.12 kB / 312.7 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.1602, allocations: 53.64 kB / 312.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=116): time 2.425e-06/0.1602, allocations: 0 / 312.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=131): time 0.003697/0.1639, allocations: 2.629 MB / 315.3 MB, free: 8.828 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.759e-05/0.1639, allocations: 64.72 kB / 315.4 MB, free: 8.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006248/0.1645, allocations: 1.136 MB / 316.5 MB, free: 7.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.296e-05/0.1646, allocations: 45.7 kB / 316.6 MB, free: 7.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.1648, allocations: 0.9634 MB / 317.5 MB, free: 6.863 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.165, allocations: 471.9 kB / 318 MB, free: 6.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.1652, allocations: 267.3 kB / 318.3 MB, free: 6.191 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.138e-05/0.1652, allocations: 305.1 kB / 318.6 MB, free: 5.891 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.1654, allocations: 178.8 kB / 318.7 MB, free: 5.715 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002814/0.1657, allocations: 0.5744 MB / 319.3 MB, free: 5.016 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006144/0.1663, allocations: 0.9178 MB / 320.2 MB, free: 4.016 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.1663, allocations: 4 kB / 320.2 MB, free: 4.012 MB / 266.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001053/0.1674, allocations: 1.042 MB / 321.3 MB, free: 3.039 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1674, allocations: 12 kB / 321.3 MB, free: 3.027 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.1674, allocations: 15.94 kB / 321.3 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000414/0.1678, allocations: 239.3 kB / 321.5 MB, free: 2.773 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006534/0.1685, allocations: 341.4 kB / 321.9 MB, free: 2.461 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002283/0.1707, allocations: 4.715 MB / 326.6 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004297/0.1712, allocations: 59.88 kB / 326.6 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.82e-05/0.1712, allocations: 51.98 kB / 326.7 MB, free: 13.45 MB / 282.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.0003397/0.1716, allocations: 219.4 kB / 326.9 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/0.1718, allocations: 147.8 kB / 327.1 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.1728, allocations: 0.8954 MB / 327.9 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.1728, allocations: 16.03 kB / 328 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1728, allocations: 8 kB / 328 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.1728, allocations: 3.984 kB / 328 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002799/0.1756, allocations: 2.605 MB / 330.6 MB, free: 9.836 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.1756, allocations: 4 kB / 330.6 MB, free: 9.832 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006003/0.1762, allocations: 283.8 kB / 330.9 MB, free: 9.562 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004885/0.1767, allocations: 260.5 kB / 331.1 MB, free: 9.301 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.183e-05/0.1768, allocations: 34.28 kB / 331.1 MB, free: 9.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003005/0.1798, allocations: 5.921 MB / 337.1 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.1798, allocations: 4 kB / 337.1 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/0.1812, allocations: 1.311 MB / 338.4 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003071/0.1815, allocations: 230.2 kB / 338.6 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.1816, allocations: 35.98 kB / 338.6 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003595/0.182, allocations: 46.77 kB / 338.7 MB, free: 1.43 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.1821, allocations: 116.6 kB / 338.8 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.891e-05/0.1822, allocations: 27.98 kB / 338.8 MB, free: 1.293 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004582/0.1826, allocations: 0.5665 MB / 339.4 MB, free: 0.793 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1826, allocations: 0 / 339.4 MB, free: 0.793 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009513/0.1836, allocations: 0.4921 MB / 339.9 MB, free: 308 kB / 282.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.0002376/0.1838, allocations: 182.8 kB / 340.1 MB, free: 132 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.185, allocations: 1.189 MB / 341.3 MB, free: 14.96 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.925e-05/0.185, allocations: 16.5 kB / 341.3 MB, free: 14.95 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007845/0.1858, allocations: 0.9576 MB / 342.2 MB, free: 13.99 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009406/0.1867, allocations: 433.3 kB / 342.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004226/0.191, allocations: 4.049 MB / 346.7 MB, free: 9.477 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004566/0.1914, allocations: 0.574 MB / 347.3 MB, free: 8.875 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004787/0.1919, allocations: 218.4 kB / 347.5 MB, free: 8.656 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006741/0.1926, allocations: 443 kB / 347.9 MB, free: 8.219 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1926, allocations: 0 / 347.9 MB, free: 8.219 MB / 298.7 MB Notification: Performance of Templates: time 0.03053/0.2231, allocations: 27.32 MB / 375.2 MB, free: 13.38 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.006525149103254]