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.001368/0.001368, allocations: 87.67 kB / 21.19 MB, free: 3.371 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.001505/0.001505, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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.9709/0.9709, allocations: 177 MB / 204.8 MB, free: 5.594 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.573e-06/1.573e-06, allocations: 0 / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.996e-05/3.153e-05, allocations: 9.266 kB / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.0116/0.01163, allocations: 9.614 MB / 282.5 MB, free: 7.785 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005855/0.01748, allocations: 3.116 MB / 285.7 MB, free: 4.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001132/0.01861, allocations: 71.5 kB / 285.7 MB, free: 4.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.01999, allocations: 0.6635 MB / 286.4 MB, free: 3.922 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002006/0.022, allocations: 0.8497 MB / 287.2 MB, free: 3.066 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007237/0.02272, allocations: 403.3 kB / 287.6 MB, free: 2.672 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002402/0.02512, allocations: 2.649 MB / 290.3 MB, free: 12 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1222/0.1473, allocations: 1.257 MB / 291.5 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002687/0.15, allocations: 1.795 MB / 293.3 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002302/0.1523, allocations: 1.407 MB / 294.7 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007993/0.1531, allocations: 317.3 kB / 295.1 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009767/0.154, allocations: 419.9 kB / 295.5 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008836/0.1549, allocations: 0.9522 MB / 296.4 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002143/0.1571, allocations: 0.9861 MB / 297.4 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003548/0.1606, allocations: 2.315 MB / 299.7 MB, free: 15.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1606, allocations: 0.5312 kB / 299.7 MB, free: 15.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1606, allocations: 0 / 299.7 MB, free: 15.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001246/0.1608, allocations: 2.312 kB / 299.7 MB, free: 15.16 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.00585/0.1666, allocations: 3.064 MB / 302.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.1667, allocations: 17.52 kB / 302.8 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.1677, allocations: 481.5 kB / 303.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002082/0.1698, allocations: 1.434 MB / 304.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-05/0.1698, allocations: 166.7 kB / 304.9 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000206/0.17, allocations: 215 kB / 305.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002473/0.1725, allocations: 1.73 MB / 306.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.898e-05/0.1726, allocations: 11.64 kB / 306.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/0.1727, allocations: 90.56 kB / 306.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.319e-05/0.1728, allocations: 106.9 kB / 307 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001541/0.1743, allocations: 0.7935 MB / 307.8 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008016/0.1823, allocations: 7.011 MB / 314.8 MB, free: 5.867 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.1834, allocations: 0.6706 MB / 315.5 MB, free: 5.191 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007067/0.1841, allocations: 0.4956 MB / 316 MB, free: 4.703 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001949/0.1843, allocations: 56.97 kB / 316 MB, free: 4.648 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.1843, allocations: 53.77 kB / 316.1 MB, free: 4.586 MB / 266.7 MB Notification: Performance of pre-optimization done (n=101): time 4.148e-06/0.1843, allocations: 0 / 316.1 MB, free: 4.586 MB / 266.7 MB Notification: Performance of matching and sorting (n=116): time 0.005343/0.1897, allocations: 3.157 MB / 319.3 MB, free: 1.426 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.1897, allocations: 68.39 kB / 319.3 MB, free: 1.348 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.1908, allocations: 1.182 MB / 320.5 MB, free: 164 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.084e-05/0.1909, allocations: 45.7 kB / 320.5 MB, free: 112 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005958/0.1915, allocations: 1.144 MB / 321.7 MB, free: 14.96 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002836/0.1918, allocations: 437.9 kB / 322.1 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002843/0.192, allocations: 257.2 kB / 322.4 MB, free: 14.27 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.1922, allocations: 0.5394 MB / 322.9 MB, free: 13.73 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003969/0.1926, allocations: 223.9 kB / 323.1 MB, free: 13.51 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006191/0.1932, allocations: 0.7617 MB / 323.9 MB, free: 12.53 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.1943, allocations: 1.092 MB / 325 MB, free: 11.27 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/0.1943, allocations: 4 kB / 325 MB, free: 11.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.002026/0.1963, allocations: 1.332 MB / 326.3 MB, free: 9.988 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.1964, allocations: 16.25 kB / 326.3 MB, free: 9.973 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/0.1964, allocations: 12 kB / 326.3 MB, free: 9.961 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000589/0.197, allocations: 248.9 kB / 326.6 MB, free: 9.707 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006648/0.1976, allocations: 317 kB / 326.9 MB, free: 9.414 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00395/0.2016, allocations: 6.609 MB / 333.5 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009446/0.2025, allocations: 99.8 kB / 333.6 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.771e-05/0.2026, allocations: 59.98 kB / 333.7 MB, free: 2.336 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.0006981/0.2033, allocations: 242.5 kB / 333.9 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002577/0.2036, allocations: 191 kB / 334.1 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001593/0.2052, allocations: 1.097 MB / 335.2 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.2052, allocations: 12 kB / 335.2 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.2052, allocations: 4 kB / 335.2 MB, free: 0.793 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.2052, allocations: 11.91 kB / 335.2 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004485/0.2097, allocations: 3.006 MB / 338.2 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.2097, allocations: 4 kB / 338.2 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004992/0.2102, allocations: 202.3 kB / 338.4 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006583/0.2108, allocations: 305.1 kB / 338.7 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.127e-05/0.2109, allocations: 31.98 kB / 338.7 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004561/0.2155, allocations: 8.409 MB / 347.2 MB, free: 4.336 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.2155, allocations: 7.844 kB / 347.2 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002512/0.218, allocations: 1.612 MB / 348.8 MB, free: 2.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005314/0.2185, allocations: 278.9 kB / 349 MB, free: 2.387 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.2186, allocations: 31.98 kB / 349.1 MB, free: 2.355 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004418/0.2191, allocations: 71.92 kB / 349.1 MB, free: 2.285 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001825/0.2193, allocations: 108.2 kB / 349.3 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.986e-05/0.2193, allocations: 39.98 kB / 349.3 MB, free: 2.145 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008717/0.2202, allocations: 0.6846 MB / 350 MB, free: 1.453 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2202, allocations: 0 / 350 MB, free: 1.453 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001563/0.2217, allocations: 463.9 kB / 350.4 MB, free: 1 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%), (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.0003633/0.2221, allocations: 197.8 kB / 350.6 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002311/0.2244, allocations: 1.464 MB / 352.1 MB, free: 15.33 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.2244, allocations: 0 / 352.1 MB, free: 15.33 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001428/0.2259, allocations: 1.265 MB / 353.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/0.2277, allocations: 389 kB / 353.7 MB, free: 13.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007619/0.2353, allocations: 3.82 MB / 357.6 MB, free: 9.766 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007642/0.2361, allocations: 0.5598 MB / 358.1 MB, free: 9.176 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001068/0.2371, allocations: 288.5 kB / 358.4 MB, free: 8.887 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002619/0.2374, allocations: 108.5 kB / 358.5 MB, free: 8.781 MB / 314.7 MB Notification: Performance of SimCode: time 2.875e-06/0.2374, allocations: 7.375 kB / 358.5 MB, free: 8.777 MB / 314.7 MB Notification: Performance of Templates: time 0.03528/0.2727, allocations: 23.4 MB / 381.9 MB, free: 1.77 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 -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.695048992987722]