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.0009362/0.0009362, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.00107/0.00107, allocations: 165.5 kB / 24.91 MB, free: 8.762 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 0.89/0.89, allocations: 177 MB / 205.2 MB, free: 5.059 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.383e-06/1.383e-06, allocations: 0 / 273.4 MB, free: 1.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.532e-05/1.67e-05, allocations: 9.203 kB / 273.4 MB, free: 1.066 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01071/0.01073, allocations: 9.905 MB / 283.3 MB, free: 7.113 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006096/0.01683, allocations: 3.375 MB / 286.7 MB, free: 3.727 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006328/0.01746, allocations: 71.5 kB / 286.8 MB, free: 3.656 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.0185, allocations: 0.7023 MB / 287.5 MB, free: 2.949 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00145/0.01995, allocations: 0.9391 MB / 288.4 MB, free: 2.004 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005329/0.02048, allocations: 435.2 kB / 288.8 MB, free: 1.578 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1129/0.1333, allocations: 3.085 MB / 291.9 MB, free: 16.24 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00187/0.1352, allocations: 1.366 MB / 293.3 MB, free: 16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002773/0.138, allocations: 2.268 MB / 295.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001824/0.1398, allocations: 1.523 MB / 297.1 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006141/0.1404, allocations: 344.2 kB / 297.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007018/0.1411, allocations: 448.4 kB / 297.8 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007208/0.1418, allocations: 1.028 MB / 298.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001057/0.1429, allocations: 1.088 MB / 299.9 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002117/0.145, allocations: 2.597 MB / 302.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.145, allocations: 0 / 302.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.145, allocations: 3.844 kB / 302.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.354e-05/0.1451, allocations: 0 / 302.5 MB, free: 14.08 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.002709/0.1478, allocations: 3.02 MB / 305.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.787e-05/0.1478, allocations: 9.969 kB / 305.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006449/0.1485, allocations: 452.3 kB / 306 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/0.1497, allocations: 1.217 MB / 307.2 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.247e-05/0.1497, allocations: 172.9 kB / 307.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001972/0.1499, allocations: 240.6 kB / 307.6 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/0.1515, allocations: 1.789 MB / 309.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.353e-05/0.1515, allocations: 10.45 kB / 309.4 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/0.1516, allocations: 98.84 kB / 309.5 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.454e-05/0.1517, allocations: 107 kB / 309.6 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008792/0.1526, allocations: 0.6985 MB / 310.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004973/0.1575, allocations: 6.193 MB / 316.5 MB, free: 4.562 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007209/0.1583, allocations: 0.7572 MB / 317.3 MB, free: 3.828 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004916/0.1588, allocations: 468.1 kB / 317.7 MB, free: 3.391 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000142/0.1589, allocations: 52.97 kB / 317.8 MB, free: 3.336 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.1589, allocations: 51.56 kB / 317.8 MB, free: 3.277 MB / 266.7 MB Notification: Performance of pre-optimization done (n=116): time 2.194e-06/0.1589, allocations: 0 / 317.8 MB, free: 3.277 MB / 266.7 MB Notification: Performance of matching and sorting (n=131): time 0.003617/0.1625, allocations: 2.636 MB / 320.5 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.833e-05/0.1626, allocations: 64.72 kB / 320.5 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006722/0.1632, allocations: 1.152 MB / 321.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.277e-05/0.1633, allocations: 49.64 kB / 321.7 MB, free: 15.59 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003794/0.1637, allocations: 0.9667 MB / 322.7 MB, free: 14.68 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002211/0.1639, allocations: 473.2 kB / 323.2 MB, free: 14.24 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002509/0.1641, allocations: 268.4 kB / 323.4 MB, free: 14 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.848e-05/0.1642, allocations: 304.2 kB / 323.7 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/0.1645, allocations: 186.8 kB / 323.9 MB, free: 13.52 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003813/0.1648, allocations: 0.5645 MB / 324.5 MB, free: 12.84 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007209/0.1656, allocations: 0.9147 MB / 325.4 MB, free: 11.84 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.1656, allocations: 4 kB / 325.4 MB, free: 11.83 MB / 282.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001167/0.1667, allocations: 1.046 MB / 326.4 MB, free: 10.86 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1667, allocations: 8 kB / 326.5 MB, free: 10.85 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.1668, allocations: 16.28 kB / 326.5 MB, free: 10.83 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004431/0.1672, allocations: 238.4 kB / 326.7 MB, free: 10.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000609/0.1678, allocations: 318 kB / 327 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00255/0.1704, allocations: 4.709 MB / 331.7 MB, free: 5.402 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004091/0.1708, allocations: 59.92 kB / 331.8 MB, free: 5.344 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.479e-05/0.1708, allocations: 47.98 kB / 331.8 MB, free: 5.297 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.0003331/0.1712, allocations: 217.4 kB / 332 MB, free: 5.098 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/0.1713, allocations: 151.8 kB / 332.2 MB, free: 4.949 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.1726, allocations: 0.9029 MB / 333.1 MB, free: 4.043 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.1726, allocations: 12 kB / 333.1 MB, free: 4.031 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.1726, allocations: 4 kB / 333.1 MB, free: 4.027 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.1726, allocations: 3.984 kB / 333.1 MB, free: 4.023 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00334/0.176, allocations: 2.618 MB / 335.7 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.176, allocations: 4 kB / 335.7 MB, free: 1.668 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004582/0.1764, allocations: 206 kB / 335.9 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005389/0.177, allocations: 320.9 kB / 336.2 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.568e-05/0.177, allocations: 31.98 kB / 336.3 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00293/0.1799, allocations: 5.898 MB / 342.2 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1799, allocations: 4 kB / 342.2 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.1813, allocations: 1.32 MB / 343.5 MB, free: 9.586 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003209/0.1816, allocations: 230.7 kB / 343.7 MB, free: 9.359 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.1818, allocations: 35.98 kB / 343.8 MB, free: 9.324 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003508/0.1821, allocations: 47.97 kB / 343.8 MB, free: 9.277 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.1822, allocations: 108.3 kB / 343.9 MB, free: 9.172 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.101e-05/0.1823, allocations: 31.98 kB / 343.9 MB, free: 9.141 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004303/0.1827, allocations: 0.5754 MB / 344.5 MB, free: 8.633 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1827, allocations: 0 / 344.5 MB, free: 8.633 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009828/0.1837, allocations: 499.9 kB / 345 MB, free: 8.145 MB / 298.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.0002479/0.184, allocations: 185.7 kB / 345.2 MB, free: 7.969 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001139/0.1851, allocations: 1.198 MB / 346.4 MB, free: 6.801 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.85e-05/0.1851, allocations: 16.75 kB / 346.4 MB, free: 6.785 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007798/0.1859, allocations: 0.9526 MB / 347.4 MB, free: 5.828 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009602/0.1868, allocations: 427.7 kB / 347.8 MB, free: 5.43 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004038/0.1909, allocations: 4.058 MB / 351.8 MB, free: 1.316 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004662/0.1914, allocations: 0.5741 MB / 352.4 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004508/0.1918, allocations: 222.5 kB / 352.6 MB, free: 500 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006615/0.1925, allocations: 439 kB / 353.1 MB, free: 52 kB / 298.7 MB Notification: Performance of SimCode: time 7.41e-07/0.1925, allocations: 3.938 kB / 353.1 MB, free: 48 kB / 298.7 MB Notification: Performance of Templates: time 0.02986/0.2223, allocations: 27.46 MB / 380.5 MB, free: 5.07 MB / 330.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.1528162132017314]