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.00122/0.00122, allocations: 107 kB / 19.8 MB, free: 2.5 MB / 14.72 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.001314/0.001314, allocations: 218 kB / 23 MB, free: 5.574 MB / 14.72 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.445/1.445, allocations: 230.2 MB / 256.2 MB, free: 8.531 MB / 206.1 MB " [Timeout remaining time 178] 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.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|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.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 63.91 kB / 376.5 MB, free: 3.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2715, allocations: 53.32 MB / 429.8 MB, free: 7.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.01304/0.2846, allocations: 9.76 MB / 439.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007176/0.2917, allocations: 3.174 MB / 442.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001452/0.2932, allocations: 55.75 kB / 442.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00175/0.2949, allocations: 0.7257 MB / 443.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002425/0.2974, allocations: 0.7999 MB / 444.3 MB, free: 8.965 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.2984, allocations: 399.4 kB / 444.7 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003077/0.3015, allocations: 2.56 MB / 447.3 MB, free: 6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001739/0.3032, allocations: 1.303 MB / 448.6 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001582/0.3048, allocations: 1.199 MB / 449.8 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001946/0.3067, allocations: 1.537 MB / 451.3 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003945/0.3071, allocations: 320 kB / 451.6 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007018/0.3078, allocations: 423.8 kB / 452 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008684/0.3087, allocations: 0.9115 MB / 452.9 MB, free: 252 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001384/0.3101, allocations: 1.42 MB / 454.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004532/0.3146, allocations: 4.176 MB / 458.5 MB, free: 10.63 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3146, allocations: 0 / 458.5 MB, free: 10.63 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3146, allocations: 0 / 458.5 MB, free: 10.63 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.953e-05/0.3147, allocations: 0 / 458.5 MB, free: 10.63 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.005519/0.3202, allocations: 2.983 MB / 461.5 MB, free: 7.578 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.3202, allocations: 12.03 kB / 461.5 MB, free: 7.566 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007605/0.321, allocations: 307.2 kB / 461.8 MB, free: 7.266 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002469/0.3234, allocations: 1.551 MB / 463.4 MB, free: 5.656 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/0.3236, allocations: 160.3 kB / 463.5 MB, free: 5.496 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003214/0.3239, allocations: 212 kB / 463.8 MB, free: 5.289 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004651/0.3286, allocations: 2.799 MB / 466.6 MB, free: 2.402 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.61e-05/0.3286, allocations: 7.922 kB / 466.6 MB, free: 2.395 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002305/0.3288, allocations: 91.98 kB / 466.6 MB, free: 2.305 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001387/0.329, allocations: 104.2 kB / 466.8 MB, free: 2.199 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004505/0.3335, allocations: 2.355 MB / 469.1 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01409/0.3476, allocations: 8.518 MB / 477.6 MB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002554/0.3501, allocations: 1.636 MB / 479.3 MB, free: 5.309 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001714/0.3518, allocations: 0.9087 MB / 480.2 MB, free: 4.402 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003195/0.3522, allocations: 207.2 kB / 480.4 MB, free: 4.164 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.3522, allocations: 43.5 kB / 480.4 MB, free: 4.113 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 3.136e-06/0.3522, allocations: 4 kB / 480.4 MB, free: 4.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=116): time 0.01384/0.366, allocations: 6.258 MB / 486.7 MB, free: 13.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.3661, allocations: 64.41 kB / 486.7 MB, free: 13.61 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002376/0.3685, allocations: 1.441 MB / 488.2 MB, free: 12.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.256e-05/0.3686, allocations: 45.7 kB / 488.2 MB, free: 12.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008437/0.3694, allocations: 1.067 MB / 489.3 MB, free: 11.03 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003794/0.3698, allocations: 440.3 kB / 489.7 MB, free: 10.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004315/0.3702, allocations: 255.5 kB / 490 MB, free: 10.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.3704, allocations: 353.9 kB / 490.3 MB, free: 9.984 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.3716, allocations: 0.6987 MB / 491 MB, free: 9.285 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001504/0.3731, allocations: 1.069 MB / 492.1 MB, free: 8.059 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002764/0.3759, allocations: 1.864 MB / 493.9 MB, free: 6.035 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.315e-06/0.3759, allocations: 4 kB / 494 MB, free: 6.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004454/0.3803, allocations: 2.418 MB / 496.4 MB, free: 3.574 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.3804, allocations: 8 kB / 496.4 MB, free: 3.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.819e-05/0.3804, allocations: 12 kB / 496.4 MB, free: 3.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/0.3814, allocations: 423.2 kB / 496.8 MB, free: 3.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.3826, allocations: 327.5 kB / 497.1 MB, free: 2.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007667/0.3903, allocations: 7.049 MB / 0.4924 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.3916, allocations: 103.8 kB / 0.4925 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.3917, allocations: 52 kB / 0.4925 GB, free: 11.19 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.001234/0.393, allocations: 0.6963 MB / 0.4932 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000292/0.3933, allocations: 167 kB / 0.4933 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003946/0.3972, allocations: 2.131 MB / 0.4954 GB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.3972, allocations: 12 kB / 0.4954 GB, free: 8.129 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.3972, allocations: 4 kB / 0.4954 GB, free: 8.125 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.3972, allocations: 3.984 kB / 0.4954 GB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008066/0.4053, allocations: 4.552 MB / 0.4999 GB, free: 3.441 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/0.4053, allocations: 4 kB / 0.4999 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009217/0.4062, allocations: 216.1 kB / 0.5001 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001205/0.4074, allocations: 455.1 kB / 0.5005 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.091e-05/0.4075, allocations: 31.98 kB / 0.5006 GB, free: 2.738 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009083/0.4166, allocations: 8.634 MB / 0.509 GB, free: 9.551 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.4166, allocations: 7.938 kB / 0.509 GB, free: 9.543 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005263/0.4219, allocations: 3.092 MB / 0.512 GB, free: 6.355 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000917/0.4228, allocations: 387.9 kB / 0.5124 GB, free: 5.957 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000211/0.423, allocations: 39.98 kB / 0.5124 GB, free: 5.918 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008216/0.4238, allocations: 83.91 kB / 0.5125 GB, free: 5.836 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002603/0.4241, allocations: 92.75 kB / 0.5126 GB, free: 5.746 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.45e-05/0.4242, allocations: 35.98 kB / 0.5126 GB, free: 5.711 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001556/0.4257, allocations: 0.9888 MB / 0.5136 GB, free: 4.723 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4257, allocations: 7.938 kB / 0.5136 GB, free: 4.715 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001824/0.4276, allocations: 460 kB / 0.514 GB, free: 4.266 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.0004442/0.428, allocations: 198.9 kB / 0.5142 GB, free: 4.062 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003914/0.4319, allocations: 2.153 MB / 0.5163 GB, free: 1.852 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.4319, allocations: 0 / 0.5163 GB, free: 1.852 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00243/0.4344, allocations: 1.397 MB / 0.5177 GB, free: 412 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/0.4363, allocations: 428.1 kB / 0.5181 GB, free: 15.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008026/0.4443, allocations: 4.529 MB / 0.5225 GB, free: 11.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001883/0.4462, allocations: 1.807 MB / 0.5243 GB, free: 9.547 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001241/0.4474, allocations: 365.6 kB / 0.5246 GB, free: 9.184 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003337/0.4478, allocations: 111.4 kB / 0.5248 GB, free: 9.074 MB / 446.1 MB Notification: Performance of SimCode: time 1.453e-06/0.4478, allocations: 0 / 0.5248 GB, free: 9.074 MB / 446.1 MB Notification: Performance of Templates: time 0.258/0.7058, allocations: 25.62 MB / 0.5498 GB, free: 95.01 MB / 446.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.903158011846244]