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.00145/0.00145, allocations: 117 kB / 21.18 MB, free: 0.6289 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.001527/0.001527, allocations: 209.3 kB / 24.47 MB, free: 3.898 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.406/1.406, allocations: 230.5 MB / 258.1 MB, free: 8.121 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.002079/0.002079, allocations: 71.83 kB / 378.7 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2561, allocations: 53.32 MB / 432.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01152/0.2676, allocations: 8.963 MB / 441 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006253/0.2739, allocations: 2.906 MB / 443.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001288/0.2752, allocations: 43.81 kB / 444 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001723/0.2769, allocations: 0.6406 MB / 444.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002379/0.2793, allocations: 0.7418 MB / 445.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008406/0.2801, allocations: 335.5 kB / 445.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002935/0.2831, allocations: 2.233 MB / 447.9 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001486/0.2845, allocations: 1.024 MB / 448.9 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001677/0.2862, allocations: 1.028 MB / 450 MB, free: 5.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002092/0.2883, allocations: 1.323 MB / 451.3 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004028/0.2887, allocations: 268 kB / 451.6 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007287/0.2894, allocations: 367.8 kB / 451.9 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008073/0.2903, allocations: 0.7674 MB / 452.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001434/0.2917, allocations: 1.209 MB / 453.9 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00421/0.2959, allocations: 3.554 MB / 457.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.2959, allocations: 0 / 457.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.2959, allocations: 0 / 457.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.862e-05/0.296, allocations: 0 / 457.4 MB, free: 13.84 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.005484/0.3014, allocations: 2.541 MB / 460 MB, free: 11.24 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.3015, allocations: 8.031 kB / 460 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00073/0.3022, allocations: 267.4 kB / 460.3 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002528/0.3048, allocations: 1.318 MB / 461.6 MB, free: 9.598 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.3049, allocations: 135.9 kB / 461.7 MB, free: 9.465 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002837/0.3051, allocations: 183.9 kB / 461.9 MB, free: 9.285 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004093/0.3092, allocations: 2.386 MB / 464.3 MB, free: 6.863 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.161e-05/0.3093, allocations: 7.953 kB / 464.3 MB, free: 6.855 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001739/0.3095, allocations: 68 kB / 464.3 MB, free: 6.789 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001119/0.3096, allocations: 99.48 kB / 464.4 MB, free: 6.691 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003527/0.3131, allocations: 1.962 MB / 466.4 MB, free: 4.727 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01183/0.3249, allocations: 7.076 MB / 473.5 MB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001975/0.3269, allocations: 1.226 MB / 474.7 MB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00159/0.3285, allocations: 0.8117 MB / 475.5 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002464/0.3287, allocations: 122.1 kB / 475.6 MB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.593e-05/0.3288, allocations: 39.56 kB / 475.7 MB, free: 11.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 3.146e-06/0.3288, allocations: 0 / 475.7 MB, free: 11.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.01431/0.3431, allocations: 6.116 MB / 481.8 MB, free: 4.906 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.3432, allocations: 60.41 kB / 481.9 MB, free: 4.836 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001904/0.3451, allocations: 1.219 MB / 483.1 MB, free: 3.605 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000124/0.3452, allocations: 45.7 kB / 483.1 MB, free: 3.555 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007436/0.3459, allocations: 0.8909 MB / 484 MB, free: 2.652 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000378/0.3463, allocations: 388.6 kB / 484.4 MB, free: 2.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003693/0.3467, allocations: 222.9 kB / 484.6 MB, free: 2.047 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.3469, allocations: 353.9 kB / 484.9 MB, free: 1.695 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/0.3479, allocations: 0.6155 MB / 485.6 MB, free: 1.078 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/0.3492, allocations: 0.9227 MB / 486.5 MB, free: 32 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002468/0.3517, allocations: 1.639 MB / 488.1 MB, free: 14.26 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.3517, allocations: 0 / 488.1 MB, free: 14.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004066/0.3557, allocations: 2.228 MB / 490.4 MB, free: 12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.3558, allocations: 8 kB / 490.4 MB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/0.3558, allocations: 8 kB / 490.4 MB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00115/0.3569, allocations: 484 kB / 490.8 MB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.358, allocations: 267.6 kB / 491.1 MB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007398/0.3654, allocations: 7.032 MB / 498.1 MB, free: 3.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.3667, allocations: 79.91 kB / 498.2 MB, free: 3.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.3668, allocations: 52 kB / 498.3 MB, free: 3.656 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.001085/0.3679, allocations: 0.595 MB / 498.9 MB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003284/0.3682, allocations: 147 kB / 499 MB, free: 2.906 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003613/0.3718, allocations: 2.02 MB / 0.4893 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.3718, allocations: 8 kB / 0.4893 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/0.3718, allocations: 4 kB / 0.4893 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.577e-05/0.3719, allocations: 7.969 kB / 0.4893 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007558/0.3794, allocations: 4.208 MB / 0.4934 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.3794, allocations: 8.094 kB / 0.4934 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007612/0.3802, allocations: 179.7 kB / 0.4936 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001369/0.3815, allocations: 0.5193 MB / 0.4941 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.227e-05/0.3816, allocations: 35.92 kB / 0.4941 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008823/0.3905, allocations: 8.624 MB / 0.5026 GB, free: 2.539 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.3905, allocations: 8.062 kB / 0.5026 GB, free: 2.531 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004901/0.3954, allocations: 2.938 MB / 0.5054 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009149/0.3963, allocations: 356 kB / 0.5058 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/0.3965, allocations: 35.92 kB / 0.5058 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007757/0.3973, allocations: 71.92 kB / 0.5059 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002269/0.3975, allocations: 84.83 kB / 0.506 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.049e-05/0.3976, allocations: 39.92 kB / 0.506 GB, free: 14.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001285/0.3988, allocations: 0.8423 MB / 0.5068 GB, free: 14.05 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3988, allocations: 0 / 0.5068 GB, free: 14.05 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001441/0.4003, allocations: 408 kB / 0.5072 GB, free: 13.66 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.0003881/0.4007, allocations: 190.4 kB / 0.5074 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003646/0.4043, allocations: 2.102 MB / 0.5094 GB, free: 11.28 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/0.4043, allocations: 4 kB / 0.5094 GB, free: 11.28 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002317/0.4066, allocations: 1.421 MB / 0.5108 GB, free: 9.785 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/0.4086, allocations: 396.1 kB / 0.5112 GB, free: 9.41 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00676/0.4153, allocations: 4.025 MB / 0.5151 GB, free: 5.301 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001423/0.4168, allocations: 1.63 MB / 0.5167 GB, free: 3.637 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004436/0.4172, allocations: 103.4 kB / 0.5168 GB, free: 3.535 MB / 430.1 MB Notification: Performance of SimCode: time 1.342e-06/0.4172, allocations: 0 / 0.5168 GB, free: 3.535 MB / 430.1 MB Notification: Performance of Templates: time 0.2677/0.6849, allocations: 68.45 MB / 0.5837 GB, free: 63.06 MB / 446.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: 12.041489139199257]