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.001383/0.001383, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001504/0.001504, allocations: 158.8 kB / 24.99 MB, free: 8.801 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.9058/0.9058, allocations: 177 MB / 205.2 MB, free: 5.594 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.072e-06/1.072e-06, allocations: 0 / 273 MB, free: 1.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.337e-05/1.444e-05, allocations: 5.125 kB / 273 MB, free: 1.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01065/0.01066, allocations: 13.28 MB / 286.3 MB, free: 4.375 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1033/0.114, allocations: 4.43 MB / 290.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00199/0.116, allocations: 99.81 kB / 290.8 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002066/0.118, allocations: 0.9864 MB / 291.8 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002712/0.1207, allocations: 1.327 MB / 293.1 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.1222, allocations: 0.8783 MB / 294 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003347/0.1255, allocations: 4.132 MB / 298.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00194/0.1275, allocations: 1.731 MB / 299.9 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002804/0.1303, allocations: 2.792 MB / 302.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00198/0.1323, allocations: 1.933 MB / 304.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006235/0.1329, allocations: 0.4969 MB / 305.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009118/0.1338, allocations: 0.7062 MB / 305.8 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005335/0.1343, allocations: 1.15 MB / 307 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001004/0.1353, allocations: 1.425 MB / 308.4 MB, free: 9.898 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002343/0.1377, allocations: 3.412 MB / 311.8 MB, free: 7.887 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1377, allocations: 4 kB / 311.8 MB, free: 7.883 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1377, allocations: 3.562 kB / 311.8 MB, free: 7.883 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.287e-05/0.1378, allocations: 0 / 311.8 MB, free: 7.883 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.005005/0.1428, allocations: 4.573 MB / 316.4 MB, free: 3.898 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.1428, allocations: 19.92 kB / 316.4 MB, free: 3.879 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002608/0.1454, allocations: 1.213 MB / 317.6 MB, free: 2.668 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001944/0.1474, allocations: 2.268 MB / 319.9 MB, free: 460 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-05/0.1474, allocations: 236.7 kB / 320.1 MB, free: 224 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002822/0.1477, allocations: 315.3 kB / 320.4 MB, free: 15.91 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003337/0.1511, allocations: 2.539 MB / 323 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.236e-05/0.1511, allocations: 1.5 kB / 323 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002078/0.1513, allocations: 131.3 kB / 323.1 MB, free: 13.16 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/0.1514, allocations: 154.3 kB / 323.2 MB, free: 13.01 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002425/0.1539, allocations: 1.191 MB / 324.4 MB, free: 11.82 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01071/0.1646, allocations: 10.38 MB / 334.8 MB, free: 1.438 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002786/0.1674, allocations: 2.022 MB / 336.8 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001541/0.1689, allocations: 0.9748 MB / 337.8 MB, free: 14.6 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003393/0.1723, allocations: 2.573 MB / 340.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.1723, allocations: 50.39 kB / 340.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=120): time 2.555e-06/0.1723, allocations: 0 / 340.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=123): time 0.005059/0.1774, allocations: 3.288 MB / 343.7 MB, free: 8.684 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.1774, allocations: 64.41 kB / 343.8 MB, free: 8.605 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.1786, allocations: 1.35 MB / 345.1 MB, free: 7.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.716e-05/0.1787, allocations: 49.7 kB / 345.2 MB, free: 7.176 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006949/0.1794, allocations: 1.554 MB / 346.7 MB, free: 5.617 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002348/0.1796, allocations: 457.2 kB / 347.2 MB, free: 5.176 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003038/0.1799, allocations: 305.1 kB / 347.5 MB, free: 4.871 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0004791/0.1804, allocations: 480.7 kB / 347.9 MB, free: 4.398 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004192/0.1808, allocations: 231.8 kB / 348.2 MB, free: 4.172 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00071/0.1815, allocations: 0.9241 MB / 349.1 MB, free: 2.973 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.1827, allocations: 1.258 MB / 350.3 MB, free: 1.496 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.1828, allocations: 4 kB / 350.4 MB, free: 1.492 MB / 298.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.001817/0.1846, allocations: 1.469 MB / 351.8 MB, free: 108 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.1846, allocations: 16.06 kB / 351.8 MB, free: 92 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.1846, allocations: 20 kB / 351.9 MB, free: 72 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005485/0.1852, allocations: 254.4 kB / 352.1 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006861/0.1858, allocations: 350.4 kB / 352.4 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003665/0.1895, allocations: 6.751 MB / 359.2 MB, free: 8.414 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004822/0.19, allocations: 71.86 kB / 359.3 MB, free: 8.344 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.54e-05/0.1901, allocations: 64 kB / 359.3 MB, free: 8.281 MB / 314.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.0004814/0.1905, allocations: 264.4 kB / 359.6 MB, free: 8.035 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/0.1907, allocations: 214.9 kB / 359.8 MB, free: 7.824 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001721/0.1925, allocations: 1.248 MB / 361 MB, free: 6.57 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.1925, allocations: 12 kB / 361.1 MB, free: 6.559 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.1925, allocations: 12 kB / 361.1 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.1925, allocations: 3.984 kB / 361.1 MB, free: 6.543 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00414/0.1966, allocations: 3.411 MB / 364.5 MB, free: 3.059 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1966, allocations: 0 / 364.5 MB, free: 3.059 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000387/0.197, allocations: 168 kB / 364.6 MB, free: 2.895 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008176/0.1978, allocations: 426.5 kB / 365.1 MB, free: 2.461 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.08e-05/0.1979, allocations: 35.98 kB / 365.1 MB, free: 2.426 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006428/0.2043, allocations: 11.65 MB / 376.8 MB, free: 6.184 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2043, allocations: 0 / 376.8 MB, free: 6.184 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002135/0.2065, allocations: 1.681 MB / 378.4 MB, free: 4.438 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003871/0.2068, allocations: 310.8 kB / 378.7 MB, free: 4.133 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.207, allocations: 28 kB / 378.8 MB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004039/0.2074, allocations: 63.95 kB / 378.8 MB, free: 4.043 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.2075, allocations: 104.7 kB / 378.9 MB, free: 3.941 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-05/0.2076, allocations: 43.98 kB / 379 MB, free: 3.898 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007819/0.2084, allocations: 0.7676 MB / 379.7 MB, free: 3.133 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2084, allocations: 0 / 379.7 MB, free: 3.133 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001238/0.2096, allocations: 0.5468 MB / 380.3 MB, free: 2.586 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 (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.0002484/0.2099, allocations: 178.5 kB / 380.5 MB, free: 2.402 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00165/0.2115, allocations: 1.487 MB / 381.9 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2115, allocations: 5 kB / 382 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001456/0.213, allocations: 1.493 MB / 383.4 MB, free: 15.27 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.214, allocations: 443.8 kB / 383.9 MB, free: 14.86 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005367/0.2194, allocations: 4.807 MB / 388.7 MB, free: 9.973 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005708/0.22, allocations: 0.7841 MB / 389.5 MB, free: 9.168 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005766/0.2205, allocations: 306.4 kB / 389.8 MB, free: 8.863 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/0.2207, allocations: 124.5 kB / 389.9 MB, free: 8.742 MB / 346.7 MB Notification: Performance of SimCode: time 8.92e-07/0.2207, allocations: 0 / 389.9 MB, free: 8.742 MB / 346.7 MB Notification: Performance of Templates: time 0.03044/0.2512, allocations: 25.71 MB / 415.6 MB, free: 15.46 MB / 378.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 -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.3441867630463094]