Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.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.0009062/0.0009062, 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.0008727/0.0008727, allocations: 163.5 kB / 24.91 MB, free: 8.258 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.9848/0.9848, allocations: 177 MB / 205.2 MB, free: 5.445 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_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 273.4 MB, free: 1.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.627e-05/1.801e-05, allocations: 6.312 kB / 273.4 MB, free: 1.156 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.00847/0.008488, allocations: 9.411 MB / 282.9 MB, free: 7.703 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004828/0.01332, allocations: 3.196 MB / 286 MB, free: 4.496 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005655/0.01388, allocations: 75.5 kB / 286.1 MB, free: 4.422 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009967/0.01488, allocations: 0.6906 MB / 286.8 MB, free: 3.727 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001398/0.01628, allocations: 0.8381 MB / 287.7 MB, free: 2.883 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005401/0.01682, allocations: 403.3 kB / 288 MB, free: 2.488 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1212/0.138, allocations: 2.649 MB / 290.7 MB, free: 16.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002308/0.1403, allocations: 1.296 MB / 292 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003713/0.144, allocations: 2.015 MB / 294 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002512/0.1465, allocations: 1.318 MB / 295.3 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00088/0.1474, allocations: 307.2 kB / 295.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009835/0.1484, allocations: 420.9 kB / 296 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000817/0.1492, allocations: 0.8953 MB / 296.9 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002088/0.1513, allocations: 0.9578 MB / 297.9 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003304/0.1546, allocations: 2.26 MB / 300.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1546, allocations: 0 / 300.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1546, allocations: 1.438 kB / 300.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001045/0.1547, allocations: 1.375 kB / 300.1 MB, free: 15.21 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.004249/0.1589, allocations: 2.656 MB / 302.8 MB, free: 13.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.159, allocations: 15.89 kB / 302.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000805/0.1598, allocations: 388.2 kB / 303.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/0.1614, allocations: 1.09 MB / 304.3 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.809e-05/0.1615, allocations: 156 kB / 304.4 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002041/0.1617, allocations: 215.6 kB / 304.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/0.1635, allocations: 1.617 MB / 306.3 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.827e-05/0.1636, allocations: 10.69 kB / 306.3 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/0.1637, allocations: 84.47 kB / 306.4 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.241e-05/0.1638, allocations: 106.2 kB / 306.5 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009728/0.1647, allocations: 0.6273 MB / 307.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005908/0.1706, allocations: 5.484 MB / 312.6 MB, free: 8.672 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007582/0.1714, allocations: 0.6566 MB / 313.2 MB, free: 8.035 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004781/0.1719, allocations: 425.2 kB / 313.6 MB, free: 7.629 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001633/0.172, allocations: 56.09 kB / 313.7 MB, free: 7.578 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.1721, allocations: 47.56 kB / 313.8 MB, free: 7.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=101): time 2.605e-06/0.1721, allocations: 0 / 313.8 MB, free: 7.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=116): time 0.004154/0.1762, allocations: 2.448 MB / 316.2 MB, free: 5.094 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.084e-05/0.1762, allocations: 64.41 kB / 316.3 MB, free: 5.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000612/0.1769, allocations: 0.9723 MB / 317.2 MB, free: 4.223 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.044e-05/0.1769, allocations: 45.7 kB / 317.3 MB, free: 4.172 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/0.1771, allocations: 0.8858 MB / 318.2 MB, free: 3.332 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.1773, allocations: 433.1 kB / 318.6 MB, free: 2.934 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002111/0.1775, allocations: 243.9 kB / 318.8 MB, free: 2.715 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.303e-05/0.1776, allocations: 366.4 kB / 319.2 MB, free: 2.383 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.1778, allocations: 166.8 kB / 319.3 MB, free: 2.219 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002888/0.178, allocations: 0.5332 MB / 319.9 MB, free: 1.566 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006207/0.1787, allocations: 0.8461 MB / 320.7 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/0.1787, allocations: 4 kB / 320.7 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.001237/0.1799, allocations: 0.9757 MB / 321.7 MB, free: 15.72 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.339e-05/0.1799, allocations: 15.98 kB / 321.7 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/0.18, allocations: 15.47 kB / 321.7 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005231/0.1805, allocations: 237.5 kB / 322 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006748/0.1812, allocations: 308.8 kB / 322.3 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003135/0.1843, allocations: 4.714 MB / 327 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006134/0.1849, allocations: 55.94 kB / 327 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-05/0.185, allocations: 43.98 kB / 327.1 MB, free: 10.17 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 153 * 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.0005137/0.1855, allocations: 197.2 kB / 327.3 MB, free: 9.984 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/0.1857, allocations: 131.8 kB / 327.4 MB, free: 9.855 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/0.1868, allocations: 0.8443 MB / 328.2 MB, free: 9.004 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.1868, allocations: 12 kB / 328.3 MB, free: 8.992 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1868, allocations: 4 kB / 328.3 MB, free: 8.988 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.1868, allocations: 7.969 kB / 328.3 MB, free: 8.98 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002984/0.1898, allocations: 2.388 MB / 330.7 MB, free: 6.824 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/0.1898, allocations: 4 kB / 330.7 MB, free: 6.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000456/0.1902, allocations: 194.9 kB / 330.9 MB, free: 6.641 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005866/0.1908, allocations: 307.5 kB / 331.2 MB, free: 6.336 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.361e-05/0.1909, allocations: 31.98 kB / 331.2 MB, free: 6.305 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0035/0.1944, allocations: 5.908 MB / 337.1 MB, free: 120 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.1944, allocations: 7.984 kB / 337.1 MB, free: 112 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.1958, allocations: 1.237 MB / 338.3 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003288/0.1962, allocations: 198.9 kB / 338.5 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.1963, allocations: 27.98 kB / 338.6 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000339/0.1966, allocations: 51.98 kB / 338.6 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/0.1968, allocations: 100.2 kB / 338.7 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.352e-05/0.1968, allocations: 24 kB / 338.7 MB, free: 14.45 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004325/0.1973, allocations: 490.2 kB / 339.2 MB, free: 14.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1973, allocations: 0 / 339.2 MB, free: 14.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001265/0.1985, allocations: 451.9 kB / 339.6 MB, free: 13.58 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 98 * 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,6,100.0%), (1,1,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.0003017/0.1988, allocations: 171.8 kB / 339.8 MB, free: 13.42 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001253/0.2001, allocations: 1.137 MB / 341 MB, free: 12.31 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-05/0.2001, allocations: 16.5 kB / 341 MB, free: 12.29 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008265/0.2009, allocations: 0.9239 MB / 341.9 MB, free: 11.36 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008755/0.2018, allocations: 369.4 kB / 342.3 MB, free: 11.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004851/0.2067, allocations: 3.61 MB / 345.9 MB, free: 7.371 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004474/0.2071, allocations: 0.4934 MB / 346.4 MB, free: 6.848 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005141/0.2076, allocations: 200.6 kB / 346.6 MB, free: 6.645 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005957/0.2082, allocations: 381 kB / 346.9 MB, free: 6.27 MB / 298.7 MB Notification: Performance of SimCode: time 1.253e-06/0.2082, allocations: 0 / 346.9 MB, free: 6.27 MB / 298.7 MB Notification: Performance of Templates: time 0.03314/0.2414, allocations: 23.77 MB / 370.7 MB, free: 14.96 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_Inverter/SMR_Inverter.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.465638909023255]