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.001192/0.001192, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001328/0.001328, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9204/0.9204, allocations: 177 MB / 204.8 MB, free: 5.59 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.653e-06/1.653e-06, allocations: 0 / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.936e-05/2.101e-05, allocations: 2.312 kB / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01106/0.01108, allocations: 13.37 MB / 286.3 MB, free: 4.008 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1164/0.1274, allocations: 4.428 MB / 290.7 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002002/0.1294, allocations: 99.44 kB / 290.8 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002107/0.1316, allocations: 0.9928 MB / 291.8 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002564/0.1341, allocations: 1.33 MB / 293.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.1354, allocations: 0.876 MB / 294 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003454/0.1389, allocations: 4.124 MB / 298.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002022/0.1409, allocations: 1.738 MB / 299.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003533/0.1444, allocations: 2.801 MB / 302.7 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002395/0.1468, allocations: 1.931 MB / 304.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007352/0.1476, allocations: 0.4976 MB / 305.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009976/0.1486, allocations: 0.7108 MB / 305.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005294/0.1491, allocations: 1.152 MB / 307 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001114/0.1502, allocations: 1.427 MB / 308.4 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00237/0.1526, allocations: 3.406 MB / 311.8 MB, free: 7.992 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1526, allocations: 0 / 311.8 MB, free: 7.992 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1526, allocations: 4 kB / 311.8 MB, free: 7.988 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.779e-05/0.1526, allocations: 0 / 311.8 MB, free: 7.988 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.004846/0.1575, allocations: 4.577 MB / 316.4 MB, free: 3.938 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.1575, allocations: 11.98 kB / 316.4 MB, free: 3.926 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002372/0.1599, allocations: 1.216 MB / 317.6 MB, free: 2.715 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00202/0.1619, allocations: 2.27 MB / 319.9 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.317e-05/0.162, allocations: 237.4 kB / 320.1 MB, free: 272 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002827/0.1623, allocations: 310.7 kB / 320.4 MB, free: 15.96 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00354/0.1658, allocations: 2.538 MB / 323 MB, free: 13.34 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.349e-05/0.1659, allocations: 12.97 kB / 323 MB, free: 13.33 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001931/0.166, allocations: 131.6 kB / 323.1 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001077/0.1662, allocations: 150.3 kB / 323.3 MB, free: 13.06 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002673/0.1688, allocations: 1.196 MB / 324.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01079/0.1796, allocations: 10.36 MB / 334.8 MB, free: 1.496 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002719/0.1823, allocations: 2.022 MB / 336.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001368/0.1837, allocations: 0.9768 MB / 337.8 MB, free: 14.65 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003326/0.187, allocations: 2.579 MB / 340.4 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.1871, allocations: 54.33 kB / 340.4 MB, free: 12.03 MB / 298.7 MB Notification: Performance of pre-optimization done (n=120): time 2.665e-06/0.1871, allocations: 0 / 340.4 MB, free: 12.03 MB / 298.7 MB Notification: Performance of matching and sorting (n=123): time 0.005218/0.1923, allocations: 3.288 MB / 343.7 MB, free: 8.727 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.1923, allocations: 64.41 kB / 343.8 MB, free: 8.648 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/0.1936, allocations: 1.346 MB / 345.1 MB, free: 7.277 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.586e-05/0.1936, allocations: 53.7 kB / 345.2 MB, free: 7.219 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000689/0.1943, allocations: 1.548 MB / 346.7 MB, free: 5.664 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002378/0.1946, allocations: 463.1 kB / 347.2 MB, free: 5.219 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003115/0.1949, allocations: 305.1 kB / 347.5 MB, free: 4.914 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.585e-05/0.195, allocations: 480.7 kB / 348 MB, free: 4.441 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005302/0.1955, allocations: 231.8 kB / 348.2 MB, free: 4.215 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006968/0.1962, allocations: 0.925 MB / 349.1 MB, free: 3.012 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.1974, allocations: 1.252 MB / 350.4 MB, free: 1.539 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.044e-06/0.1974, allocations: 4 kB / 350.4 MB, free: 1.535 MB / 298.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.001802/0.1992, allocations: 1.465 MB / 351.8 MB, free: 152 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.1992, allocations: 16.27 kB / 351.8 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.1992, allocations: 16 kB / 351.9 MB, free: 120 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005481/0.1998, allocations: 262.4 kB / 352.1 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006864/0.2004, allocations: 341.9 kB / 352.5 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003581/0.204, allocations: 6.754 MB / 359.2 MB, free: 8.449 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005776/0.2046, allocations: 79.84 kB / 359.3 MB, free: 8.371 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.958e-05/0.2047, allocations: 71.98 kB / 359.4 MB, free: 8.301 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.0005217/0.2052, allocations: 260.2 kB / 359.6 MB, free: 8.035 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/0.2054, allocations: 206.9 kB / 359.8 MB, free: 7.832 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001694/0.2071, allocations: 1.244 MB / 361.1 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.2071, allocations: 16 kB / 361.1 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.2071, allocations: 4 kB / 361.1 MB, free: 6.535 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.2071, allocations: 11.97 kB / 361.1 MB, free: 6.523 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004324/0.2114, allocations: 3.415 MB / 364.5 MB, free: 3.039 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.2114, allocations: 4 kB / 364.5 MB, free: 3.035 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004025/0.2118, allocations: 160 kB / 364.7 MB, free: 2.879 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008411/0.2127, allocations: 434.3 kB / 365.1 MB, free: 2.438 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.216e-05/0.2127, allocations: 31.98 kB / 365.1 MB, free: 2.406 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006116/0.2189, allocations: 11.65 MB / 376.8 MB, free: 6.164 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2189, allocations: 0 / 376.8 MB, free: 6.164 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002107/0.221, allocations: 1.685 MB / 378.5 MB, free: 4.414 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004236/0.2214, allocations: 302.8 kB / 378.7 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.2215, allocations: 35.98 kB / 378.8 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000395/0.2219, allocations: 59.95 kB / 378.8 MB, free: 4.023 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.2221, allocations: 112.7 kB / 379 MB, free: 3.914 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.727e-05/0.2221, allocations: 32 kB / 379 MB, free: 3.883 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001015/0.2231, allocations: 0.7715 MB / 379.8 MB, free: 3.113 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2231, allocations: 0 / 379.8 MB, free: 3.113 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001255/0.2244, allocations: 0.5429 MB / 380.3 MB, free: 2.57 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.0002626/0.2247, allocations: 174.2 kB / 380.5 MB, free: 2.391 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001604/0.2263, allocations: 1.497 MB / 382 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.2263, allocations: 0 / 382 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.2274, allocations: 1.497 MB / 383.5 MB, free: 15.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.2287, allocations: 430.9 kB / 383.9 MB, free: 14.84 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005477/0.2342, allocations: 4.831 MB / 388.7 MB, free: 9.938 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005825/0.2347, allocations: 0.7764 MB / 389.5 MB, free: 9.141 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005901/0.2353, allocations: 310.3 kB / 389.8 MB, free: 8.832 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002126/0.2355, allocations: 112.5 kB / 389.9 MB, free: 8.723 MB / 346.7 MB Notification: Performance of SimCode: time 8.31e-07/0.2355, allocations: 0 / 389.9 MB, free: 8.723 MB / 346.7 MB Notification: Performance of Templates: time 0.03131/0.2669, allocations: 25.71 MB / 415.6 MB, free: 15.43 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.552339375950396]