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.001173/0.001173, allocations: 80.62 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001183/0.001183, allocations: 145.3 kB / 25.59 MB, free: 8.902 MB / 18.57 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 0.9755/0.9755, allocations: 173.4 MB / 202.2 MB, free: 8.301 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..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.[0-9,]+.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..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 1.863e-06/1.863e-06, allocations: 0 / 269.2 MB, free: 9.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.109e-05/1.295e-05, allocations: 2.312 kB / 269.2 MB, free: 9.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.0103/0.01031, allocations: 12.31 MB / 281.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005676/0.01598, allocations: 4.155 MB / 285.7 MB, free: 9.238 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007674/0.01675, allocations: 95.44 kB / 285.8 MB, free: 9.145 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001509/0.01826, allocations: 0.9743 MB / 286.7 MB, free: 8.164 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001781/0.02004, allocations: 1.339 MB / 288.1 MB, free: 6.816 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009374/0.02098, allocations: 0.8302 MB / 288.9 MB, free: 5.988 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00249/0.02347, allocations: 4.053 MB / 293 MB, free: 1.914 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001519/0.02499, allocations: 1.73 MB / 294.7 MB, free: 116 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002152/0.02714, allocations: 2.866 MB / 297.6 MB, free: 13.24 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001513/0.02865, allocations: 1.906 MB / 299.5 MB, free: 11.33 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003914/0.02905, allocations: 0.4922 MB / 300 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000695/0.02974, allocations: 0.6909 MB / 300.7 MB, free: 10.15 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006071/0.03035, allocations: 1.13 MB / 301.8 MB, free: 9.016 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009648/0.03131, allocations: 1.415 MB / 303.2 MB, free: 7.598 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002387/0.0337, allocations: 3.349 MB / 306.5 MB, free: 4.238 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.0337, allocations: 7.984 kB / 306.6 MB, free: 4.23 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.0337, allocations: 0 / 306.6 MB, free: 4.23 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.694e-05/0.03373, allocations: 0 / 306.6 MB, free: 4.23 MB / 282.7 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.00505/0.03878, allocations: 4.399 MB / 311 MB, free: 15.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.03881, allocations: 12.03 kB / 311 MB, free: 15.76 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002349/0.04116, allocations: 1.138 MB / 312.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002049/0.04321, allocations: 2.159 MB / 314.3 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/0.04332, allocations: 234.6 kB / 314.5 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002978/0.04362, allocations: 316.2 kB / 314.8 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002451/0.04607, allocations: 2.329 MB / 317.1 MB, free: 9.438 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.056e-05/0.04612, allocations: 4 kB / 317.1 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001941/0.04632, allocations: 128 kB / 317.3 MB, free: 9.309 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001044/0.04642, allocations: 146.3 kB / 317.4 MB, free: 9.164 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.04778, allocations: 0.9172 MB / 318.3 MB, free: 8.234 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009563/0.05734, allocations: 10.26 MB / 328.6 MB, free: 13.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002907/0.06025, allocations: 1.809 MB / 330.4 MB, free: 11.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001042/0.06129, allocations: 0.6312 MB / 331 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003826/0.06512, allocations: 2.319 MB / 333.3 MB, free: 8.996 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.06515, allocations: 46.39 kB / 333.4 MB, free: 8.941 MB / 314.7 MB Notification: Performance of pre-optimization done (n=120): time 2.895e-06/0.06516, allocations: 4 kB / 333.4 MB, free: 8.938 MB / 314.7 MB Notification: Performance of matching and sorting (n=123): time 0.00423/0.06939, allocations: 2.598 MB / 336 MB, free: 6.289 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.06942, allocations: 64.41 kB / 336.1 MB, free: 6.211 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009894/0.07041, allocations: 1.288 MB / 337.3 MB, free: 4.895 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.321e-05/0.07046, allocations: 49.64 kB / 337.4 MB, free: 4.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006889/0.07115, allocations: 1.55 MB / 338.9 MB, free: 3.277 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002453/0.07139, allocations: 472 kB / 339.4 MB, free: 2.812 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002941/0.07169, allocations: 309 kB / 339.7 MB, free: 2.504 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.714e-05/0.07179, allocations: 480.7 kB / 340.2 MB, free: 2.031 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002315/0.07202, allocations: 171.8 kB / 340.3 MB, free: 1.863 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005271/0.07254, allocations: 0.8755 MB / 341.2 MB, free: 0.707 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008627/0.07341, allocations: 1.148 MB / 342.4 MB, free: 15.28 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.07341, allocations: 4 kB / 342.4 MB, free: 15.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.001365/0.07478, allocations: 1.292 MB / 343.7 MB, free: 13.96 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.0748, allocations: 14.03 kB / 343.7 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.07481, allocations: 16 kB / 343.7 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003952/0.07521, allocations: 220.6 kB / 343.9 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006477/0.07585, allocations: 339.5 kB / 344.2 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00284/0.07869, allocations: 6.421 MB / 350.7 MB, free: 6.613 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004352/0.07913, allocations: 55.94 kB / 350.7 MB, free: 6.559 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.816e-05/0.0792, allocations: 56 kB / 350.8 MB, free: 6.504 MB / 330.7 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.0003922/0.07959, allocations: 260.2 kB / 351 MB, free: 6.238 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/0.07977, allocations: 206.9 kB / 351.2 MB, free: 6.035 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/0.08109, allocations: 1.106 MB / 352.3 MB, free: 4.895 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.0811, allocations: 19.94 kB / 352.3 MB, free: 4.875 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.08111, allocations: 8 kB / 352.4 MB, free: 4.867 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.08112, allocations: 7.969 kB / 352.4 MB, free: 4.859 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002825/0.08394, allocations: 2.681 MB / 355 MB, free: 2.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.08395, allocations: 128 / 355 MB, free: 2.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003629/0.08431, allocations: 159.8 kB / 355.2 MB, free: 1.934 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006472/0.08496, allocations: 389.1 kB / 355.6 MB, free: 1.535 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.407e-05/0.08501, allocations: 35.98 kB / 355.6 MB, free: 1.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1173/0.2023, allocations: 11.2 MB / 366.8 MB, free: 60.9 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.2023, allocations: 5.938 kB / 366.8 MB, free: 60.9 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002098/0.2044, allocations: 1.482 MB / 368.3 MB, free: 60.53 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004441/0.2049, allocations: 288.6 kB / 368.6 MB, free: 60.53 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001469/0.205, allocations: 32.45 kB / 368.6 MB, free: 60.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000408/0.2054, allocations: 51.55 kB / 368.7 MB, free: 60.53 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/0.2056, allocations: 101.3 kB / 368.8 MB, free: 60.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.661e-05/0.2056, allocations: 24.98 kB / 368.8 MB, free: 60.53 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006153/0.2063, allocations: 0.6921 MB / 369.5 MB, free: 60.38 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2063, allocations: 0.625 kB / 369.5 MB, free: 60.38 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001346/0.2076, allocations: 0.5334 MB / 370 MB, free: 60.38 MB / 330.7 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.000229/0.2078, allocations: 158.5 kB / 370.2 MB, free: 60.29 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001215/0.2091, allocations: 1.365 MB / 371.5 MB, free: 59.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.2091, allocations: 3.344 kB / 371.5 MB, free: 59.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009291/0.21, allocations: 1.458 MB / 373 MB, free: 58.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009966/0.211, allocations: 410.2 kB / 373.4 MB, free: 58.8 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005655/0.2166, allocations: 4.767 MB / 378.2 MB, free: 56.76 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006191/0.2173, allocations: 0.7779 MB / 378.9 MB, free: 56.64 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005978/0.2179, allocations: 226.5 kB / 379.2 MB, free: 56.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006488/0.2185, allocations: 471.3 kB / 379.6 MB, free: 56.5 MB / 330.7 MB Notification: Performance of SimCode: time 1.573e-06/0.2185, allocations: 0 / 379.6 MB, free: 56.5 MB / 330.7 MB Notification: Performance of Templates: time 0.03225/0.2508, allocations: 26.87 MB / 406.5 MB, free: 35.91 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.57954318029806]