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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001617/0.001617, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.002116/0.002116, allocations: 217.3 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.485/1.485, allocations: 230.5 MB / 258.1 MB, free: 8.152 MB / 206.1 MB " [Timeout remaining time 178] 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] "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.002014/0.002014, allocations: 71.83 kB / 378.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2593, allocations: 53.32 MB / 432.1 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.0123/0.2716, allocations: 9.757 MB / 441.8 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006791/0.2784, allocations: 3.166 MB / 445 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001506/0.2799, allocations: 59.75 kB / 445 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002027/0.2819, allocations: 0.726 MB / 445.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00268/0.2846, allocations: 0.7999 MB / 446.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009823/0.2856, allocations: 407.3 kB / 447 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003494/0.2891, allocations: 2.555 MB / 449.5 MB, free: 5.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002022/0.2911, allocations: 1.307 MB / 450.8 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002137/0.2932, allocations: 1.195 MB / 452 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002411/0.2957, allocations: 1.541 MB / 453.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005387/0.2962, allocations: 316 kB / 453.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009496/0.2971, allocations: 423.8 kB / 454.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009833/0.2981, allocations: 0.9038 MB / 455.2 MB, free: 88 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0017/0.2998, allocations: 1.431 MB / 456.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005381/0.3052, allocations: 4.176 MB / 460.8 MB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.3052, allocations: 0 / 460.8 MB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3052, allocations: 0 / 460.8 MB, free: 10.46 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001344/0.3054, allocations: 0 / 460.8 MB, free: 10.46 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.007561/0.3129, allocations: 2.976 MB / 463.8 MB, free: 7.414 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.313, allocations: 12.03 kB / 463.8 MB, free: 7.402 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008861/0.3138, allocations: 307.2 kB / 464.1 MB, free: 7.102 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003332/0.3172, allocations: 1.555 MB / 465.6 MB, free: 5.488 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/0.3173, allocations: 164.3 kB / 465.8 MB, free: 5.324 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003575/0.3177, allocations: 216 kB / 466 MB, free: 5.113 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005451/0.3231, allocations: 2.799 MB / 468.8 MB, free: 2.227 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.179e-05/0.3232, allocations: 4 kB / 468.8 MB, free: 2.223 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002209/0.3234, allocations: 87.94 kB / 468.9 MB, free: 2.137 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001367/0.3236, allocations: 108.2 kB / 469 MB, free: 2.027 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00469/0.3283, allocations: 2.351 MB / 471.4 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01539/0.3436, allocations: 8.518 MB / 479.9 MB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002561/0.3462, allocations: 1.643 MB / 481.5 MB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001781/0.348, allocations: 0.9048 MB / 482.4 MB, free: 4.227 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003031/0.3483, allocations: 208.2 kB / 482.6 MB, free: 3.988 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.3483, allocations: 47.5 kB / 482.7 MB, free: 3.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 2.785e-06/0.3483, allocations: 0 / 482.7 MB, free: 3.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=116): time 0.01474/0.3631, allocations: 6.252 MB / 488.9 MB, free: 13.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.3631, allocations: 68.41 kB / 489 MB, free: 13.44 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002333/0.3655, allocations: 1.441 MB / 490.4 MB, free: 11.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.3656, allocations: 45.7 kB / 490.5 MB, free: 11.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008763/0.3664, allocations: 1.071 MB / 491.5 MB, free: 10.85 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000386/0.3668, allocations: 428.3 kB / 492 MB, free: 10.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004309/0.3673, allocations: 259.5 kB / 492.2 MB, free: 10.17 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.3675, allocations: 357.9 kB / 492.6 MB, free: 9.812 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/0.3687, allocations: 0.6949 MB / 493.3 MB, free: 9.117 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/0.3702, allocations: 1.069 MB / 494.3 MB, free: 7.891 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002895/0.3731, allocations: 1.868 MB / 496.2 MB, free: 5.859 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.3731, allocations: 4 kB / 496.2 MB, free: 5.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004581/0.3777, allocations: 2.418 MB / 498.6 MB, free: 3.398 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/0.3777, allocations: 14.97 kB / 498.6 MB, free: 3.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/0.3778, allocations: 12 kB / 498.6 MB, free: 3.375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.3788, allocations: 423.2 kB / 499.1 MB, free: 2.949 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.3801, allocations: 327.5 kB / 499.4 MB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007839/0.3879, allocations: 7.045 MB / 0.4946 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002202/0.3902, allocations: 103.8 kB / 0.4947 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002155/0.3904, allocations: 52 kB / 0.4947 GB, free: 11.01 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.001963/0.3923, allocations: 0.7002 MB / 0.4954 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005952/0.3929, allocations: 166.9 kB / 0.4955 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004404/0.3973, allocations: 2.123 MB / 0.4976 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.3973, allocations: 12 kB / 0.4976 GB, free: 7.953 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.3974, allocations: 4 kB / 0.4976 GB, free: 7.949 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.3974, allocations: 3.984 kB / 0.4976 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008922/0.4063, allocations: 4.552 MB / 0.5021 GB, free: 3.266 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/0.4063, allocations: 4 kB / 0.5021 GB, free: 3.262 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009801/0.4073, allocations: 211.7 kB / 0.5023 GB, free: 3.055 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001192/0.4085, allocations: 459.3 kB / 0.5027 GB, free: 2.594 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.894e-05/0.4086, allocations: 31.98 kB / 0.5028 GB, free: 2.562 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009536/0.4181, allocations: 8.624 MB / 0.5112 GB, free: 9.379 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.4181, allocations: 11.94 kB / 0.5112 GB, free: 9.367 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005599/0.4237, allocations: 3.1 MB / 0.5142 GB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001104/0.4248, allocations: 383.9 kB / 0.5146 GB, free: 5.785 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002328/0.425, allocations: 35.98 kB / 0.5146 GB, free: 5.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009102/0.4259, allocations: 83.91 kB / 0.5147 GB, free: 5.668 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002461/0.4262, allocations: 92.75 kB / 0.5148 GB, free: 5.578 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.197e-05/0.4263, allocations: 39.98 kB / 0.5148 GB, free: 5.539 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001554/0.4278, allocations: 0.9888 MB / 0.5158 GB, free: 4.551 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4278, allocations: 0 / 0.5158 GB, free: 4.551 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001605/0.4294, allocations: 471.9 kB / 0.5162 GB, free: 4.09 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.0004047/0.4298, allocations: 188.8 kB / 0.5164 GB, free: 3.898 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003986/0.4338, allocations: 2.161 MB / 0.5185 GB, free: 1.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.4338, allocations: 0 / 0.5185 GB, free: 1.68 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002553/0.4364, allocations: 1.396 MB / 0.5199 GB, free: 236 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00214/0.4385, allocations: 424.3 kB / 0.5203 GB, free: 15.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008131/0.4467, allocations: 4.547 MB / 0.5247 GB, free: 11.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001821/0.4485, allocations: 1.803 MB / 0.5265 GB, free: 9.367 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001275/0.4498, allocations: 365.6 kB / 0.5269 GB, free: 9.004 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003499/0.4501, allocations: 115.4 kB / 0.527 GB, free: 8.891 MB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4501, allocations: 4 kB / 0.527 GB, free: 8.887 MB / 446.1 MB Notification: Performance of Templates: time 0.2612/0.7113, allocations: 25.61 MB / 0.552 GB, free: 94.78 MB / 446.1 MB " [Timeout remaining time 659] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_Inverter/SMR_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.81194413267076]