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.0007352/0.0007352, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009496/0.001685, allocations: 449.7 kB / 10.37 MB, free: 324 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.000669/0.000669, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008574/0.001526, allocations: 463.6 kB / 11.72 MB, free: 2.453 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 0.8916/0.8916, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0807/0.9723, allocations: 53.86 MB / 243.7 MB, free: 14.91 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.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.864e-06/1.864e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.089e-05/1.275e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.0163/0.01631, allocations: 9.474 MB / 254.5 MB, free: 4.129 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007671/0.02398, allocations: 3.231 MB / 257.7 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004937/0.02447, allocations: 71.5 kB / 257.8 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008615/0.02533, allocations: 0.6791 MB / 258.5 MB, free: 136 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001339/0.02667, allocations: 0.8497 MB / 259.3 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004246/0.0271, allocations: 391.3 kB / 259.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001496/0.02859, allocations: 2.672 MB / 262.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009962/0.02959, allocations: 1.288 MB / 263.7 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00194/0.03153, allocations: 2.184 MB / 265.9 MB, free: 8.641 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.03254, allocations: 1.329 MB / 267.2 MB, free: 7.309 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002448/0.03279, allocations: 308 kB / 267.5 MB, free: 7.008 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004541/0.03324, allocations: 411.8 kB / 267.9 MB, free: 6.605 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004593/0.0337, allocations: 0.7285 MB / 268.6 MB, free: 5.875 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006209/0.03432, allocations: 0.7954 MB / 269.4 MB, free: 5.078 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001558/0.03588, allocations: 2.118 MB / 271.5 MB, free: 2.953 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.275e-05/0.03589, allocations: 4 kB / 271.5 MB, free: 2.949 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.03589, allocations: 0 / 271.5 MB, free: 2.949 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.311e-05/0.03593, allocations: 0 / 271.5 MB, free: 2.949 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.1085/0.1444, allocations: 3.161 MB / 274.7 MB, free: 13.13 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.1444, allocations: 10.25 kB / 274.7 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008821/0.1453, allocations: 467.4 kB / 275.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/0.1471, allocations: 1.08 MB / 276.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.1472, allocations: 158.3 kB / 276.4 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000257/0.1475, allocations: 219.9 kB / 276.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002352/0.1498, allocations: 1.618 MB / 278.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.351e-05/0.1499, allocations: 13.67 kB / 278.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/0.15, allocations: 87.06 kB / 278.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001054/0.1501, allocations: 104.4 kB / 278.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.1514, allocations: 0.6263 MB / 279.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006795/0.1582, allocations: 5.51 MB / 284.6 MB, free: 10.24 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009312/0.1591, allocations: 0.649 MB / 285.2 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006375/0.1597, allocations: 426.5 kB / 285.6 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001553/0.1599, allocations: 57.25 kB / 285.7 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.1599, allocations: 44.06 kB / 285.7 MB, free: 10.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=101): time 2.605e-06/0.1599, allocations: 0 / 285.7 MB, free: 10.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=116): time 0.004485/0.1644, allocations: 2.464 MB / 288.2 MB, free: 9.598 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.143e-05/0.1644, allocations: 67.14 kB / 288.3 MB, free: 9.531 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006714/0.1651, allocations: 0.97 MB / 289.2 MB, free: 9.352 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.554e-05/0.1652, allocations: 48.77 kB / 289.3 MB, free: 9.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003173/0.1655, allocations: 0.8823 MB / 290.2 MB, free: 8.789 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/0.1657, allocations: 428.8 kB / 290.6 MB, free: 8.516 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002576/0.1659, allocations: 237.2 kB / 290.8 MB, free: 8.426 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.207e-05/0.166, allocations: 362.9 kB / 291.2 MB, free: 8.121 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/0.1662, allocations: 168.8 kB / 291.3 MB, free: 8.102 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003536/0.1666, allocations: 0.5288 MB / 291.9 MB, free: 7.668 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007649/0.1673, allocations: 0.8444 MB / 292.7 MB, free: 7.191 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.1674, allocations: 5.75 kB / 292.7 MB, free: 7.191 MB / 266.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.001275/0.1686, allocations: 0.9874 MB / 293.7 MB, free: 7.008 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1686, allocations: 8.406 kB / 293.7 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.1687, allocations: 10.94 kB / 293.7 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005184/0.1692, allocations: 233.7 kB / 293.9 MB, free: 6.941 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007994/0.17, allocations: 330 kB / 294.3 MB, free: 6.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002499/0.1725, allocations: 4.723 MB / 299 MB, free: 2.625 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004888/0.173, allocations: 54.77 kB / 299 MB, free: 2.574 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.047e-05/0.173, allocations: 45.73 kB / 299.1 MB, free: 2.531 MB / 266.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.0002977/0.1733, allocations: 195.6 kB / 299.3 MB, free: 2.348 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/0.1735, allocations: 132.4 kB / 299.4 MB, free: 2.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.1746, allocations: 0.8497 MB / 300.3 MB, free: 1.441 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.1746, allocations: 12 kB / 300.3 MB, free: 1.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1746, allocations: 5.969 kB / 300.3 MB, free: 1.426 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.1746, allocations: 3.984 kB / 300.3 MB, free: 1.422 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002939/0.1776, allocations: 2.394 MB / 302.7 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.1776, allocations: 4 kB / 302.7 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000615/0.1782, allocations: 210 kB / 302.9 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003281/0.1785, allocations: 195.3 kB / 303.1 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006672/0.1792, allocations: 290.2 kB / 303.4 MB, free: 14.58 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.447e-05/0.1793, allocations: 31.98 kB / 303.4 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004009/0.1833, allocations: 5.923 MB / 309.3 MB, free: 8.355 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.1833, allocations: 7.281 kB / 309.3 MB, free: 8.352 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.1848, allocations: 1.233 MB / 310.5 MB, free: 7.086 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/0.185, allocations: 33.19 kB / 310.6 MB, free: 7.055 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004211/0.1854, allocations: 39.98 kB / 310.6 MB, free: 7.016 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.1855, allocations: 104.5 kB / 310.7 MB, free: 6.918 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.715e-05/0.1856, allocations: 31.98 kB / 310.8 MB, free: 6.887 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000448/0.186, allocations: 483 kB / 311.2 MB, free: 6.469 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.186, allocations: 0 / 311.2 MB, free: 6.469 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001062/0.1871, allocations: 451.9 kB / 311.7 MB, free: 6.027 MB / 282.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.0002702/0.1874, allocations: 175.9 kB / 311.8 MB, free: 5.859 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001333/0.1887, allocations: 1.141 MB / 313 MB, free: 4.746 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-05/0.1888, allocations: 27.12 kB / 313 MB, free: 4.715 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009373/0.1897, allocations: 0.933 MB / 313.9 MB, free: 3.773 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.1908, allocations: 479.2 kB / 314.4 MB, free: 3.324 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01538/0.2062, allocations: 3.75 MB / 318.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.2066, allocations: 0.5086 MB / 318.7 MB, free: 15 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000408/0.207, allocations: 192.7 kB / 318.9 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005288/0.2075, allocations: 373.1 kB / 319.2 MB, free: 14.44 MB / 298.7 MB Notification: Performance of SimCode: time 7.52e-07/0.2075, allocations: 0 / 319.2 MB, free: 14.44 MB / 298.7 MB Notification: Performance of Templates: time 0.02992/0.2374, allocations: 24.72 MB / 343.9 MB, free: 6.16 MB / 314.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 -ignoreHideResult -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.1101299840956926]