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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001374/0.001374, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00147/0.00147, allocations: 213.6 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 230.5 MB / 257.4 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.001913/0.001913, allocations: 63.91 kB / 378.2 MB, free: 2.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2245, allocations: 53.41 MB / 431.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.016/0.2405, allocations: 11.78 MB / 443.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008519/0.249, allocations: 4.264 MB / 447.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001562/0.2505, allocations: 99.44 kB / 447.8 MB, free: 6.324 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002654/0.2532, allocations: 0.9746 MB / 448.8 MB, free: 5.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004204/0.2574, allocations: 1.286 MB / 450.1 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002212/0.2596, allocations: 0.8754 MB / 450.9 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005237/0.2648, allocations: 3.93 MB / 454.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002635/0.2675, allocations: 1.714 MB / 456.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002753/0.2702, allocations: 1.897 MB / 458.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00325/0.2735, allocations: 2.094 MB / 460.6 MB, free: 9.445 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007005/0.2742, allocations: 0.4961 MB / 461.1 MB, free: 8.949 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.2756, allocations: 0.7029 MB / 461.8 MB, free: 8.246 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001096/0.2767, allocations: 1.11 MB / 462.9 MB, free: 7.133 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001882/0.2785, allocations: 1.642 MB / 464.5 MB, free: 5.484 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007129/0.2857, allocations: 6.677 MB / 471.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2857, allocations: 8 kB / 471.2 MB, free: 14.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2857, allocations: 0 / 471.2 MB, free: 14.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001036/0.2858, allocations: 0 / 471.2 MB, free: 14.78 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.01113/0.2969, allocations: 4.33 MB / 475.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.297, allocations: 15.98 kB / 475.5 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004333/0.3013, allocations: 0.8066 MB / 476.4 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005196/0.3065, allocations: 2.337 MB / 478.7 MB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002244/0.3067, allocations: 242.2 kB / 478.9 MB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000653/0.3074, allocations: 308 kB / 479.2 MB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008413/0.3158, allocations: 4.389 MB / 483.6 MB, free: 2.164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.243e-05/0.3159, allocations: 12 kB / 483.6 MB, free: 2.152 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003342/0.3162, allocations: 123.9 kB / 483.7 MB, free: 2.031 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001715/0.3164, allocations: 154.3 kB / 483.9 MB, free: 1.879 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006792/0.3232, allocations: 3.605 MB / 487.5 MB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01992/0.3431, allocations: 11.18 MB / 498.7 MB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005571/0.3487, allocations: 2.652 MB / 0.4896 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00311/0.3518, allocations: 1.504 MB / 0.4911 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00664/0.3584, allocations: 3.329 MB / 0.4943 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/0.3584, allocations: 51.5 kB / 0.4944 GB, free: 11.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 3.095e-06/0.3584, allocations: 4 kB / 0.4944 GB, free: 11.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01101/0.3695, allocations: 4.971 MB / 0.4992 GB, free: 6.312 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.3695, allocations: 64.41 kB / 0.4993 GB, free: 6.234 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002286/0.3718, allocations: 1.533 MB / 0.5008 GB, free: 4.691 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.753e-05/0.3719, allocations: 45.7 kB / 0.5008 GB, free: 4.641 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001171/0.3731, allocations: 1.453 MB / 0.5022 GB, free: 3.176 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004073/0.3735, allocations: 460.1 kB / 0.5027 GB, free: 2.723 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000459/0.3739, allocations: 291.4 kB / 0.503 GB, free: 2.434 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3741, allocations: 301.1 kB / 0.5032 GB, free: 2.137 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/0.3753, allocations: 0.6598 MB / 0.5039 GB, free: 1.477 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001645/0.3769, allocations: 1.154 MB / 0.505 GB, free: 120 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00299/0.3799, allocations: 1.898 MB / 0.5069 GB, free: 14.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.727e-06/0.3799, allocations: 4 kB / 0.5069 GB, free: 14.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004234/0.3842, allocations: 2.312 MB / 0.5091 GB, free: 11.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.3842, allocations: 12 kB / 0.5091 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-05/0.3842, allocations: 19.94 kB / 0.5092 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008444/0.3851, allocations: 315.4 kB / 0.5095 GB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/0.3865, allocations: 351.4 kB / 0.5098 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006981/0.3934, allocations: 6.184 MB / 0.5158 GB, free: 4.496 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.3947, allocations: 71.91 kB / 0.5159 GB, free: 4.426 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/0.3948, allocations: 75.98 kB / 0.516 GB, free: 4.352 MB / 430.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.001754/0.3965, allocations: 0.9972 MB / 0.5169 GB, free: 3.344 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002888/0.3968, allocations: 178.9 kB / 0.5171 GB, free: 3.168 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004045/0.4009, allocations: 2.019 MB / 0.5191 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.4009, allocations: 12 kB / 0.5191 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.58e-05/0.4009, allocations: 11.88 kB / 0.5191 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/0.4009, allocations: 11.91 kB / 0.5191 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007641/0.4086, allocations: 4.085 MB / 0.5231 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.4086, allocations: 4 kB / 0.5231 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007695/0.4093, allocations: 163.8 kB / 0.5233 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001299/0.4106, allocations: 496 kB / 0.5237 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.449e-05/0.4107, allocations: 39.97 kB / 0.5238 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01216/0.4229, allocations: 10.72 MB / 0.5343 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.4229, allocations: 4.031 kB / 0.5343 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1922/0.6151, allocations: 2.924 MB / 0.5371 GB, free: 98.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008886/0.6159, allocations: 326.4 kB / 0.5374 GB, free: 98.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/0.6162, allocations: 33.02 kB / 0.5375 GB, free: 98.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000809/0.617, allocations: 63.75 kB / 0.5375 GB, free: 98.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002254/0.6172, allocations: 109.3 kB / 0.5376 GB, free: 98.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.5e-05/0.6173, allocations: 36.38 kB / 0.5377 GB, free: 98.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001419/0.6187, allocations: 1.025 MB / 0.5387 GB, free: 98.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6187, allocations: 0 / 0.5387 GB, free: 98.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001746/0.6204, allocations: 0.5389 MB / 0.5392 GB, free: 98.29 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.0002627/0.6207, allocations: 166.6 kB / 0.5393 GB, free: 98.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002867/0.6236, allocations: 1.994 MB / 0.5413 GB, free: 97.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.6236, allocations: 0 / 0.5413 GB, free: 97.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001889/0.6254, allocations: 1.498 MB / 0.5427 GB, free: 96.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/0.6271, allocations: 419.9 kB / 0.5432 GB, free: 96.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007242/0.6343, allocations: 5.571 MB / 0.5486 GB, free: 93.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001508/0.6359, allocations: 1.728 MB / 0.5503 GB, free: 92.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00103/0.6369, allocations: 355.6 kB / 0.5506 GB, free: 92.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002657/0.6372, allocations: 114.9 kB / 0.5507 GB, free: 92.71 MB / 446.1 MB Notification: Performance of SimCode: time 9.52e-07/0.6372, allocations: 0 / 0.5507 GB, free: 92.71 MB / 446.1 MB Notification: Performance of Templates: time 0.03938/0.6765, allocations: 29.31 MB / 0.5794 GB, free: 65.05 MB / 446.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/jenkins/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/jenkins/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 [Calling sys.exit(0), Time elapsed: 5.738584788516164]