Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001547/0.001547, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001195/0.001195, allocations: 167.7 kB / 24.99 MB, free: 8.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.04/1.04, allocations: 177 MB / 205.2 MB, free: 5.531 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 273 MB, free: 1.703 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.383e-05/1.515e-05, allocations: 2.312 kB / 273 MB, free: 1.699 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.007976/0.007991, allocations: 10.12 MB / 283.1 MB, free: 7.531 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003504/0.01149, allocations: 3.26 MB / 286.4 MB, free: 4.262 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004664/0.01196, allocations: 79.5 kB / 286.5 MB, free: 4.184 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009847/0.01295, allocations: 0.6945 MB / 287.2 MB, free: 3.484 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001195/0.01414, allocations: 0.9275 MB / 288.1 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004541/0.01459, allocations: 431.2 kB / 288.5 MB, free: 2.129 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1101/0.1247, allocations: 3.085 MB / 291.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001731/0.1264, allocations: 1.337 MB / 292.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002191/0.1286, allocations: 2.039 MB / 295 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001909/0.1305, allocations: 1.619 MB / 296.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005905/0.1311, allocations: 353.8 kB / 296.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007087/0.1318, allocations: 466 kB / 297.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007326/0.1325, allocations: 1.073 MB / 298.5 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009037/0.1334, allocations: 1.118 MB / 299.6 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002028/0.1355, allocations: 2.652 MB / 302.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1355, allocations: 0 / 302.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1355, allocations: 2.438 kB / 302.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.002e-05/0.1355, allocations: 0 / 302.2 MB, free: 14.05 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.003334/0.1388, allocations: 3.464 MB / 305.7 MB, free: 12.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.1389, allocations: 13.88 kB / 305.7 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007914/0.1397, allocations: 0.5501 MB / 306.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/0.1412, allocations: 1.631 MB / 307.9 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.833e-05/0.1413, allocations: 177.2 kB / 308.1 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002032/0.1415, allocations: 238.4 kB / 308.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002147/0.1436, allocations: 1.923 MB / 310.2 MB, free: 9.906 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.504e-05/0.1437, allocations: 7.891 kB / 310.2 MB, free: 9.898 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001462/0.1438, allocations: 92.38 kB / 310.3 MB, free: 9.828 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.573e-05/0.1439, allocations: 108.8 kB / 310.4 MB, free: 9.809 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001527/0.1454, allocations: 0.8818 MB / 311.3 MB, free: 9.484 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006503/0.1519, allocations: 8.01 MB / 319.3 MB, free: 1.504 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009793/0.1529, allocations: 0.7782 MB / 320.1 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006934/0.1536, allocations: 0.5414 MB / 320.6 MB, free: 212 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001577/0.1538, allocations: 56.97 kB / 320.7 MB, free: 152 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.1538, allocations: 54.33 kB / 320.7 MB, free: 88 kB / 266.7 MB Notification: Performance of pre-optimization done (n=116): time 2.395e-06/0.1538, allocations: 0 / 320.7 MB, free: 88 kB / 266.7 MB Notification: Performance of matching and sorting (n=131): time 0.005111/0.1589, allocations: 3.396 MB / 324.1 MB, free: 12.68 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.1589, allocations: 68.72 kB / 324.2 MB, free: 12.6 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.1602, allocations: 1.429 MB / 325.6 MB, free: 11.15 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.504e-05/0.1603, allocations: 45.7 kB / 325.7 MB, free: 11.1 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005886/0.1609, allocations: 1.281 MB / 327 MB, free: 9.809 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002592/0.1611, allocations: 486.5 kB / 327.4 MB, free: 9.34 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002922/0.1614, allocations: 293.1 kB / 327.7 MB, free: 9.043 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.135e-05/0.1615, allocations: 480.7 kB / 328.2 MB, free: 8.57 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004007/0.1619, allocations: 239.8 kB / 328.4 MB, free: 8.336 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006595/0.1626, allocations: 0.8163 MB / 329.2 MB, free: 7.301 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.1637, allocations: 1.172 MB / 330.4 MB, free: 5.949 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.1637, allocations: 4 kB / 330.4 MB, free: 5.945 MB / 282.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001832/0.1655, allocations: 1.438 MB / 331.9 MB, free: 4.574 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.1656, allocations: 15.94 kB / 331.9 MB, free: 4.559 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.1656, allocations: 12 kB / 331.9 MB, free: 4.547 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005346/0.1661, allocations: 254.1 kB / 332.1 MB, free: 4.285 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006991/0.1668, allocations: 356 kB / 332.5 MB, free: 3.957 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003477/0.1703, allocations: 6.614 MB / 339.1 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005214/0.1708, allocations: 99.86 kB / 339.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.771e-05/0.1709, allocations: 63.98 kB / 339.3 MB, free: 12.87 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.0003723/0.1712, allocations: 252 kB / 339.5 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002298/0.1715, allocations: 226.8 kB / 339.7 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001601/0.1731, allocations: 1.176 MB / 340.9 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.1731, allocations: 12 kB / 340.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1731, allocations: 11.12 kB / 340.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.1731, allocations: 7.984 kB / 340.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003823/0.1769, allocations: 3.337 MB / 344.3 MB, free: 7.801 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.1769, allocations: 0 / 344.3 MB, free: 7.801 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005197/0.1774, allocations: 230.2 kB / 344.5 MB, free: 7.586 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005991/0.178, allocations: 293.7 kB / 344.8 MB, free: 7.289 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.13e-05/0.1781, allocations: 31.98 kB / 344.8 MB, free: 7.258 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004091/0.1822, allocations: 8.423 MB / 353.2 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.1822, allocations: 7.75 kB / 353.2 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002032/0.1842, allocations: 1.712 MB / 355 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004247/0.1847, allocations: 330.6 kB / 355.3 MB, free: 12.28 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.1848, allocations: 35.98 kB / 355.3 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004587/0.1853, allocations: 75.92 kB / 355.4 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/0.1854, allocations: 132.2 kB / 355.5 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.397e-05/0.1855, allocations: 39.98 kB / 355.6 MB, free: 12 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007968/0.1863, allocations: 0.8194 MB / 356.4 MB, free: 11.19 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1863, allocations: 0 / 356.4 MB, free: 11.19 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001016/0.1873, allocations: 0.5039 MB / 356.9 MB, free: 10.69 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%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003062/0.1876, allocations: 205.7 kB / 357.1 MB, free: 10.49 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002084/0.1897, allocations: 1.539 MB / 358.6 MB, free: 8.945 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.1897, allocations: 0 / 358.6 MB, free: 8.945 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001456/0.1912, allocations: 1.3 MB / 359.9 MB, free: 7.598 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/0.1926, allocations: 441.8 kB / 360.3 MB, free: 7.188 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005866/0.1985, allocations: 4.267 MB / 364.6 MB, free: 2.836 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006152/0.1991, allocations: 0.656 MB / 365.3 MB, free: 2.152 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008001/0.1999, allocations: 342.3 kB / 365.6 MB, free: 1.812 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003303/0.2003, allocations: 128.5 kB / 365.7 MB, free: 1.688 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.2003, allocations: 0 / 365.7 MB, free: 1.688 MB / 314.7 MB Notification: Performance of Templates: time 0.03654/0.2368, allocations: 26.99 MB / 392.7 MB, free: 7.105 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.477376419119537]