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.001955/0.001955, allocations: 96.02 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002554/0.002554, allocations: 177.9 kB / 24.45 MB, free: 3.977 MB / 14.72 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 1.465/1.465, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] 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.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_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.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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 47.92 kB / 371.7 MB, free: 9.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2423, allocations: 52.17 MB / 423.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01577/0.258, allocations: 11.26 MB / 435.1 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008876/0.2669, allocations: 4.022 MB / 439.1 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001632/0.2685, allocations: 95.44 kB / 439.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002613/0.2712, allocations: 0.9666 MB / 440.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003687/0.2748, allocations: 1.297 MB / 441.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001953/0.2768, allocations: 0.8252 MB / 442.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004796/0.2816, allocations: 3.885 MB / 446.2 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002607/0.2842, allocations: 1.707 MB / 447.9 MB, free: 6.234 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002754/0.287, allocations: 1.893 MB / 449.8 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003153/0.2901, allocations: 1.969 MB / 451.8 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007888/0.2909, allocations: 0.5 MB / 452.3 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001422/0.2923, allocations: 0.6872 MB / 452.9 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001082/0.2934, allocations: 1.106 MB / 454 MB, free: 64 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002082/0.2955, allocations: 1.634 MB / 455.7 MB, free: 14.42 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007419/0.3029, allocations: 6.638 MB / 462.3 MB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3029, allocations: 0 / 462.3 MB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3029, allocations: 0 / 462.3 MB, free: 7.762 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001115/0.303, allocations: 0 / 462.3 MB, free: 7.762 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.01059/0.3136, allocations: 4.318 MB / 466.6 MB, free: 3.387 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.3137, allocations: 12.03 kB / 466.6 MB, free: 3.375 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004156/0.3178, allocations: 0.8145 MB / 467.5 MB, free: 2.559 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004535/0.3223, allocations: 2.321 MB / 469.8 MB, free: 192 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002114/0.3226, allocations: 238.4 kB / 470 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005242/0.3231, allocations: 312 kB / 470.3 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007511/0.3306, allocations: 4.377 MB / 474.7 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.962e-05/0.3307, allocations: 0 / 474.7 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002969/0.331, allocations: 132 kB / 474.8 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000164/0.3311, allocations: 150.3 kB / 475 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006492/0.3376, allocations: 3.601 MB / 478.6 MB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01926/0.3569, allocations: 11.15 MB / 489.7 MB, free: 11.85 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00523/0.3621, allocations: 2.615 MB / 492.3 MB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002141/0.3642, allocations: 1.23 MB / 493.6 MB, free: 8.125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006275/0.3705, allocations: 3.092 MB / 496.7 MB, free: 5.004 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.3706, allocations: 43.56 kB / 496.7 MB, free: 4.953 MB / 398.1 MB Notification: Performance of pre-optimization done (n=120): time 3.486e-06/0.3706, allocations: 0 / 496.7 MB, free: 4.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=123): time 0.01086/0.3814, allocations: 4.794 MB / 0.4897 GB, free: 112 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/0.3815, allocations: 68.41 kB / 0.4898 GB, free: 28 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002358/0.3838, allocations: 1.505 MB / 0.4913 GB, free: 14.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001229/0.384, allocations: 49.64 kB / 0.4913 GB, free: 14.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001159/0.3851, allocations: 1.457 MB / 0.4928 GB, free: 12.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004089/0.3855, allocations: 460.1 kB / 0.4932 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004568/0.386, allocations: 283.5 kB / 0.4935 GB, free: 12.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.3861, allocations: 301.1 kB / 0.4937 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.3873, allocations: 0.6403 MB / 0.4944 GB, free: 11.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001606/0.3889, allocations: 1.135 MB / 0.4955 GB, free: 9.977 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002859/0.3918, allocations: 1.878 MB / 0.4973 GB, free: 7.898 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.3918, allocations: 4 kB / 0.4973 GB, free: 7.895 MB / 414.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004161/0.3959, allocations: 2.226 MB / 0.4995 GB, free: 5.648 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.396, allocations: 12 kB / 0.4995 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.57e-05/0.396, allocations: 20.28 kB / 0.4995 GB, free: 5.617 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007551/0.3967, allocations: 271.2 kB / 0.4998 GB, free: 5.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/0.3982, allocations: 359.4 kB / 0.5001 GB, free: 4.988 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006212/0.4044, allocations: 5.784 MB / 0.5058 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.4057, allocations: 67.95 kB / 0.5058 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001796/0.4059, allocations: 68.12 kB / 0.5059 GB, free: 14.77 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 (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.001885/0.4078, allocations: 1.001 MB / 0.5069 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003388/0.4081, allocations: 179 kB / 0.5071 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003939/0.4121, allocations: 1.936 MB / 0.5089 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.4121, allocations: 12 kB / 0.509 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.636e-05/0.4121, allocations: 19.88 kB / 0.509 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.4121, allocations: 11.91 kB / 0.509 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007743/0.4199, allocations: 3.96 MB / 0.5128 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.4199, allocations: 0 / 0.5128 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008099/0.4207, allocations: 179.7 kB / 0.513 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00125/0.4219, allocations: 448.1 kB / 0.5134 GB, free: 6.906 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.922e-05/0.422, allocations: 35.98 kB / 0.5135 GB, free: 6.871 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01192/0.4339, allocations: 10.28 MB / 0.5235 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.4339, allocations: 0 / 0.5235 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005688/0.4396, allocations: 2.832 MB / 0.5263 GB, free: 9.199 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/0.4407, allocations: 314.8 kB / 0.5266 GB, free: 8.891 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003385/0.441, allocations: 28.12 kB / 0.5266 GB, free: 8.863 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008817/0.4419, allocations: 67.94 kB / 0.5267 GB, free: 8.797 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002609/0.4422, allocations: 112.7 kB / 0.5268 GB, free: 8.688 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.134e-05/0.4423, allocations: 35.98 kB / 0.5268 GB, free: 8.652 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001729/0.444, allocations: 1.017 MB / 0.5278 GB, free: 7.637 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.444, allocations: 0 / 0.5278 GB, free: 7.637 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002141/0.4461, allocations: 0.5353 MB / 0.5283 GB, free: 7.102 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 (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.0003589/0.4465, allocations: 163 kB / 0.5285 GB, free: 6.934 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003521/0.45, allocations: 1.942 MB / 0.5304 GB, free: 4.953 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.45, allocations: 0 / 0.5304 GB, free: 4.953 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002433/0.4524, allocations: 1.473 MB / 0.5318 GB, free: 3.414 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/0.4543, allocations: 412.7 kB / 0.5322 GB, free: 3.016 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2009/0.6553, allocations: 5.522 MB / 0.5376 GB, free: 105.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002375/0.6577, allocations: 1.671 MB / 0.5392 GB, free: 105.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005544/0.6582, allocations: 127.7 kB / 0.5394 GB, free: 105.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.173e-06/0.6582, allocations: 3.812 kB / 0.5394 GB, free: 105.1 MB / 446.1 MB Notification: Performance of Templates: time 0.08215/0.7404, allocations: 108.9 MB / 0.6457 GB, free: 3.422 MB / 446.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 12.493616212159395]