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.001466/0.001466, allocations: 118.6 kB / 18.5 MB, free: 4.543 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.001623/0.001623, allocations: 202.6 kB / 21.45 MB, free: 1.59 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.43/1.43, allocations: 230.2 MB / 254.5 MB, free: 15.23 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.001864/0.001864, allocations: 63.89 kB / 373.8 MB, free: 9.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1087, allocations: 53.33 MB / 427.2 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.2335/0.3422, allocations: 13.5 MB / 440.7 MB, free: 4.012 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009003/0.3512, allocations: 4.524 MB / 445.2 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002828/0.354, allocations: 81.38 kB / 445.3 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003283/0.3573, allocations: 1.036 MB / 446.3 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004889/0.3622, allocations: 1.287 MB / 447.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002875/0.3651, allocations: 0.8898 MB / 448.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006883/0.3719, allocations: 3.925 MB / 452.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003564/0.3755, allocations: 2.254 MB / 454.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004056/0.3796, allocations: 1.855 MB / 456.5 MB, free: 11.24 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00514/0.3847, allocations: 2.216 MB / 458.7 MB, free: 10.17 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001588/0.3863, allocations: 0.4977 MB / 459.2 MB, free: 10.17 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003092/0.3894, allocations: 0.7233 MB / 460 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00153/0.3909, allocations: 1.11 MB / 461.1 MB, free: 9.363 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006068/0.397, allocations: 2.084 MB / 463.2 MB, free: 7.957 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01258/0.4096, allocations: 6.649 MB / 469.8 MB, free: 3.262 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.4096, allocations: 0 / 469.8 MB, free: 3.262 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4096, allocations: 0 / 469.8 MB, free: 3.262 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003113/0.4099, allocations: 5.031 kB / 469.8 MB, free: 3.258 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.01694/0.4268, allocations: 4.427 MB / 474.2 MB, free: 240 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.4269, allocations: 9.75 kB / 474.2 MB, free: 240 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004952/0.4318, allocations: 0.8066 MB / 475 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00588/0.4377, allocations: 2.409 MB / 477.5 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002315/0.4379, allocations: 236 kB / 477.7 MB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008847/0.4388, allocations: 315.8 kB / 478 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009988/0.4488, allocations: 4.234 MB / 482.2 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.468e-05/0.4489, allocations: 3.938 kB / 482.2 MB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003479/0.4492, allocations: 135.6 kB / 482.4 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001773/0.4494, allocations: 154.3 kB / 482.5 MB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007771/0.4572, allocations: 3.612 MB / 486.1 MB, free: 5.719 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0251/0.4823, allocations: 13.14 MB / 499.3 MB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008546/0.4908, allocations: 7.054 MB / 0.4945 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003338/0.4942, allocations: 1.519 MB / 0.4959 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007589/0.5018, allocations: 4.2 MB / 0.5 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.716e-05/0.5018, allocations: 47.55 kB / 0.5001 GB, free: 10.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 3.196e-06/0.5018, allocations: 3.938 kB / 0.5001 GB, free: 10.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01312/0.5149, allocations: 5.596 MB / 0.5056 GB, free: 4.555 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.515, allocations: 68.41 kB / 0.5056 GB, free: 4.477 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002933/0.5179, allocations: 1.722 MB / 0.5073 GB, free: 2.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.518, allocations: 49.7 kB / 0.5073 GB, free: 2.695 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001254/0.5193, allocations: 1.454 MB / 0.5088 GB, free: 1.227 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003945/0.5197, allocations: 448.2 kB / 0.5092 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004781/0.5201, allocations: 283.5 kB / 0.5095 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.5203, allocations: 301.1 kB / 0.5098 GB, free: 212 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/0.5215, allocations: 0.6637 MB / 0.5104 GB, free: 15.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001728/0.5232, allocations: 1.125 MB / 0.5115 GB, free: 14.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002955/0.5261, allocations: 1.894 MB / 0.5134 GB, free: 12.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.5261, allocations: 8 kB / 0.5134 GB, free: 12.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004465/0.5306, allocations: 2.41 MB / 0.5157 GB, free: 9.664 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/0.5306, allocations: 15.94 kB / 0.5157 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.203e-05/0.5307, allocations: 16 kB / 0.5157 GB, free: 9.633 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009036/0.5316, allocations: 315.4 kB / 0.516 GB, free: 9.312 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/0.5329, allocations: 359.4 kB / 0.5164 GB, free: 8.961 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007382/0.5403, allocations: 6.618 MB / 0.5228 GB, free: 1.926 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/0.5418, allocations: 76.06 kB / 0.5229 GB, free: 1.852 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/0.542, allocations: 75.94 kB / 0.523 GB, free: 1.777 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.001839/0.5438, allocations: 0.9969 MB / 0.524 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003329/0.5441, allocations: 190.8 kB / 0.5241 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004112/0.5482, allocations: 2.194 MB / 0.5263 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/0.5483, allocations: 15.98 kB / 0.5263 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/0.5483, allocations: 12 kB / 0.5263 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.5483, allocations: 3.984 kB / 0.5263 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008543/0.5568, allocations: 4.929 MB / 0.5311 GB, free: 9.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.5568, allocations: 192 / 0.5311 GB, free: 9.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007726/0.5576, allocations: 167.8 kB / 0.5313 GB, free: 9.066 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001341/0.559, allocations: 0.5 MB / 0.5318 GB, free: 8.551 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.5591, allocations: 35.98 kB / 0.5318 GB, free: 8.516 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01291/0.572, allocations: 11.47 MB / 0.543 GB, free: 12.35 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.572, allocations: 0 / 0.543 GB, free: 12.35 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005638/0.5776, allocations: 3.105 MB / 0.5461 GB, free: 9.148 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/0.5787, allocations: 423.7 kB / 0.5465 GB, free: 8.715 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002432/0.579, allocations: 32 kB / 0.5465 GB, free: 8.684 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008822/0.5799, allocations: 63.94 kB / 0.5465 GB, free: 8.621 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002883/0.5802, allocations: 104.7 kB / 0.5466 GB, free: 8.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.669e-05/0.5802, allocations: 39.98 kB / 0.5467 GB, free: 8.48 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001994/0.5822, allocations: 1.182 MB / 0.5478 GB, free: 7.305 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5822, allocations: 0 / 0.5478 GB, free: 7.305 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002337/0.5846, allocations: 0.5468 MB / 0.5484 GB, free: 6.758 MB / 462.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.0003881/0.585, allocations: 159.1 kB / 0.5485 GB, free: 6.594 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003973/0.5889, allocations: 2.069 MB / 0.5505 GB, free: 4.469 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.5889, allocations: 0 / 0.5505 GB, free: 4.469 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002526/0.5915, allocations: 1.499 MB / 0.552 GB, free: 2.902 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002659/0.5941, allocations: 0.5077 MB / 0.5525 GB, free: 2.402 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/0.6042, allocations: 5.587 MB / 0.558 GB, free: 12.76 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002358/0.6066, allocations: 2.289 MB / 0.5602 GB, free: 10.45 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001298/0.6079, allocations: 375.9 kB / 0.5606 GB, free: 10.07 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003367/0.6082, allocations: 127.4 kB / 0.5607 GB, free: 9.949 MB / 478.1 MB Notification: Performance of SimCode: time 7.52e-07/0.6082, allocations: 0 / 0.5607 GB, free: 9.949 MB / 478.1 MB Notification: Performance of Templates: time 0.05604/0.6643, allocations: 29.01 MB / 0.589 GB, free: 13.2 MB / 0.4981 GB " [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.850241971202195]