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.0009343/0.0009343, allocations: 80.81 kB / 21.5 MB, free: 2.828 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.0009652/0.0009652, allocations: 164.8 kB / 24.91 MB, free: 9.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.9291/0.9291, allocations: 177 MB / 205.2 MB, free: 5.148 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.954e-06/1.954e-06, allocations: 3.984 kB / 273.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.148e-05/1.344e-05, allocations: 5.406 kB / 273.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.007112/0.007125, allocations: 9.36 MB / 282.8 MB, free: 7.617 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004353/0.01148, allocations: 3.204 MB / 286 MB, free: 4.402 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005812/0.01206, allocations: 71.5 kB / 286 MB, free: 4.332 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000949/0.01301, allocations: 0.6868 MB / 286.7 MB, free: 3.641 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001221/0.01423, allocations: 0.8459 MB / 287.6 MB, free: 2.789 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005887/0.01482, allocations: 395.3 kB / 288 MB, free: 2.402 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.09706/0.1119, allocations: 2.652 MB / 290.6 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/0.1135, allocations: 1.294 MB / 291.9 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002407/0.1159, allocations: 2.013 MB / 293.9 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002047/0.1179, allocations: 1.321 MB / 295.2 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000687/0.1186, allocations: 306.7 kB / 295.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006858/0.1193, allocations: 408.2 kB / 295.9 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006359/0.1199, allocations: 0.9019 MB / 296.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007427/0.1207, allocations: 0.9567 MB / 297.8 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001788/0.1225, allocations: 2.262 MB / 300.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1225, allocations: 0 / 300.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1225, allocations: 0 / 300.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.415e-05/0.1225, allocations: 3.156 kB / 300.1 MB, free: 14.46 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.002434/0.1249, allocations: 2.662 MB / 302.7 MB, free: 13.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.125, allocations: 13.77 kB / 302.7 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005996/0.1256, allocations: 389.9 kB / 303.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.1267, allocations: 1.08 MB / 304.2 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.561e-05/0.1268, allocations: 161.2 kB / 304.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001934/0.127, allocations: 217.5 kB / 304.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.1283, allocations: 1.621 MB / 306.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.658e-05/0.1284, allocations: 7 kB / 306.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/0.1285, allocations: 82.84 kB / 306.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.308e-05/0.1286, allocations: 104.7 kB / 306.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000823/0.1294, allocations: 0.6282 MB / 307 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004559/0.1339, allocations: 5.487 MB / 312.5 MB, free: 8.332 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006627/0.1346, allocations: 0.6537 MB / 313.1 MB, free: 7.691 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004498/0.1351, allocations: 425.1 kB / 313.6 MB, free: 7.285 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001312/0.1352, allocations: 60.56 kB / 313.6 MB, free: 7.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.1352, allocations: 43.56 kB / 313.7 MB, free: 7.176 MB / 266.7 MB Notification: Performance of pre-optimization done (n=101): time 2.795e-06/0.1352, allocations: 0 / 313.7 MB, free: 7.176 MB / 266.7 MB Notification: Performance of matching and sorting (n=116): time 0.003409/0.1386, allocations: 2.461 MB / 316.1 MB, free: 4.738 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.742e-05/0.1386, allocations: 64.41 kB / 316.2 MB, free: 4.664 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005065/0.1391, allocations: 0.9737 MB / 317.2 MB, free: 3.867 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.902e-05/0.1392, allocations: 41.7 kB / 317.2 MB, free: 3.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/0.1394, allocations: 0.884 MB / 318.1 MB, free: 2.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.1395, allocations: 428.2 kB / 318.5 MB, free: 2.586 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001968/0.1397, allocations: 246.4 kB / 318.7 MB, free: 2.367 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.146e-05/0.1398, allocations: 362.2 kB / 319.1 MB, free: 2.035 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.14, allocations: 166.4 kB / 319.3 MB, free: 1.875 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/0.1402, allocations: 0.5271 MB / 319.8 MB, free: 1.223 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005268/0.1407, allocations: 0.8447 MB / 320.6 MB, free: 304 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.1407, allocations: 8 kB / 320.6 MB, free: 296 kB / 266.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.001104/0.1419, allocations: 0.9788 MB / 321.6 MB, free: 15.37 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1419, allocations: 12 kB / 321.6 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.1419, allocations: 12 kB / 321.6 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004713/0.1424, allocations: 238 kB / 321.9 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005551/0.1429, allocations: 291.3 kB / 322.2 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002627/0.1455, allocations: 4.704 MB / 326.9 MB, free: 9.953 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003813/0.1459, allocations: 55.95 kB / 326.9 MB, free: 9.898 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.146, allocations: 47.98 kB / 327 MB, free: 9.852 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.0003228/0.1464, allocations: 198.1 kB / 327.2 MB, free: 9.668 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/0.1465, allocations: 135.8 kB / 327.3 MB, free: 9.535 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.1475, allocations: 0.8347 MB / 328.1 MB, free: 8.691 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.1475, allocations: 16 kB / 328.1 MB, free: 8.676 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1476, allocations: 4 kB / 328.1 MB, free: 8.672 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.1476, allocations: 7.969 kB / 328.1 MB, free: 8.664 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002644/0.1502, allocations: 2.388 MB / 330.5 MB, free: 6.508 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.1502, allocations: 4 kB / 330.5 MB, free: 6.504 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004177/0.1506, allocations: 178.6 kB / 330.7 MB, free: 6.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005322/0.1512, allocations: 307.3 kB / 331 MB, free: 6.035 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.086e-05/0.1512, allocations: 35.92 kB / 331 MB, free: 6 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003/0.1542, allocations: 5.9 MB / 336.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1542, allocations: 4 kB / 337 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.1555, allocations: 1.231 MB / 338.2 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002724/0.1557, allocations: 202.9 kB / 338.4 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.1558, allocations: 28 kB / 338.4 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003224/0.1562, allocations: 43.97 kB / 338.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.1563, allocations: 100 kB / 338.5 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.183e-05/0.1563, allocations: 27.98 kB / 338.6 MB, free: 14.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003551/0.1567, allocations: 488.4 kB / 339.1 MB, free: 13.74 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1567, allocations: 0 / 339.1 MB, free: 13.74 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009312/0.1576, allocations: 459.9 kB / 339.5 MB, free: 13.29 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.0002377/0.1578, allocations: 176.2 kB / 339.7 MB, free: 13.13 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001091/0.1589, allocations: 1.137 MB / 340.8 MB, free: 12.02 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.908e-05/0.159, allocations: 16.75 kB / 340.8 MB, free: 12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007432/0.1597, allocations: 0.9184 MB / 341.7 MB, free: 11.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009678/0.1607, allocations: 380 kB / 342.1 MB, free: 10.73 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00368/0.1643, allocations: 3.585 MB / 345.7 MB, free: 7.094 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.1647, allocations: 0.4973 MB / 346.2 MB, free: 6.566 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004077/0.1651, allocations: 204.6 kB / 346.4 MB, free: 6.359 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005569/0.1657, allocations: 377 kB / 346.8 MB, free: 5.988 MB / 298.7 MB Notification: Performance of SimCode: time 1.113e-06/0.1657, allocations: 0 / 346.8 MB, free: 5.988 MB / 298.7 MB Notification: Performance of Templates: time 0.02722/0.1929, allocations: 23.77 MB / 370.5 MB, free: 14.68 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.208682956174016]