Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001859/0.001859, allocations: 215.9 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.526/1.526, allocations: 230.6 MB / 257.5 MB, free: 7.789 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 51.88 kB / 378.2 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2665, allocations: 53.36 MB / 431.6 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.01138/0.2779, allocations: 8.568 MB / 440.2 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006371/0.2843, allocations: 2.983 MB / 443.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001522/0.2858, allocations: 67.56 kB / 443.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002071/0.2879, allocations: 0.6676 MB / 443.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00263/0.2905, allocations: 0.8116 MB / 444.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009485/0.2914, allocations: 407.3 kB / 445.1 MB, free: 9.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003112/0.2946, allocations: 2.564 MB / 447.6 MB, free: 6.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001748/0.2963, allocations: 1.247 MB / 448.9 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001663/0.298, allocations: 1.23 MB / 450.1 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002053/0.3, allocations: 1.448 MB / 451.6 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004423/0.3005, allocations: 316 kB / 451.9 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000801/0.3013, allocations: 419.8 kB / 452.3 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009015/0.3022, allocations: 0.9038 MB / 453.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001256/0.3034, allocations: 1.155 MB / 454.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004302/0.3077, allocations: 4.2 MB / 458.5 MB, free: 11.58 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3077, allocations: 0 / 458.5 MB, free: 11.58 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3077, allocations: 0 / 458.5 MB, free: 11.58 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.561e-05/0.3078, allocations: 0 / 458.5 MB, free: 11.58 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.005781/0.3136, allocations: 2.908 MB / 461.5 MB, free: 8.625 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.3136, allocations: 8.031 kB / 461.5 MB, free: 8.617 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007903/0.3144, allocations: 311.2 kB / 461.8 MB, free: 8.312 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002893/0.3173, allocations: 1.471 MB / 463.2 MB, free: 6.801 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.3174, allocations: 164.3 kB / 463.4 MB, free: 6.637 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003201/0.3178, allocations: 211.9 kB / 463.6 MB, free: 6.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004661/0.3224, allocations: 2.9 MB / 466.5 MB, free: 3.418 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.97e-05/0.3225, allocations: 0 / 466.5 MB, free: 3.418 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002145/0.3227, allocations: 88 kB / 466.6 MB, free: 3.332 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001535/0.3229, allocations: 108.1 kB / 466.7 MB, free: 3.223 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004234/0.3271, allocations: 2.347 MB / 469 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01341/0.3405, allocations: 7.374 MB / 476.4 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002345/0.3428, allocations: 1.184 MB / 477.6 MB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001753/0.3446, allocations: 0.8939 MB / 478.5 MB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002335/0.3448, allocations: 56.94 kB / 478.5 MB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/0.3449, allocations: 43.56 kB / 478.6 MB, free: 7.055 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 2.906e-06/0.3449, allocations: 3.938 kB / 478.6 MB, free: 7.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=116): time 0.01369/0.3586, allocations: 5.719 MB / 484.3 MB, free: 1.301 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.481e-05/0.3587, allocations: 68.41 kB / 484.4 MB, free: 1.223 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00218/0.3608, allocations: 1.298 MB / 485.7 MB, free: 15.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-05/0.3609, allocations: 49.64 kB / 485.7 MB, free: 15.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008934/0.3618, allocations: 1.07 MB / 486.8 MB, free: 14.78 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003765/0.3622, allocations: 424.5 kB / 487.2 MB, free: 14.36 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004196/0.3626, allocations: 259.5 kB / 487.5 MB, free: 14.1 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.3628, allocations: 357.9 kB / 487.8 MB, free: 13.74 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/0.364, allocations: 0.6949 MB / 488.5 MB, free: 13.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00157/0.3656, allocations: 1.07 MB / 489.6 MB, free: 11.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003117/0.3687, allocations: 1.864 MB / 491.4 MB, free: 9.797 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.976e-06/0.3687, allocations: 0 / 491.4 MB, free: 9.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004626/0.3734, allocations: 2.335 MB / 493.8 MB, free: 7.445 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/0.3734, allocations: 10.19 kB / 493.8 MB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.138e-05/0.3734, allocations: 15.94 kB / 493.8 MB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/0.3745, allocations: 411.3 kB / 494.2 MB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.3757, allocations: 327.5 kB / 494.5 MB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008319/0.384, allocations: 6.627 MB / 0.4894 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.3856, allocations: 107.8 kB / 0.4895 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/0.3858, allocations: 60 kB / 0.4896 GB, free: 15.59 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.001566/0.3873, allocations: 0.6811 MB / 0.4902 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004442/0.3878, allocations: 151.1 kB / 0.4904 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004174/0.3919, allocations: 2.038 MB / 0.4924 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.392, allocations: 12 kB / 0.4924 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/0.392, allocations: 4 kB / 0.4924 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.392, allocations: 3.984 kB / 0.4924 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008553/0.4005, allocations: 3.95 MB / 0.4962 GB, free: 8.621 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.4006, allocations: 4.031 kB / 0.4962 GB, free: 8.617 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009461/0.4015, allocations: 211.7 kB / 0.4964 GB, free: 8.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001217/0.4027, allocations: 451 kB / 0.4969 GB, free: 7.957 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/0.4028, allocations: 39.91 kB / 0.4969 GB, free: 7.918 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009422/0.4122, allocations: 8.056 MB / 0.5048 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.4123, allocations: 7.938 kB / 0.5048 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005688/0.4179, allocations: 3.016 MB / 0.5077 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/0.419, allocations: 290.9 kB / 0.508 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003513/0.4193, allocations: 35.92 kB / 0.508 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009862/0.4203, allocations: 79.91 kB / 0.5081 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002574/0.4206, allocations: 96.77 kB / 0.5082 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.594e-05/0.4206, allocations: 39.98 kB / 0.5083 GB, free: 11.83 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00162/0.4223, allocations: 0.8836 MB / 0.5091 GB, free: 10.95 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4223, allocations: 0 / 0.5091 GB, free: 10.95 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001725/0.424, allocations: 459.9 kB / 0.5096 GB, free: 10.5 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.0004428/0.4244, allocations: 199.3 kB / 0.5097 GB, free: 10.29 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004052/0.4285, allocations: 2.086 MB / 0.5118 GB, free: 8.164 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.4285, allocations: 0 / 0.5118 GB, free: 8.164 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002419/0.4309, allocations: 1.399 MB / 0.5131 GB, free: 6.711 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/0.4329, allocations: 363.2 kB / 0.5135 GB, free: 6.367 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009251/0.4422, allocations: 4.508 MB / 0.5179 GB, free: 1.785 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002004/0.4442, allocations: 1.235 MB / 0.5191 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001246/0.4454, allocations: 348.5 kB / 0.5194 GB, free: 160 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004204/0.4458, allocations: 111.4 kB / 0.5195 GB, free: 48 kB / 430.1 MB Notification: Performance of SimCode: time 1.163e-06/0.4458, allocations: 4 kB / 0.5195 GB, free: 44 kB / 430.1 MB Notification: Performance of Templates: time 0.2553/0.7012, allocations: 25.94 MB / 0.5449 GB, free: 95.53 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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: 6.04109513759613]