Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_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.001068/0.001068, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001646/0.002714, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.00108/0.00108, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001516/0.002596, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 1.03/1.03, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1151/1.145, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.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.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smpm.is.[0-9,]+.|smpm.idq_dr.[0-9,]+.|smpm.idq_rr.[0-9,]+.|smpm.idq_sr.[0-9,]+.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smpm.is.[0-9,]+.|smpm.idq_dr.[0-9,]+.|smpm.idq_rr.[0-9,]+.|smpm.idq_sr.[0-9,]+.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.083e-05, allocations: 2.312 kB / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter): time 0.0124/0.01242, allocations: 10.11 MB / 255.3 MB, free: 3.402 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00946/0.02188, allocations: 3.555 MB / 258.9 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/0.02297, allocations: 79.5 kB / 259 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001332/0.0243, allocations: 0.784 MB / 259.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001658/0.02596, allocations: 0.9195 MB / 260.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000644/0.0266, allocations: 431.2 kB / 261.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001984/0.02858, allocations: 2.885 MB / 264 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00114/0.02972, allocations: 1.348 MB / 265.3 MB, free: 9.293 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002148/0.03187, allocations: 2.324 MB / 267.6 MB, free: 6.945 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001281/0.03315, allocations: 1.387 MB / 269 MB, free: 5.555 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003293/0.03348, allocations: 324 kB / 269.3 MB, free: 5.238 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005711/0.03405, allocations: 435.7 kB / 269.8 MB, free: 4.812 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005261/0.03458, allocations: 0.7675 MB / 270.5 MB, free: 4.043 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007582/0.03534, allocations: 0.8383 MB / 271.4 MB, free: 3.203 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00221/0.03755, allocations: 2.231 MB / 273.6 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.959e-06/0.03756, allocations: 0 / 273.6 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.03756, allocations: 0 / 273.6 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.017e-05/0.0376, allocations: 4 kB / 273.6 MB, free: 0.9609 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.1124/0.15, allocations: 3.348 MB / 277 MB, free: 19.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.15, allocations: 10.19 kB / 277 MB, free: 19.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008616/0.1509, allocations: 487.2 kB / 277.4 MB, free: 19.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001679/0.1526, allocations: 1.162 MB / 278.6 MB, free: 19.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.1527, allocations: 169.2 kB / 278.8 MB, free: 19.24 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002475/0.1529, allocations: 224.1 kB / 279 MB, free: 19.24 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002134/0.1551, allocations: 1.698 MB / 280.7 MB, free: 18.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.024e-05/0.1551, allocations: 4.266 kB / 280.7 MB, free: 18.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.1552, allocations: 90 kB / 280.8 MB, free: 18.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-05/0.1553, allocations: 112.5 kB / 280.9 MB, free: 18.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.1565, allocations: 0.6555 MB / 281.5 MB, free: 18.78 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006385/0.1629, allocations: 5.909 MB / 287.5 MB, free: 16.14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008328/0.1637, allocations: 0.6474 MB / 288.1 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005237/0.1642, allocations: 441 kB / 288.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001636/0.1644, allocations: 55.25 kB / 288.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.1644, allocations: 42.88 kB / 288.6 MB, free: 15.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=105): time 3.697e-06/0.1644, allocations: 3.594 kB / 288.6 MB, free: 15.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=122): time 0.00438/0.1688, allocations: 2.597 MB / 291.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.078e-05/0.1688, allocations: 66.94 kB / 291.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006615/0.1695, allocations: 1.07 MB / 292.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.92e-05/0.1695, allocations: 47.86 kB / 292.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002515/0.1698, allocations: 0.9353 MB / 293.3 MB, free: 13.97 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.1699, allocations: 452.7 kB / 293.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.1702, allocations: 258.4 kB / 294 MB, free: 13.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.77e-05/0.1702, allocations: 301.1 kB / 294.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.1704, allocations: 170.8 kB / 294.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002864/0.1707, allocations: 0.5936 MB / 295.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006455/0.1713, allocations: 0.9626 MB / 296.1 MB, free: 11.06 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.1713, allocations: 4 kB / 296.1 MB, free: 11.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.001083/0.1724, allocations: 1.046 MB / 297.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.1724, allocations: 8 kB / 297.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/0.1724, allocations: 16 kB / 297.1 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004681/0.1729, allocations: 259.2 kB / 297.4 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006409/0.1736, allocations: 359.5 kB / 297.7 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002314/0.1759, allocations: 4.741 MB / 302.5 MB, free: 4.449 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006054/0.1765, allocations: 63.94 kB / 302.5 MB, free: 4.387 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-05/0.1765, allocations: 51.98 kB / 302.6 MB, free: 4.336 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (169): * Single equations (assignments): 165 * 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,12,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.0003962/0.1769, allocations: 215.8 kB / 302.8 MB, free: 4.117 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.1771, allocations: 135.9 kB / 302.9 MB, free: 3.984 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009495/0.178, allocations: 0.8717 MB / 303.8 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.178, allocations: 12 kB / 303.8 MB, free: 3.078 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.178, allocations: 7.828 kB / 303.8 MB, free: 3.074 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.1781, allocations: 3.984 kB / 303.8 MB, free: 3.07 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002747/0.1808, allocations: 2.524 MB / 306.4 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.1808, allocations: 4 kB / 306.4 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004753/0.1813, allocations: 228.2 kB / 306.6 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002943/0.1816, allocations: 209.4 kB / 306.8 MB, free: 320 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005313/0.1821, allocations: 301.3 kB / 307.1 MB, free: 4 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-05/0.1822, allocations: 35.47 kB / 307.1 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0036/0.1858, allocations: 5.94 MB / 313.1 MB, free: 9.73 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/0.1858, allocations: 7.938 kB / 313.1 MB, free: 9.723 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001978/0.1878, allocations: 1.311 MB / 314.4 MB, free: 8.352 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/0.188, allocations: 32.55 kB / 314.4 MB, free: 8.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005066/0.1885, allocations: 43.97 kB / 314.4 MB, free: 8.277 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/0.1887, allocations: 108.7 kB / 314.6 MB, free: 8.172 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.948e-05/0.1887, allocations: 24 kB / 314.6 MB, free: 8.148 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005853/0.1893, allocations: 0.5275 MB / 315.1 MB, free: 7.684 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1893, allocations: 0 / 315.1 MB, free: 7.684 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001446/0.1908, allocations: 476 kB / 315.6 MB, free: 7.219 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],smpm.idq_rr[2],smpm.idq_dr[1],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 (107): * Single equations (assignments): 103 * 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,12,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.0003251/0.1911, allocations: 188 kB / 315.8 MB, free: 7.027 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001577/0.1927, allocations: 1.205 MB / 317 MB, free: 5.84 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.445e-05/0.1927, allocations: 30.3 kB / 317 MB, free: 5.816 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001386/0.1941, allocations: 1.019 MB / 318 MB, free: 4.762 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002555/0.1967, allocations: 4.096 MB / 322.1 MB, free: 15.87 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02275/0.2194, allocations: 3.966 MB / 326.1 MB, free: 11.8 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003607/0.223, allocations: 0.5341 MB / 326.6 MB, free: 11.24 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000799/0.2238, allocations: 214.1 kB / 326.8 MB, free: 11.03 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008136/0.2246, allocations: 427 kB / 327.2 MB, free: 10.61 MB / 298.7 MB Notification: Performance of SimCode: time 1.333e-06/0.2246, allocations: 0 / 327.2 MB, free: 10.61 MB / 298.7 MB Notification: Performance of Templates: time 0.07544/0.3001, allocations: 27.08 MB / 354.3 MB, free: 15.92 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_Inverter/SMPM_Inverter.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.394584950990975]