Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001361/0.001361, allocations: 110.2 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001514/0.001514, allocations: 213.4 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.536/1.536, allocations: 230.2 MB / 256.7 MB, free: 8.633 MB / 206.1 MB [Timeout remaining time 88] 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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 63.89 kB / 376.9 MB, free: 3.762 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2492, allocations: 53.32 MB / 430.2 MB, free: 7.781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01604/0.2652, allocations: 13.51 MB / 443.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008861/0.2741, allocations: 4.51 MB / 448.2 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002817/0.2769, allocations: 87.69 kB / 448.3 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003267/0.2802, allocations: 1.041 MB / 449.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004101/0.2843, allocations: 1.293 MB / 450.7 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002303/0.2866, allocations: 0.9033 MB / 451.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005127/0.2917, allocations: 3.911 MB / 455.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003092/0.2948, allocations: 2.249 MB / 457.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002884/0.2977, allocations: 1.865 MB / 459.6 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003558/0.3012, allocations: 2.215 MB / 461.8 MB, free: 8.004 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009257/0.3022, allocations: 0.5 MB / 462.3 MB, free: 7.504 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00168/0.3038, allocations: 0.7185 MB / 463 MB, free: 6.785 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001116/0.305, allocations: 1.11 MB / 464.1 MB, free: 5.672 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002596/0.3075, allocations: 2.085 MB / 466.2 MB, free: 3.578 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00782/0.3154, allocations: 6.654 MB / 472.9 MB, free: 12.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3154, allocations: 0 / 472.9 MB, free: 12.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3154, allocations: 0 / 472.9 MB, free: 12.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001445/0.3155, allocations: 0 / 472.9 MB, free: 12.9 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.01175/0.3273, allocations: 4.432 MB / 477.3 MB, free: 8.395 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.3273, allocations: 8.031 kB / 477.3 MB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004511/0.3318, allocations: 0.7989 MB / 478.1 MB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005387/0.3372, allocations: 2.409 MB / 480.5 MB, free: 5.121 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002505/0.3375, allocations: 242.2 kB / 480.8 MB, free: 4.883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008644/0.3383, allocations: 311.9 kB / 481.1 MB, free: 4.578 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009642/0.348, allocations: 4.238 MB / 485.3 MB, free: 296 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.363e-05/0.3481, allocations: 0 / 485.3 MB, free: 296 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005479/0.3486, allocations: 127.9 kB / 485.4 MB, free: 168 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001815/0.3488, allocations: 154.3 kB / 485.6 MB, free: 12 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007501/0.3563, allocations: 3.612 MB / 489.2 MB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02344/0.3797, allocations: 13.13 MB / 0.4905 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007763/0.3875, allocations: 7.054 MB / 0.4974 GB, free: 6.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003257/0.3907, allocations: 1.516 MB / 0.4989 GB, free: 5.398 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008021/0.3988, allocations: 4.218 MB / 0.503 GB, free: 1.027 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.499e-05/0.3988, allocations: 51.56 kB / 0.5031 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 3.597e-06/0.3988, allocations: 0 / 0.5031 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01221/0.411, allocations: 5.596 MB / 0.5085 GB, free: 11.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.4111, allocations: 68.41 kB / 0.5086 GB, free: 11.1 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003159/0.4143, allocations: 1.723 MB / 0.5103 GB, free: 9.371 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001323/0.4144, allocations: 45.7 kB / 0.5103 GB, free: 9.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001165/0.4156, allocations: 1.454 MB / 0.5118 GB, free: 7.852 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000444/0.416, allocations: 456.1 kB / 0.5122 GB, free: 7.402 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005167/0.4165, allocations: 279.5 kB / 0.5125 GB, free: 7.125 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.4166, allocations: 309.1 kB / 0.5128 GB, free: 6.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/0.4178, allocations: 0.652 MB / 0.5134 GB, free: 6.168 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00158/0.4194, allocations: 1.125 MB / 0.5145 GB, free: 4.844 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002911/0.4223, allocations: 1.902 MB / 0.5163 GB, free: 2.738 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.37e-05/0.4224, allocations: 4 kB / 0.5163 GB, free: 2.734 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004514/0.4269, allocations: 2.41 MB / 0.5187 GB, free: 292 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/0.4269, allocations: 8 kB / 0.5187 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.798e-05/0.4269, allocations: 16 kB / 0.5187 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008881/0.4278, allocations: 319.5 kB / 0.519 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/0.4292, allocations: 343.5 kB / 0.5194 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007225/0.4364, allocations: 6.63 MB / 0.5258 GB, free: 8.547 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.4379, allocations: 80.02 kB / 0.5259 GB, free: 8.469 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002527/0.4381, allocations: 67.98 kB / 0.526 GB, free: 8.402 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (177): * Single equations (assignments): 173 * 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 {(1,1,100.0%), (1,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002013/0.4402, allocations: 0.9931 MB / 0.5269 GB, free: 7.398 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000585/0.4407, allocations: 194.8 kB / 0.5271 GB, free: 7.207 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004651/0.4454, allocations: 2.19 MB / 0.5293 GB, free: 4.949 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.4454, allocations: 16 kB / 0.5293 GB, free: 4.934 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.886e-05/0.4454, allocations: 8 kB / 0.5293 GB, free: 4.926 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.739e-05/0.4454, allocations: 7.969 kB / 0.5293 GB, free: 4.918 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.239/0.6844, allocations: 4.922 MB / 0.5341 GB, free: 99.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.911e-05/0.6845, allocations: 5.188 kB / 0.5341 GB, free: 99.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009786/0.6854, allocations: 173.8 kB / 0.5343 GB, free: 99.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001587/0.687, allocations: 494.8 kB / 0.5347 GB, free: 99.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/0.6871, allocations: 39.77 kB / 0.5348 GB, free: 99.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008891/0.696, allocations: 11.48 MB / 0.546 GB, free: 90.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.696, allocations: 5.281 kB / 0.546 GB, free: 90.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004749/0.7008, allocations: 3.102 MB / 0.549 GB, free: 89.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008408/0.7016, allocations: 423.4 kB / 0.5494 GB, free: 88.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002022/0.7018, allocations: 27.78 kB / 0.5495 GB, free: 88.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008001/0.7026, allocations: 64.61 kB / 0.5495 GB, free: 88.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002731/0.7029, allocations: 97.05 kB / 0.5496 GB, free: 88.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.335e-05/0.703, allocations: 43.17 kB / 0.5497 GB, free: 88.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001578/0.7046, allocations: 1.184 MB / 0.5508 GB, free: 88.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7046, allocations: 0 / 0.5508 GB, free: 88.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0021/0.7067, allocations: 0.5474 MB / 0.5513 GB, free: 88.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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 (83): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,8,100.0%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003943/0.707, allocations: 158.2 kB / 0.5515 GB, free: 88.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003179/0.7102, allocations: 2.063 MB / 0.5535 GB, free: 87.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.7102, allocations: 3.562 kB / 0.5535 GB, free: 87.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001895/0.7121, allocations: 1.5 MB / 0.555 GB, free: 86.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001919/0.714, allocations: 0.5236 MB / 0.5555 GB, free: 86.03 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007586/0.7216, allocations: 5.576 MB / 0.5609 GB, free: 83.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001377/0.723, allocations: 2.233 MB / 0.5631 GB, free: 81.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004466/0.7235, allocations: 143.2 kB / 0.5633 GB, free: 81.14 MB / 446.1 MB Notification: Performance of SimCode: time 1.132e-06/0.7235, allocations: 4 kB / 0.5633 GB, free: 81.14 MB / 446.1 MB Notification: Performance of Templates: time 0.09439/0.8178, allocations: 110.4 MB / 0.6711 GB, free: 3.145 MB / 478.1 MB [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches