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.001376/0.001376, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001029/0.001029, allocations: 164.8 kB / 24.91 MB, free: 8.762 MB / 18.57 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 0.9535/0.9535, allocations: 177 MB / 205.2 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] 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.[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_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.[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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 273.4 MB, free: 1.168 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.496e-05/2.681e-05, allocations: 2.312 kB / 273.4 MB, free: 1.164 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01575/0.01577, allocations: 12.95 MB / 286.4 MB, free: 4.148 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1223/0.1381, allocations: 4.572 MB / 291 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002061/0.1402, allocations: 98.56 kB / 291.1 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002587/0.1428, allocations: 1.021 MB / 292.1 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003403/0.1462, allocations: 1.323 MB / 293.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001704/0.1479, allocations: 0.8755 MB / 294.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004285/0.1522, allocations: 4.137 MB / 298.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002503/0.1547, allocations: 1.779 MB / 300.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004353/0.159, allocations: 2.889 MB / 303.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003024/0.162, allocations: 1.919 MB / 305 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001142/0.1632, allocations: 0.4931 MB / 305.5 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001477/0.1647, allocations: 0.7163 MB / 306.2 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005794/0.1652, allocations: 1.131 MB / 307.4 MB, free: 10.76 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001725/0.167, allocations: 1.417 MB / 308.8 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003065/0.17, allocations: 3.385 MB / 312.2 MB, free: 8.035 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.17, allocations: 4 kB / 312.2 MB, free: 8.031 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.17, allocations: 0 / 312.2 MB, free: 8.031 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001376/0.1702, allocations: 0 / 312.2 MB, free: 8.031 MB / 266.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.005232/0.1754, allocations: 4.193 MB / 316.4 MB, free: 4.137 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.1754, allocations: 11.98 kB / 316.4 MB, free: 4.125 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002575/0.178, allocations: 1.088 MB / 317.5 MB, free: 3.062 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002171/0.1802, allocations: 1.442 MB / 318.9 MB, free: 1.668 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.647e-05/0.1803, allocations: 237.3 kB / 319.1 MB, free: 1.438 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002751/0.1805, allocations: 314.6 kB / 319.4 MB, free: 1.137 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002749/0.1833, allocations: 2.387 MB / 321.8 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.268e-05/0.1833, allocations: 0 / 321.8 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001854/0.1835, allocations: 131.8 kB / 321.9 MB, free: 14.67 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001056/0.1836, allocations: 150.3 kB / 322.1 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/0.1851, allocations: 0.9354 MB / 323 MB, free: 13.58 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01016/0.1952, allocations: 8.074 MB / 331.1 MB, free: 5.855 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/0.1974, allocations: 1.711 MB / 332.8 MB, free: 4.195 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/0.1985, allocations: 0.8561 MB / 333.7 MB, free: 3.363 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003361/0.2019, allocations: 1.96 MB / 335.6 MB, free: 1.461 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.2019, allocations: 43.56 kB / 335.7 MB, free: 1.41 MB / 282.7 MB Notification: Performance of pre-optimization done (n=120): time 2.274e-06/0.2019, allocations: 0 / 335.7 MB, free: 1.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=123): time 0.004631/0.2066, allocations: 2.495 MB / 338.2 MB, free: 14.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.2066, allocations: 68.41 kB / 338.2 MB, free: 14.85 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008897/0.2075, allocations: 1.101 MB / 339.3 MB, free: 13.95 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.75e-05/0.2075, allocations: 45.7 kB / 339.4 MB, free: 13.9 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007951/0.2083, allocations: 1.259 MB / 340.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/0.2085, allocations: 448.6 kB / 341.1 MB, free: 12.28 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002595/0.2088, allocations: 272 kB / 341.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.512e-05/0.2089, allocations: 307.6 kB / 341.6 MB, free: 11.74 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.2091, allocations: 182.7 kB / 341.8 MB, free: 11.56 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000444/0.2096, allocations: 0.6514 MB / 342.5 MB, free: 10.74 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000813/0.2104, allocations: 0.9752 MB / 343.4 MB, free: 9.656 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.2104, allocations: 4 kB / 343.5 MB, free: 9.652 MB / 298.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.001264/0.2116, allocations: 1.082 MB / 344.5 MB, free: 8.656 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.2117, allocations: 14.81 kB / 344.6 MB, free: 8.645 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/0.2117, allocations: 16 kB / 344.6 MB, free: 8.629 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004669/0.2121, allocations: 227.3 kB / 344.8 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007827/0.2129, allocations: 383.6 kB / 345.2 MB, free: 8.051 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003149/0.2161, allocations: 4.785 MB / 349.9 MB, free: 3.066 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007296/0.2168, allocations: 72.06 kB / 350 MB, free: 2.996 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.436e-05/0.2169, allocations: 59.97 kB / 350.1 MB, free: 2.938 MB / 298.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 (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.0006155/0.2175, allocations: 207.6 kB / 350.3 MB, free: 2.746 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.2177, allocations: 143.8 kB / 350.4 MB, free: 2.605 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/0.219, allocations: 0.9772 MB / 351.4 MB, free: 1.637 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.219, allocations: 12 kB / 351.4 MB, free: 1.625 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.219, allocations: 8 kB / 351.4 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.219, allocations: 3.984 kB / 351.4 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002854/0.2218, allocations: 2.114 MB / 353.5 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.2219, allocations: 0 / 353.5 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004155/0.2223, allocations: 159.8 kB / 353.7 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007292/0.223, allocations: 391.9 kB / 354.1 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.993e-05/0.2231, allocations: 39.97 kB / 354.1 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005355/0.2284, allocations: 8.329 MB / 362.4 MB, free: 6.387 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.2284, allocations: 4 kB / 362.4 MB, free: 6.383 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.2301, allocations: 1.288 MB / 363.7 MB, free: 5.074 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003872/0.2305, allocations: 181.2 kB / 363.9 MB, free: 4.898 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.2306, allocations: 31.98 kB / 363.9 MB, free: 4.867 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003617/0.231, allocations: 51.98 kB / 364 MB, free: 4.816 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001916/0.2312, allocations: 104.7 kB / 364.1 MB, free: 4.715 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.62e-05/0.2312, allocations: 27.92 kB / 364.1 MB, free: 4.688 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005407/0.2318, allocations: 0.5441 MB / 364.7 MB, free: 4.207 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.2318, allocations: 0 / 364.7 MB, free: 4.207 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001483/0.2333, allocations: 0.539 MB / 365.2 MB, free: 3.668 MB / 314.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 (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.0002356/0.2335, allocations: 151.9 kB / 365.4 MB, free: 3.512 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.2347, allocations: 1.159 MB / 366.5 MB, free: 2.336 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-05/0.2348, allocations: 21.81 kB / 366.5 MB, free: 2.316 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000939/0.2357, allocations: 1.123 MB / 367.7 MB, free: 1.145 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009719/0.2367, allocations: 438 kB / 368.1 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00623/0.2429, allocations: 4.621 MB / 372.7 MB, free: 12.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005594/0.2435, allocations: 0.6279 MB / 373.3 MB, free: 11.42 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005817/0.2441, allocations: 230.6 kB / 373.6 MB, free: 11.19 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000661/0.2447, allocations: 427.1 kB / 374 MB, free: 10.77 MB / 330.7 MB Notification: Performance of SimCode: time 1.734e-06/0.2447, allocations: 0 / 374 MB, free: 10.77 MB / 330.7 MB Notification: Performance of Templates: time 0.03783/0.2825, allocations: 27.39 MB / 401.4 MB, free: 15.82 MB / 362.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] 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","",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.364641532767564]