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.00131/0.00131, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001482/0.001482, allocations: 217.7 kB / 24.5 MB, free: 4.133 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.479/1.479, allocations: 230.5 MB / 258.1 MB, free: 7.996 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.002996/0.002996, allocations: 63.91 kB / 379.1 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2872, allocations: 53.41 MB / 432.5 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01775/0.305, allocations: 13.56 MB / 446 MB, free: 9.117 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009213/0.3142, allocations: 4.522 MB / 450.5 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002076/0.3163, allocations: 95.44 kB / 450.6 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003076/0.3194, allocations: 1.037 MB / 451.7 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004235/0.3236, allocations: 1.309 MB / 453 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002578/0.3262, allocations: 0.9172 MB / 453.9 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005705/0.3319, allocations: 3.937 MB / 457.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003455/0.3353, allocations: 1.792 MB / 459.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003051/0.3384, allocations: 1.897 MB / 461.5 MB, free: 9.504 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003958/0.3423, allocations: 2.219 MB / 463.7 MB, free: 7.277 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001186/0.3435, allocations: 0.5 MB / 464.2 MB, free: 6.777 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002061/0.3456, allocations: 0.7302 MB / 465 MB, free: 6.047 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001534/0.3471, allocations: 1.11 MB / 466.1 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003286/0.3504, allocations: 2.081 MB / 468.2 MB, free: 2.844 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007814/0.3582, allocations: 6.65 MB / 474.8 MB, free: 12.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3582, allocations: 0 / 474.8 MB, free: 12.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3582, allocations: 0 / 474.8 MB, free: 12.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001217/0.3583, allocations: 3.938 kB / 474.8 MB, free: 12.17 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.01087/0.3692, allocations: 4.353 MB / 479.2 MB, free: 7.758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.3692, allocations: 8.031 kB / 479.2 MB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004153/0.3734, allocations: 0.8027 MB / 480 MB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004768/0.3782, allocations: 2.36 MB / 482.3 MB, free: 4.535 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002105/0.3784, allocations: 234.2 kB / 482.6 MB, free: 4.305 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005152/0.3789, allocations: 311.9 kB / 482.9 MB, free: 4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007562/0.3865, allocations: 4.234 MB / 487.1 MB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.718e-05/0.3865, allocations: 4 kB / 487.1 MB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002934/0.3868, allocations: 124 kB / 487.2 MB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001672/0.387, allocations: 154.3 kB / 487.4 MB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006692/0.3937, allocations: 3.612 MB / 491 MB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02156/0.4152, allocations: 12.82 MB / 0.492 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005386/0.4206, allocations: 2.656 MB / 0.4946 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002985/0.4236, allocations: 1.512 MB / 0.4961 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007177/0.4308, allocations: 3.706 MB / 0.4997 GB, free: 6.887 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.923e-05/0.4308, allocations: 51.56 kB / 0.4998 GB, free: 6.828 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 3.216e-06/0.4308, allocations: 0 / 0.4998 GB, free: 6.828 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01143/0.4423, allocations: 4.99 MB / 0.5046 GB, free: 1.793 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.4423, allocations: 68.41 kB / 0.5047 GB, free: 1.715 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002677/0.445, allocations: 1.719 MB / 0.5064 GB, free: 15.99 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-05/0.4451, allocations: 49.7 kB / 0.5064 GB, free: 15.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001166/0.4463, allocations: 1.454 MB / 0.5078 GB, free: 14.47 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003973/0.4467, allocations: 456.1 kB / 0.5083 GB, free: 14.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004497/0.4471, allocations: 279.5 kB / 0.5085 GB, free: 13.74 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.4472, allocations: 305.1 kB / 0.5088 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/0.4485, allocations: 0.6598 MB / 0.5095 GB, free: 12.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/0.45, allocations: 1.125 MB / 0.5106 GB, free: 11.46 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00286/0.4529, allocations: 1.898 MB / 0.5124 GB, free: 9.359 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.4529, allocations: 4 kB / 0.5124 GB, free: 9.355 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004293/0.4572, allocations: 2.331 MB / 0.5147 GB, free: 7.004 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.4572, allocations: 12 kB / 0.5147 GB, free: 6.992 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/0.4572, allocations: 16 kB / 0.5147 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008422/0.458, allocations: 323.1 kB / 0.515 GB, free: 6.652 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/0.4594, allocations: 355.4 kB / 0.5154 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006888/0.4663, allocations: 6.316 MB / 0.5216 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/0.4675, allocations: 80.02 kB / 0.5216 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/0.4676, allocations: 71.98 kB / 0.5217 GB, free: 15.5 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.00174/0.4694, allocations: 0.997 MB / 0.5227 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003069/0.4697, allocations: 190.8 kB / 0.5229 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00404/0.4737, allocations: 2.043 MB / 0.5248 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.4737, allocations: 12 kB / 0.5249 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.4738, allocations: 7.938 kB / 0.5249 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/0.4738, allocations: 11.97 kB / 0.5249 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008374/0.4821, allocations: 4.746 MB / 0.5295 GB, free: 7.355 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.178e-06/0.4822, allocations: 4.188 kB / 0.5295 GB, free: 7.352 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007871/0.4829, allocations: 183.6 kB / 0.5297 GB, free: 7.172 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001345/0.4843, allocations: 499.4 kB / 0.5302 GB, free: 6.672 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.581e-05/0.4844, allocations: 39.97 kB / 0.5302 GB, free: 6.633 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1972/0.6816, allocations: 10.93 MB / 0.5409 GB, free: 94.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6816, allocations: 3.156 kB / 0.5409 GB, free: 94.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004934/0.6866, allocations: 2.945 MB / 0.5438 GB, free: 93.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009063/0.6875, allocations: 348.9 kB / 0.5441 GB, free: 93.44 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002497/0.6877, allocations: 33.06 kB / 0.5441 GB, free: 93.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008462/0.6886, allocations: 66.16 kB / 0.5442 GB, free: 93.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002638/0.6888, allocations: 107.8 kB / 0.5443 GB, free: 93.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.678e-05/0.6889, allocations: 38.28 kB / 0.5443 GB, free: 93.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001677/0.6906, allocations: 1.185 MB / 0.5455 GB, free: 92.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6906, allocations: 1.344 kB / 0.5455 GB, free: 92.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002045/0.6926, allocations: 0.5466 MB / 0.546 GB, free: 92.86 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.0003099/0.6929, allocations: 169.2 kB / 0.5462 GB, free: 92.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002969/0.6959, allocations: 1.986 MB / 0.5481 GB, free: 91.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6959, allocations: 3.062 kB / 0.5481 GB, free: 91.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001856/0.6978, allocations: 1.498 MB / 0.5496 GB, free: 90.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002144/0.6999, allocations: 0.5267 MB / 0.5501 GB, free: 90.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007641/0.7075, allocations: 5.57 MB / 0.5555 GB, free: 87.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001425/0.709, allocations: 2.235 MB / 0.5577 GB, free: 86.85 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004259/0.7094, allocations: 138.2 kB / 0.5578 GB, free: 86.83 MB / 446.1 MB Notification: Performance of SimCode: time 1.603e-06/0.7094, allocations: 3.938 kB / 0.5579 GB, free: 86.83 MB / 446.1 MB Notification: Performance of Templates: time 0.08458/0.794, allocations: 110.4 MB / 0.6657 GB, free: 9.762 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 [Calling sys.exit(0), Time elapsed: 13.918151009827852]