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.001974/0.001974, allocations: 103.5 kB / 20.43 MB, free: 1.328 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.002326/0.002326, allocations: 181.6 kB / 23.7 MB, free: 4.52 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.429/1.429, allocations: 225.7 MB / 252.5 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.001758/0.001758, allocations: 47.92 kB / 370.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.228, allocations: 52.18 MB / 423.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01449/0.2425, allocations: 11.25 MB / 434.3 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007524/0.25, allocations: 4.022 MB / 438.4 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009423/0.2509, allocations: 95.44 kB / 438.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002127/0.2531, allocations: 0.9666 MB / 439.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00277/0.2558, allocations: 1.301 MB / 440.7 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001687/0.2575, allocations: 0.8272 MB / 441.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004033/0.2615, allocations: 3.882 MB / 445.4 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002359/0.2639, allocations: 1.71 MB / 447.1 MB, free: 6.258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002231/0.2661, allocations: 1.893 MB / 449 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002618/0.2687, allocations: 1.969 MB / 451 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006363/0.2694, allocations: 0.5 MB / 451.5 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.2706, allocations: 0.6794 MB / 452.2 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001009/0.2716, allocations: 1.11 MB / 453.3 MB, free: 92 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001792/0.2734, allocations: 1.638 MB / 454.9 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006856/0.2802, allocations: 6.634 MB / 461.6 MB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2802, allocations: 0 / 461.6 MB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2802, allocations: 0 / 461.6 MB, free: 7.789 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.785e-05/0.2803, allocations: 4 kB / 461.6 MB, free: 7.785 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.01037/0.2907, allocations: 4.314 MB / 465.9 MB, free: 3.414 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.2907, allocations: 11.97 kB / 465.9 MB, free: 3.402 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004135/0.2949, allocations: 0.8145 MB / 466.7 MB, free: 2.586 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004813/0.2997, allocations: 2.325 MB / 469 MB, free: 216 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002039/0.2999, allocations: 230.4 kB / 469.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005046/0.3004, allocations: 319.9 kB / 469.6 MB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007322/0.3077, allocations: 4.369 MB / 473.9 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.148e-05/0.3078, allocations: 7.984 kB / 473.9 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002968/0.3081, allocations: 124 kB / 474.1 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001589/0.3082, allocations: 150.3 kB / 474.2 MB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006203/0.3144, allocations: 3.601 MB / 477.8 MB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01841/0.3328, allocations: 11.16 MB / 489 MB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005285/0.3381, allocations: 2.609 MB / 491.6 MB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002124/0.3403, allocations: 1.235 MB / 492.8 MB, free: 8.156 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00611/0.3464, allocations: 3.088 MB / 495.9 MB, free: 5.039 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.3464, allocations: 43.56 kB / 495.9 MB, free: 4.988 MB / 398.1 MB Notification: Performance of pre-optimization done (n=120): time 3.176e-06/0.3464, allocations: 3.938 kB / 495.9 MB, free: 4.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=123): time 0.01064/0.357, allocations: 4.802 MB / 0.489 GB, free: 136 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.3571, allocations: 64.41 kB / 0.4891 GB, free: 56 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00245/0.3596, allocations: 1.505 MB / 0.4905 GB, free: 14.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.352e-05/0.3596, allocations: 45.7 kB / 0.4906 GB, free: 14.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001184/0.3608, allocations: 1.457 MB / 0.492 GB, free: 13.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004002/0.3612, allocations: 456.2 kB / 0.4924 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000453/0.3617, allocations: 287.5 kB / 0.4927 GB, free: 12.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.3618, allocations: 305.1 kB / 0.493 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/0.363, allocations: 0.6442 MB / 0.4936 GB, free: 11.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001557/0.3645, allocations: 1.131 MB / 0.4947 GB, free: 10 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002831/0.3674, allocations: 1.875 MB / 0.4966 GB, free: 7.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.646e-05/0.3674, allocations: 4 kB / 0.4966 GB, free: 7.926 MB / 414.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004402/0.3718, allocations: 2.238 MB / 0.4988 GB, free: 5.668 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.3718, allocations: 12 kB / 0.4988 GB, free: 5.656 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.589e-05/0.3718, allocations: 16 kB / 0.4988 GB, free: 5.641 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007407/0.3726, allocations: 263.3 kB / 0.499 GB, free: 5.371 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.3739, allocations: 359.4 kB / 0.4994 GB, free: 5.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005944/0.3798, allocations: 5.787 MB / 0.505 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.3811, allocations: 71.95 kB / 0.5051 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001786/0.3813, allocations: 64 kB / 0.5052 GB, free: 14.8 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.001708/0.383, allocations: 1.001 MB / 0.5061 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003929/0.3834, allocations: 170.9 kB / 0.5063 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003923/0.3873, allocations: 1.943 MB / 0.5082 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.3873, allocations: 16 kB / 0.5082 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-05/0.3873, allocations: 11.94 kB / 0.5082 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.3873, allocations: 3.984 kB / 0.5082 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007666/0.395, allocations: 3.96 MB / 0.5121 GB, free: 7.578 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.395, allocations: 4 kB / 0.5121 GB, free: 7.574 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007774/0.3958, allocations: 180 kB / 0.5123 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001175/0.397, allocations: 447.9 kB / 0.5127 GB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.189e-05/0.3971, allocations: 35.98 kB / 0.5127 GB, free: 6.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0109/0.408, allocations: 10.3 MB / 0.5228 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.408, allocations: 256 / 0.5228 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004972/0.4129, allocations: 2.824 MB / 0.5256 GB, free: 9.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009443/0.4139, allocations: 318.8 kB / 0.5259 GB, free: 8.918 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003258/0.4142, allocations: 35.98 kB / 0.5259 GB, free: 8.883 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008959/0.4151, allocations: 63.95 kB / 0.526 GB, free: 8.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002415/0.4153, allocations: 104.7 kB / 0.5261 GB, free: 8.719 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.617e-05/0.4154, allocations: 35.98 kB / 0.5261 GB, free: 8.684 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001735/0.4172, allocations: 1.017 MB / 0.5271 GB, free: 7.668 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4172, allocations: 0 / 0.5271 GB, free: 7.668 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001934/0.4191, allocations: 0.5351 MB / 0.5276 GB, free: 7.133 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.0003191/0.4194, allocations: 163.1 kB / 0.5278 GB, free: 6.965 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003742/0.4232, allocations: 1.943 MB / 0.5297 GB, free: 4.984 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.4232, allocations: 0 / 0.5297 GB, free: 4.984 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002355/0.4255, allocations: 1.468 MB / 0.5311 GB, free: 3.449 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001846/0.4274, allocations: 420.9 kB / 0.5315 GB, free: 3.043 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2027/0.6301, allocations: 5.533 MB / 0.5369 GB, free: 105.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002131/0.6322, allocations: 1.73 MB / 0.5386 GB, free: 105.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001144/0.6334, allocations: 359.2 kB / 0.5389 GB, free: 105.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000285/0.6336, allocations: 117.6 kB / 0.539 GB, free: 105.1 MB / 446.1 MB Notification: Performance of SimCode: time 7.72e-07/0.6336, allocations: 0 / 0.539 GB, free: 105.1 MB / 446.1 MB Notification: Performance of Templates: time 0.04171/0.6754, allocations: 28.55 MB / 0.5669 GB, free: 83.14 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/jenkins/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/jenkins/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: 5.773362275213003]