Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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.001577/0.001577, allocations: 112.7 kB / 19.17 MB, free: 3.891 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.001703/0.001703, allocations: 206.6 kB / 22.13 MB, free: 0.9375 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.42/1.42, allocations: 230.5 MB / 255.4 MB, free: 9.09 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.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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.00191/0.00191, allocations: 63.91 kB / 374.8 MB, free: 4.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3201, allocations: 53.31 MB / 428.1 MB, free: 8.098 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01138/0.3315, allocations: 8.919 MB / 437 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005964/0.3374, allocations: 2.89 MB / 439.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001429/0.3389, allocations: 47.81 kB / 439.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001817/0.3407, allocations: 0.6443 MB / 440.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002431/0.3431, allocations: 0.734 MB / 441.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008271/0.344, allocations: 331.5 kB / 441.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002911/0.3469, allocations: 2.24 MB / 443.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0017/0.3486, allocations: 1.274 MB / 445.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001764/0.3503, allocations: 1.036 MB / 446.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002154/0.3525, allocations: 1.316 MB / 447.5 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005484/0.353, allocations: 272 kB / 447.7 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008887/0.3539, allocations: 363.8 kB / 448.1 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000901/0.3548, allocations: 0.7713 MB / 448.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001462/0.3563, allocations: 1.213 MB / 450.1 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004012/0.3603, allocations: 3.542 MB / 453.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3603, allocations: 4 kB / 453.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3603, allocations: 0 / 453.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.099e-05/0.3604, allocations: 0 / 453.6 MB, free: 14.39 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.005576/0.3659, allocations: 2.553 MB / 456.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.366, allocations: 12.03 kB / 456.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007621/0.3668, allocations: 263.4 kB / 456.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002291/0.369, allocations: 1.314 MB / 457.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.3692, allocations: 135.9 kB / 457.9 MB, free: 10 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002966/0.3695, allocations: 191.9 kB / 458.1 MB, free: 9.812 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004106/0.3736, allocations: 2.367 MB / 460.5 MB, free: 7.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.547e-05/0.3736, allocations: 11.95 kB / 460.5 MB, free: 7.398 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001834/0.3738, allocations: 75.98 kB / 460.5 MB, free: 7.324 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001131/0.3739, allocations: 91.5 kB / 460.6 MB, free: 7.234 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003544/0.3775, allocations: 1.962 MB / 462.6 MB, free: 5.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01145/0.3889, allocations: 7.084 MB / 469.7 MB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.3908, allocations: 1.219 MB / 470.9 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001578/0.3924, allocations: 0.8073 MB / 471.7 MB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000237/0.3926, allocations: 122.6 kB / 471.8 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.3927, allocations: 43.5 kB / 471.9 MB, free: 11.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 2.554e-06/0.3927, allocations: 0 / 471.9 MB, free: 11.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.01424/0.4069, allocations: 6.112 MB / 478 MB, free: 5.445 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.407, allocations: 72.41 kB / 478.1 MB, free: 5.359 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001944/0.4089, allocations: 1.211 MB / 479.3 MB, free: 4.137 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001017/0.409, allocations: 49.64 kB / 479.3 MB, free: 4.082 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007104/0.4097, allocations: 0.8909 MB / 480.2 MB, free: 3.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003409/0.4101, allocations: 380.7 kB / 480.6 MB, free: 2.805 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000383/0.4105, allocations: 226.9 kB / 480.8 MB, free: 2.578 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.4106, allocations: 349.9 kB / 481.1 MB, free: 2.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.4117, allocations: 0.6155 MB / 481.8 MB, free: 1.613 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001282/0.413, allocations: 0.9188 MB / 482.7 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002443/0.4154, allocations: 1.647 MB / 484.3 MB, free: 14.8 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.4154, allocations: 7.938 kB / 484.3 MB, free: 14.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004006/0.4194, allocations: 2.224 MB / 486.5 MB, free: 12.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.4194, allocations: 14.53 kB / 486.6 MB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.4195, allocations: 8 kB / 486.6 MB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001193/0.4207, allocations: 479.9 kB / 487 MB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009958/0.4217, allocations: 271.6 kB / 487.3 MB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007541/0.4292, allocations: 7.01 MB / 494.3 MB, free: 4.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.4304, allocations: 83.91 kB / 494.4 MB, free: 4.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.4305, allocations: 55.92 kB / 494.5 MB, free: 4.191 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(2,12,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.001243/0.4318, allocations: 0.5951 MB / 495 MB, free: 3.586 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002928/0.4321, allocations: 143 kB / 495.2 MB, free: 3.445 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003789/0.4359, allocations: 2.02 MB / 497.2 MB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.4359, allocations: 12 kB / 497.2 MB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/0.4359, allocations: 8 kB / 497.2 MB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-05/0.4359, allocations: 7.969 kB / 497.2 MB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007582/0.4435, allocations: 4.211 MB / 0.4897 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.4435, allocations: 4.469 kB / 0.4897 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007531/0.4442, allocations: 175.8 kB / 0.4899 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001422/0.4457, allocations: 0.527 MB / 0.4904 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.364e-05/0.4457, allocations: 31.98 kB / 0.4904 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008968/0.4547, allocations: 8.631 MB / 0.4988 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/0.4547, allocations: 7.938 kB / 0.4988 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005059/0.4598, allocations: 2.931 MB / 0.5017 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008555/0.4606, allocations: 356 kB / 0.502 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/0.4608, allocations: 35.92 kB / 0.5021 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007922/0.4616, allocations: 71.92 kB / 0.5021 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002614/0.4619, allocations: 92.81 kB / 0.5022 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.35e-05/0.462, allocations: 31.94 kB / 0.5023 GB, free: 15.44 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001362/0.4633, allocations: 0.8423 MB / 0.5031 GB, free: 14.59 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4633, allocations: 0 / 0.5031 GB, free: 14.59 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001562/0.4649, allocations: 411.9 kB / 0.5035 GB, free: 14.19 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[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 (88): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,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.0004084/0.4653, allocations: 194.9 kB / 0.5037 GB, free: 13.99 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003683/0.469, allocations: 2.103 MB / 0.5057 GB, free: 11.81 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.469, allocations: 0 / 0.5057 GB, free: 11.81 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002355/0.4713, allocations: 1.425 MB / 0.5071 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001929/0.4733, allocations: 388.7 kB / 0.5075 GB, free: 9.945 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006794/0.4801, allocations: 4.001 MB / 0.5114 GB, free: 5.855 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001442/0.4815, allocations: 1.618 MB / 0.513 GB, free: 4.203 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004321/0.4819, allocations: 103.4 kB / 0.5131 GB, free: 4.102 MB / 430.1 MB Notification: Performance of SimCode: time 1.192e-06/0.4819, allocations: 4 kB / 0.5131 GB, free: 4.098 MB / 430.1 MB Notification: Performance of Templates: time 0.3142/0.7962, allocations: 68.46 MB / 0.5799 GB, free: 96.1 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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: 13.17468153592199]