Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 143.5 kB / 24.89 MB, free: 8.793 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9183/0.9183, allocations: 173.4 MB / 201.5 MB, free: 8.273 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.0.0_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.[0-9,]+.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 268.5 MB, free: 9.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.452e-05/1.622e-05, allocations: 2.875 kB / 268.5 MB, free: 9.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.009459/0.009475, allocations: 12.37 MB / 280.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00572/0.01519, allocations: 4.324 MB / 285.2 MB, free: 8.984 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007036/0.0159, allocations: 91.44 kB / 285.3 MB, free: 8.895 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00141/0.01731, allocations: 1.009 MB / 286.3 MB, free: 7.879 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001778/0.01909, allocations: 1.335 MB / 287.7 MB, free: 6.535 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009669/0.02005, allocations: 0.8353 MB / 288.5 MB, free: 5.703 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002432/0.02249, allocations: 4.069 MB / 292.6 MB, free: 1.613 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001426/0.02391, allocations: 1.773 MB / 294.4 MB, free: 15.74 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002145/0.02606, allocations: 2.874 MB / 297.2 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001483/0.02754, allocations: 1.906 MB / 299.1 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003608/0.0279, allocations: 0.4922 MB / 299.6 MB, free: 10.46 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007249/0.02863, allocations: 0.6987 MB / 300.3 MB, free: 9.762 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000585/0.02921, allocations: 1.126 MB / 301.4 MB, free: 8.633 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008929/0.0301, allocations: 1.415 MB / 302.9 MB, free: 7.215 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002546/0.03265, allocations: 3.357 MB / 306.2 MB, free: 3.848 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.03265, allocations: 0 / 306.2 MB, free: 3.848 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.03265, allocations: 0 / 306.2 MB, free: 3.848 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.168e-05/0.03268, allocations: 0 / 306.2 MB, free: 3.848 MB / 282.7 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.004481/0.03716, allocations: 4.144 MB / 310.4 MB, free: 15.65 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.889e-05/0.03719, allocations: 8.031 kB / 310.4 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002493/0.03968, allocations: 1.097 MB / 311.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/0.04147, allocations: 1.423 MB / 312.9 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001519/0.04163, allocations: 238.6 kB / 313.1 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003817/0.04201, allocations: 316.3 kB / 313.4 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00308/0.04509, allocations: 2.386 MB / 315.8 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.786e-05/0.04514, allocations: 4 kB / 315.8 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000237/0.04538, allocations: 124 kB / 315.9 MB, free: 9.922 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001274/0.04551, allocations: 146.3 kB / 316.1 MB, free: 9.777 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001774/0.04728, allocations: 0.9301 MB / 317 MB, free: 8.832 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01004/0.05732, allocations: 8.058 MB / 325.1 MB, free: 492 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002623/0.05994, allocations: 1.687 MB / 326.8 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007699/0.06071, allocations: 0.5583 MB / 327.3 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002933/0.06365, allocations: 1.795 MB / 329.1 MB, free: 12.42 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.06367, allocations: 47.56 kB / 329.2 MB, free: 12.36 MB / 314.7 MB Notification: Performance of pre-optimization done (n=120): time 2.505e-06/0.06368, allocations: 0 / 329.2 MB, free: 12.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=123): time 0.004282/0.06796, allocations: 2.395 MB / 331.6 MB, free: 9.922 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.06799, allocations: 64.41 kB / 331.6 MB, free: 9.848 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009602/0.06895, allocations: 1.076 MB / 332.7 MB, free: 8.758 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.867e-05/0.06901, allocations: 45.7 kB / 332.7 MB, free: 8.707 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006459/0.06966, allocations: 1.248 MB / 334 MB, free: 7.445 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000253/0.06991, allocations: 460 kB / 334.4 MB, free: 6.992 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003137/0.07022, allocations: 271.4 kB / 334.7 MB, free: 6.723 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.119e-05/0.07028, allocations: 301.1 kB / 335 MB, free: 6.426 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003/0.07058, allocations: 174.8 kB / 335.2 MB, free: 6.254 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005105/0.07109, allocations: 0.6464 MB / 335.8 MB, free: 5.395 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009486/0.07204, allocations: 0.9621 MB / 336.8 MB, free: 4.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.07205, allocations: 4 kB / 336.8 MB, free: 4.227 MB / 314.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.001399/0.07345, allocations: 1.039 MB / 337.8 MB, free: 3.168 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.07347, allocations: 12 kB / 337.8 MB, free: 3.156 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.07348, allocations: 12 kB / 337.8 MB, free: 3.145 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004602/0.07394, allocations: 207.5 kB / 338 MB, free: 2.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009631/0.07491, allocations: 375.4 kB / 338.4 MB, free: 2.562 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002902/0.07781, allocations: 4.623 MB / 343 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005524/0.07836, allocations: 59.94 kB / 343.1 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.519e-05/0.07844, allocations: 52 kB / 343.1 MB, free: 13.56 MB / 330.7 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 (180): * Single equations (assignments): 176 * 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,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004279/0.07887, allocations: 216.2 kB / 343.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/0.07906, allocations: 139.8 kB / 343.5 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/0.08046, allocations: 0.9184 MB / 344.4 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.08047, allocations: 12 kB / 344.4 MB, free: 12.24 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.08048, allocations: 12 kB / 344.4 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.08049, allocations: 7.969 kB / 344.4 MB, free: 12.22 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002883/0.08337, allocations: 2.046 MB / 346.5 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.08338, allocations: 4 kB / 346.5 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005026/0.08388, allocations: 159.8 kB / 346.6 MB, free: 9.945 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008449/0.08472, allocations: 351.5 kB / 347 MB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-05/0.08479, allocations: 31.98 kB / 347 MB, free: 9.559 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005176/0.08997, allocations: 8.157 MB / 355.2 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.08997, allocations: 3.938 kB / 355.2 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1232/0.2132, allocations: 1.238 MB / 356.4 MB, free: 69.28 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007272/0.2139, allocations: 180.4 kB / 356.6 MB, free: 69.28 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.214, allocations: 33.36 kB / 356.6 MB, free: 69.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003775/0.2144, allocations: 47.83 kB / 356.7 MB, free: 69.28 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002426/0.2147, allocations: 105.9 kB / 356.8 MB, free: 69.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.8e-05/0.2147, allocations: 29.36 kB / 356.8 MB, free: 69.28 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005963/0.2153, allocations: 0.5301 MB / 357.3 MB, free: 69.23 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2153, allocations: 0 / 357.3 MB, free: 69.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001349/0.2167, allocations: 0.5291 MB / 357.9 MB, free: 69.23 MB / 330.7 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 (86): * Single equations (assignments): 81 * 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,5,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.0002166/0.2169, allocations: 135.8 kB / 358 MB, free: 69.17 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.218, allocations: 1.125 MB / 359.1 MB, free: 68.8 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-05/0.2181, allocations: 21.06 kB / 359.1 MB, free: 68.8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008517/0.2189, allocations: 1.108 MB / 360.3 MB, free: 68.21 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008568/0.2198, allocations: 418.1 kB / 360.7 MB, free: 68.2 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004398/0.2242, allocations: 4.602 MB / 365.3 MB, free: 66.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004772/0.2246, allocations: 0.6221 MB / 365.9 MB, free: 66.15 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004814/0.2251, allocations: 224 kB / 366.1 MB, free: 66.12 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005871/0.2257, allocations: 426.1 kB / 366.5 MB, free: 66.06 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.2257, allocations: 0 / 366.5 MB, free: 66.06 MB / 330.7 MB Notification: Performance of Templates: time 0.02719/0.2529, allocations: 26.61 MB / 393.1 MB, free: 47.94 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3363844812847674]