Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.1.0-beta.om_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.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001849/0.001849, allocations: 113.5 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002245/0.002245, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.476/1.476, allocations: 230.4 MB / 251.1 MB, free: 8.434 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 75.81 kB / 369 MB, free: 6.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3212, allocations: 53.31 MB / 422.3 MB, free: 7.836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.01346/0.3346, allocations: 9.708 MB / 432 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007754/0.3424, allocations: 3.17 MB / 435.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002387/0.3448, allocations: 55.75 kB / 435.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002557/0.3473, allocations: 0.7139 MB / 435.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003503/0.3508, allocations: 0.8077 MB / 436.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.352, allocations: 402.6 kB / 437.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003473/0.3555, allocations: 2.564 MB / 439.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002319/0.3578, allocations: 1.666 MB / 441.4 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002053/0.3598, allocations: 1.203 MB / 442.6 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002156/0.362, allocations: 1.534 MB / 444.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000446/0.3624, allocations: 320 kB / 444.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008441/0.3633, allocations: 423.8 kB / 444.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001037/0.3643, allocations: 0.9154 MB / 445.7 MB, free: 244 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00177/0.3661, allocations: 1.423 MB / 447.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006141/0.3722, allocations: 4.173 MB / 451.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.3722, allocations: 0 / 451.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3722, allocations: 0 / 451.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001594/0.3724, allocations: 4 kB / 451.3 MB, free: 10.62 MB / 366.1 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.007718/0.3801, allocations: 2.984 MB / 454.3 MB, free: 7.566 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.3802, allocations: 8.031 kB / 454.3 MB, free: 7.559 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009514/0.3811, allocations: 311.2 kB / 454.6 MB, free: 7.254 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002914/0.384, allocations: 1.547 MB / 456.2 MB, free: 5.648 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.3842, allocations: 172.3 kB / 456.3 MB, free: 5.477 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003539/0.3845, allocations: 212 kB / 456.6 MB, free: 5.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005613/0.3902, allocations: 2.792 MB / 459.3 MB, free: 2.391 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.989e-05/0.3902, allocations: 11.94 kB / 459.4 MB, free: 2.379 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001976/0.3904, allocations: 87.98 kB / 459.4 MB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001173/0.3905, allocations: 104.2 kB / 459.5 MB, free: 2.188 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004336/0.3949, allocations: 2.339 MB / 461.9 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01377/0.4086, allocations: 8.529 MB / 470.4 MB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002467/0.4111, allocations: 1.625 MB / 472 MB, free: 5.309 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001664/0.4128, allocations: 0.9165 MB / 473 MB, free: 4.395 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002718/0.413, allocations: 199.2 kB / 473.1 MB, free: 4.164 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.4131, allocations: 51.5 kB / 473.2 MB, free: 4.105 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 2.124e-06/0.4131, allocations: 0 / 473.2 MB, free: 4.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=116): time 0.01337/0.4264, allocations: 6.263 MB / 479.5 MB, free: 13.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.4265, allocations: 64.41 kB / 479.5 MB, free: 13.6 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002343/0.4288, allocations: 1.441 MB / 481 MB, free: 12.15 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.779e-05/0.4289, allocations: 45.7 kB / 481 MB, free: 12.1 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009551/0.4299, allocations: 1.071 MB / 482.1 MB, free: 11.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004272/0.4303, allocations: 432.3 kB / 482.5 MB, free: 10.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004479/0.4308, allocations: 259.5 kB / 482.8 MB, free: 10.33 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.431, allocations: 361.9 kB / 483.1 MB, free: 9.969 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001262/0.4322, allocations: 0.6909 MB / 483.8 MB, free: 9.277 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001507/0.4337, allocations: 1.07 MB / 484.9 MB, free: 8.051 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002751/0.4365, allocations: 1.864 MB / 486.7 MB, free: 6.023 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.4365, allocations: 7.938 kB / 486.7 MB, free: 6.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.00416/0.4406, allocations: 2.418 MB / 489.2 MB, free: 3.559 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.4407, allocations: 8 kB / 489.2 MB, free: 3.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/0.4407, allocations: 12 kB / 489.2 MB, free: 3.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000966/0.4417, allocations: 419.1 kB / 489.6 MB, free: 3.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.4428, allocations: 331.5 kB / 489.9 MB, free: 2.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007431/0.4503, allocations: 7.046 MB / 497 MB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.4516, allocations: 103.8 kB / 497.1 MB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.4517, allocations: 56 kB / 497.1 MB, free: 11.17 MB / 414.1 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.001251/0.453, allocations: 0.6924 MB / 497.8 MB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003094/0.4533, allocations: 166.9 kB / 498 MB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003816/0.4571, allocations: 2.119 MB / 0.4884 GB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.4571, allocations: 12 kB / 0.4884 GB, free: 8.125 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.4571, allocations: 8 kB / 0.4884 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.4571, allocations: 3.984 kB / 0.4884 GB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007896/0.465, allocations: 4.564 MB / 0.4928 GB, free: 3.422 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.465, allocations: 0 / 0.4928 GB, free: 3.422 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009254/0.466, allocations: 211.7 kB / 0.4931 GB, free: 3.215 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00115/0.4671, allocations: 447.2 kB / 0.4935 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.631e-05/0.4672, allocations: 35.98 kB / 0.4935 GB, free: 2.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009358/0.4766, allocations: 8.631 MB / 0.5019 GB, free: 9.543 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.4766, allocations: 7.938 kB / 0.5019 GB, free: 9.535 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005642/0.4822, allocations: 3.096 MB / 0.505 GB, free: 6.348 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008922/0.4831, allocations: 387.8 kB / 0.5053 GB, free: 5.949 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002182/0.4833, allocations: 31.98 kB / 0.5054 GB, free: 5.918 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008386/0.4842, allocations: 79.91 kB / 0.5054 GB, free: 5.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002582/0.4844, allocations: 100.8 kB / 0.5055 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.904e-05/0.4845, allocations: 35.98 kB / 0.5056 GB, free: 5.707 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001646/0.4861, allocations: 0.9888 MB / 0.5065 GB, free: 4.719 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4861, allocations: 3.938 kB / 0.5065 GB, free: 4.715 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001681/0.4878, allocations: 456 kB / 0.507 GB, free: 4.27 MB / 430.1 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.000418/0.4882, allocations: 202.9 kB / 0.5072 GB, free: 4.062 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003957/0.4922, allocations: 2.154 MB / 0.5093 GB, free: 1.852 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.4922, allocations: 4.062 kB / 0.5093 GB, free: 1.848 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002385/0.4946, allocations: 1.391 MB / 0.5106 GB, free: 412 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002099/0.4967, allocations: 433.8 kB / 0.5111 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00808/0.5048, allocations: 4.538 MB / 0.5155 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00182/0.5066, allocations: 1.796 MB / 0.5172 GB, free: 9.543 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001175/0.5078, allocations: 373.6 kB / 0.5176 GB, free: 9.172 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003433/0.5081, allocations: 115.4 kB / 0.5177 GB, free: 9.059 MB / 446.1 MB Notification: Performance of SimCode: time 1.243e-06/0.5081, allocations: 0 / 0.5177 GB, free: 9.059 MB / 446.1 MB Notification: Performance of Templates: time 0.2758/0.7839, allocations: 25.37 MB / 0.5425 GB, free: 117.3 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches