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.001456/0.001456, allocations: 81.81 kB / 21.42 MB, free: 3.066 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.00115/0.00115, allocations: 163.1 kB / 24.82 MB, free: 9.266 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.9401/0.9401, allocations: 177 MB / 205.1 MB, free: 5.473 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.393e-06/1.393e-06, allocations: 0 / 273.3 MB, free: 1.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.615e-05/1.754e-05, allocations: 5.266 kB / 273.3 MB, free: 1.211 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.007695/0.007713, allocations: 9.356 MB / 282.7 MB, free: 7.809 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005055/0.01277, allocations: 3.088 MB / 285.8 MB, free: 4.711 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001241/0.01401, allocations: 75.5 kB / 285.9 MB, free: 4.637 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001373/0.01538, allocations: 0.6674 MB / 286.5 MB, free: 3.965 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001935/0.01732, allocations: 0.8537 MB / 287.4 MB, free: 3.105 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006602/0.01798, allocations: 403.3 kB / 287.8 MB, free: 2.711 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002106/0.02008, allocations: 2.653 MB / 290.4 MB, free: 48 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1241/0.1442, allocations: 1.258 MB / 291.7 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006323/0.1505, allocations: 2.03 MB / 293.7 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005126/0.1556, allocations: 1.322 MB / 295 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007494/0.1564, allocations: 306.7 kB / 295.3 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009042/0.1573, allocations: 411.3 kB / 295.7 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007847/0.1581, allocations: 0.9002 MB / 296.6 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003081/0.1612, allocations: 0.9588 MB / 297.6 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003747/0.1649, allocations: 2.259 MB / 299.9 MB, free: 15.37 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.1649, allocations: 0 / 299.9 MB, free: 15.37 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1649, allocations: 2.406 kB / 299.9 MB, free: 15.37 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.978e-05/0.1649, allocations: 0 / 299.9 MB, free: 15.37 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.004086/0.169, allocations: 2.913 MB / 302.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.1691, allocations: 19.92 kB / 302.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009202/0.17, allocations: 487.3 kB / 303.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001831/0.1718, allocations: 1.39 MB / 304.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.1719, allocations: 160.5 kB / 304.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002677/0.1722, allocations: 215.4 kB / 305 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002238/0.1744, allocations: 1.593 MB / 306.6 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.212e-05/0.1745, allocations: 11.08 kB / 306.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001735/0.1747, allocations: 88.02 kB / 306.7 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.67e-05/0.1748, allocations: 108.6 kB / 306.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.176, allocations: 0.6231 MB / 307.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006562/0.1826, allocations: 6.772 MB / 314.2 MB, free: 7.016 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000711/0.1833, allocations: 0.6528 MB / 314.9 MB, free: 6.383 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004876/0.1838, allocations: 458.2 kB / 315.3 MB, free: 5.945 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000127/0.1839, allocations: 48.98 kB / 315.4 MB, free: 5.898 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.1839, allocations: 46.39 kB / 315.4 MB, free: 5.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=101): time 2.434e-06/0.1839, allocations: 0 / 315.4 MB, free: 5.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=116): time 0.003217/0.1871, allocations: 2.489 MB / 317.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.498e-05/0.1871, allocations: 67.59 kB / 318 MB, free: 3.293 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000654/0.1878, allocations: 1.139 MB / 319.1 MB, free: 2.328 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.471e-05/0.1878, allocations: 45.7 kB / 319.1 MB, free: 2.277 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003302/0.1882, allocations: 1.152 MB / 320.3 MB, free: 1.172 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000147/0.1883, allocations: 437.8 kB / 320.7 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.1885, allocations: 266 kB / 321 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.326e-05/0.1886, allocations: 0.5503 MB / 321.5 MB, free: 16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002137/0.1888, allocations: 167.8 kB / 321.7 MB, free: 15.83 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004528/0.1893, allocations: 0.7123 MB / 322.4 MB, free: 14.94 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007544/0.19, allocations: 0.994 MB / 323.4 MB, free: 13.81 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.1901, allocations: 4 kB / 323.4 MB, free: 13.8 MB / 282.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.001326/0.1914, allocations: 1.216 MB / 324.6 MB, free: 12.65 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1914, allocations: 15.91 kB / 324.6 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.1914, allocations: 12 kB / 324.7 MB, free: 12.63 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004482/0.1919, allocations: 241.4 kB / 324.9 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005667/0.1924, allocations: 282.5 kB / 325.2 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003018/0.1954, allocations: 6.444 MB / 331.6 MB, free: 5.438 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003958/0.1958, allocations: 59.94 kB / 331.7 MB, free: 5.379 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.877e-05/0.1959, allocations: 44 kB / 331.7 MB, free: 5.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.000307/0.1962, allocations: 242.8 kB / 332 MB, free: 5.105 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/0.1964, allocations: 199 kB / 332.1 MB, free: 4.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001141/0.1975, allocations: 0.9758 MB / 333.1 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.1975, allocations: 12 kB / 333.1 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1975, allocations: 7.312 kB / 333.1 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.1976, allocations: 7.969 kB / 333.1 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002938/0.2005, allocations: 2.849 MB / 336 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.2005, allocations: 7.984 kB / 336 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004081/0.2009, allocations: 178 kB / 336.2 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004921/0.2014, allocations: 273.7 kB / 336.4 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.145e-05/0.2014, allocations: 35.98 kB / 336.5 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003601/0.205, allocations: 8.165 MB / 344.6 MB, free: 8.266 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.205, allocations: 7.938 kB / 344.7 MB, free: 8.258 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/0.2065, allocations: 1.451 MB / 346.1 MB, free: 6.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002993/0.2068, allocations: 242.9 kB / 346.3 MB, free: 6.531 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.2069, allocations: 31.98 kB / 346.4 MB, free: 6.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003388/0.2072, allocations: 39.98 kB / 346.4 MB, free: 6.461 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.2073, allocations: 104.5 kB / 346.5 MB, free: 6.359 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.123e-05/0.2074, allocations: 28 kB / 346.5 MB, free: 6.332 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004415/0.2078, allocations: 0.6369 MB / 347.2 MB, free: 5.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2078, allocations: 0 / 347.2 MB, free: 5.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008419/0.2086, allocations: 451.9 kB / 347.6 MB, free: 5.309 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.000241/0.2089, allocations: 193.6 kB / 347.8 MB, free: 5.117 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001184/0.2101, allocations: 1.37 MB / 349.2 MB, free: 3.758 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2101, allocations: 0 / 349.2 MB, free: 3.758 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000837/0.2109, allocations: 1.184 MB / 350.4 MB, free: 2.551 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009143/0.2118, allocations: 378.6 kB / 350.7 MB, free: 2.203 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003717/0.2155, allocations: 3.752 MB / 354.5 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.2159, allocations: 0.5637 MB / 355 MB, free: 13.79 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004061/0.2163, allocations: 196.7 kB / 355.2 MB, free: 13.59 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005695/0.2169, allocations: 430 kB / 355.7 MB, free: 13.17 MB / 314.7 MB Notification: Performance of SimCode: time 6.81e-07/0.2169, allocations: 0 / 355.7 MB, free: 13.17 MB / 314.7 MB Notification: Performance of Templates: time 0.02653/0.2434, allocations: 23.82 MB / 379.5 MB, free: 5.809 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.4814741988666356]