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.001324/0.001324, allocations: 112.8 kB / 19.17 MB, free: 3.871 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.001443/0.001443, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.515/1.515, allocations: 230.2 MB / 255.1 MB, free: 15.4 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.001842/0.001842, allocations: 59.91 kB / 374.5 MB, free: 9.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09951/0.1014, allocations: 53.33 MB / 427.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01678/0.1181, allocations: 13.5 MB / 441.4 MB, free: 6.922 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00941/0.1275, allocations: 4.517 MB / 445.9 MB, free: 2.391 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00259/0.1301, allocations: 83.69 kB / 446 MB, free: 2.309 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003328/0.1335, allocations: 1.037 MB / 447 MB, free: 1.266 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2143/0.3477, allocations: 1.292 MB / 448.3 MB, free: 9.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002695/0.3504, allocations: 0.8916 MB / 449.2 MB, free: 9.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005216/0.3556, allocations: 3.916 MB / 453.1 MB, free: 9.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003151/0.3588, allocations: 2.248 MB / 455.3 MB, free: 9.473 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003698/0.3625, allocations: 1.862 MB / 457.2 MB, free: 9.227 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004492/0.367, allocations: 2.211 MB / 459.4 MB, free: 8.426 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001451/0.3684, allocations: 0.5023 MB / 459.9 MB, free: 8.422 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00264/0.3711, allocations: 0.7251 MB / 460.6 MB, free: 8.363 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001252/0.3723, allocations: 1.117 MB / 461.8 MB, free: 7.672 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003762/0.3761, allocations: 2.077 MB / 463.8 MB, free: 6.305 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01113/0.3872, allocations: 6.66 MB / 470.5 MB, free: 4.059 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.318e-06/0.3872, allocations: 1.156 kB / 470.5 MB, free: 4.059 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.3872, allocations: 0 / 470.5 MB, free: 4.059 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002963/0.3875, allocations: 0 / 470.5 MB, free: 4.059 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.01556/0.4031, allocations: 4.421 MB / 474.9 MB, free: 1.359 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.4031, allocations: 13.31 kB / 474.9 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00465/0.4078, allocations: 0.8099 MB / 475.7 MB, free: 0.957 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006198/0.414, allocations: 2.412 MB / 478.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003598/0.4143, allocations: 236.3 kB / 478.4 MB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001554/0.4159, allocations: 307.1 kB / 478.7 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01164/0.4275, allocations: 4.239 MB / 482.9 MB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000101/0.4276, allocations: 6.953 kB / 482.9 MB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003936/0.428, allocations: 126.9 kB / 483.1 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000166/0.4282, allocations: 146.7 kB / 483.2 MB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008778/0.437, allocations: 3.621 MB / 486.8 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0295/0.4665, allocations: 13.14 MB / 500 MB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008112/0.4746, allocations: 7.035 MB / 0.4951 GB, free: 7.281 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005051/0.4796, allocations: 1.518 MB / 0.4966 GB, free: 5.777 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01115/0.4908, allocations: 4.218 MB / 0.5007 GB, free: 1.469 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.587e-05/0.4908, allocations: 47.56 kB / 0.5008 GB, free: 1.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=120): time 2.975e-06/0.4908, allocations: 7.938 kB / 0.5008 GB, free: 1.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=123): time 0.01274/0.5036, allocations: 5.59 MB / 0.5062 GB, free: 11.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.5036, allocations: 64.41 kB / 0.5063 GB, free: 11.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003147/0.5068, allocations: 1.726 MB / 0.508 GB, free: 9.848 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001906/0.507, allocations: 45.7 kB / 0.508 GB, free: 9.797 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001255/0.5082, allocations: 1.457 MB / 0.5094 GB, free: 8.332 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004068/0.5086, allocations: 449.6 kB / 0.5099 GB, free: 7.898 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005594/0.5092, allocations: 291.5 kB / 0.5101 GB, free: 7.609 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.5094, allocations: 305.1 kB / 0.5104 GB, free: 7.309 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/0.5107, allocations: 0.652 MB / 0.5111 GB, free: 6.656 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001614/0.5123, allocations: 1.128 MB / 0.5122 GB, free: 5.336 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002982/0.5153, allocations: 1.896 MB / 0.514 GB, free: 3.301 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.5153, allocations: 4 kB / 0.514 GB, free: 3.297 MB / 414.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004529/0.5198, allocations: 2.409 MB / 0.5164 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.5199, allocations: 8 kB / 0.5164 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.918e-05/0.5199, allocations: 16 kB / 0.5164 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008968/0.5208, allocations: 318.6 kB / 0.5167 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/0.5222, allocations: 348 kB / 0.517 GB, free: 292 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007442/0.5297, allocations: 6.633 MB / 0.5235 GB, free: 9.285 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/0.5313, allocations: 75.89 kB / 0.5236 GB, free: 9.211 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/0.5314, allocations: 76.08 kB / 0.5237 GB, free: 9.137 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.002/0.5334, allocations: 0.9931 MB / 0.5246 GB, free: 8.133 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004012/0.5338, allocations: 198.7 kB / 0.5248 GB, free: 7.938 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004391/0.5382, allocations: 2.182 MB / 0.527 GB, free: 5.695 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.5382, allocations: 16 kB / 0.527 GB, free: 5.68 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.158e-06/0.5382, allocations: 4 kB / 0.527 GB, free: 5.676 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.5382, allocations: 7.969 kB / 0.527 GB, free: 5.668 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008637/0.5469, allocations: 4.945 MB / 0.5318 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.5469, allocations: 4 kB / 0.5318 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007668/0.5476, allocations: 163.8 kB / 0.532 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001367/0.549, allocations: 0.4922 MB / 0.5324 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-05/0.5491, allocations: 35.98 kB / 0.5325 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01333/0.5624, allocations: 11.47 MB / 0.5437 GB, free: 3.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/0.5625, allocations: 8.062 kB / 0.5437 GB, free: 3.742 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005606/0.5681, allocations: 3.096 MB / 0.5467 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/0.5691, allocations: 419.7 kB / 0.5471 GB, free: 128 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002298/0.5693, allocations: 31.98 kB / 0.5471 GB, free: 96 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008725/0.5702, allocations: 67.89 kB / 0.5472 GB, free: 28 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002998/0.5705, allocations: 97.17 kB / 0.5473 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.219e-05/0.5706, allocations: 39.98 kB / 0.5473 GB, free: 15.89 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001873/0.5725, allocations: 1.182 MB / 0.5485 GB, free: 14.72 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5725, allocations: 0 / 0.5485 GB, free: 14.72 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002118/0.5746, allocations: 0.5507 MB / 0.549 GB, free: 14.17 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.0003565/0.5749, allocations: 159 kB / 0.5492 GB, free: 14 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003615/0.5785, allocations: 2.061 MB / 0.5512 GB, free: 11.89 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5785, allocations: 0 / 0.5512 GB, free: 11.89 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002477/0.581, allocations: 1.507 MB / 0.5527 GB, free: 10.31 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002324/0.5833, allocations: 0.5164 MB / 0.5532 GB, free: 9.805 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.5936, allocations: 5.547 MB / 0.5586 GB, free: 4.211 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002222/0.5958, allocations: 2.243 MB / 0.5608 GB, free: 1.941 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005669/0.5964, allocations: 135.4 kB / 0.5609 GB, free: 1.809 MB / 462.1 MB Notification: Performance of SimCode: time 7.11e-07/0.5964, allocations: 0 / 0.5609 GB, free: 1.809 MB / 462.1 MB Notification: Performance of Templates: time 0.3294/0.9258, allocations: 110.4 MB / 0.6687 GB, free: 173.5 MB / 0.5294 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/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.590472840005532]