Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 165.3 kB / 24.99 MB, free: 9.32 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9896/0.9896, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_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 / 273.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.222e-05, allocations: 2.312 kB / 273.1 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01063/0.01066, allocations: 13.28 MB / 286.4 MB, free: 4.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007148/0.01781, allocations: 4.419 MB / 290.8 MB, free: 48 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.1234/0.1412, allocations: 99.77 kB / 290.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002996/0.1442, allocations: 0.9803 MB / 291.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004141/0.1484, allocations: 1.322 MB / 293.2 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002061/0.1504, allocations: 0.8802 MB / 294.1 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005372/0.1558, allocations: 4.126 MB / 298.2 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003049/0.1589, allocations: 1.728 MB / 299.9 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004315/0.1632, allocations: 2.795 MB / 302.7 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002984/0.1662, allocations: 1.931 MB / 304.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001205/0.1674, allocations: 0.4984 MB / 305.1 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001703/0.1691, allocations: 0.7039 MB / 305.8 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008537/0.1699, allocations: 1.158 MB / 307 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002016/0.1719, allocations: 1.423 MB / 308.4 MB, free: 9.914 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003976/0.1759, allocations: 3.409 MB / 311.8 MB, free: 7.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1759, allocations: 0 / 311.8 MB, free: 7.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1759, allocations: 0 / 311.8 MB, free: 7.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001471/0.1761, allocations: 0 / 311.8 MB, free: 7.91 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.006643/0.1827, allocations: 4.56 MB / 316.4 MB, free: 3.996 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.1827, allocations: 15.5 kB / 316.4 MB, free: 3.984 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002953/0.1857, allocations: 1.214 MB / 317.6 MB, free: 2.773 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002907/0.1886, allocations: 2.266 MB / 319.9 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.1887, allocations: 232.4 kB / 320.1 MB, free: 336 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004437/0.1892, allocations: 316.8 kB / 320.4 MB, free: 24 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004667/0.1938, allocations: 2.545 MB / 323 MB, free: 13.4 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.807e-05/0.1939, allocations: 0 / 323 MB, free: 13.4 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002218/0.1941, allocations: 126.7 kB / 323.1 MB, free: 13.28 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001187/0.1942, allocations: 150.3 kB / 323.2 MB, free: 13.13 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002561/0.1968, allocations: 1.203 MB / 324.4 MB, free: 11.92 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01255/0.2093, allocations: 10.36 MB / 334.8 MB, free: 1.559 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002869/0.2122, allocations: 2.027 MB / 336.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001444/0.2136, allocations: 0.9693 MB / 337.8 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00386/0.2175, allocations: 2.578 MB / 340.4 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.2175, allocations: 50.39 kB / 340.4 MB, free: 12.1 MB / 298.7 MB Notification: Performance of pre-optimization done (n=120): time 3.106e-06/0.2175, allocations: 0 / 340.4 MB, free: 12.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=123): time 0.006224/0.2238, allocations: 3.295 MB / 343.7 MB, free: 8.793 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.2238, allocations: 64.41 kB / 343.8 MB, free: 8.715 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/0.2254, allocations: 1.349 MB / 345.1 MB, free: 7.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.948e-05/0.2255, allocations: 45.7 kB / 345.2 MB, free: 7.289 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008316/0.2263, allocations: 1.538 MB / 346.7 MB, free: 5.742 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000283/0.2266, allocations: 464.3 kB / 347.2 MB, free: 5.297 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003232/0.2269, allocations: 313.1 kB / 347.5 MB, free: 4.984 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.227, allocations: 484.7 kB / 348 MB, free: 4.508 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004199/0.2275, allocations: 223.8 kB / 348.2 MB, free: 4.289 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007365/0.2282, allocations: 0.9359 MB / 349.1 MB, free: 3.078 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.2294, allocations: 1.25 MB / 350.4 MB, free: 1.605 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/0.2294, allocations: 4 kB / 350.4 MB, free: 1.602 MB / 298.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002106/0.2315, allocations: 1.464 MB / 351.8 MB, free: 220 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.2316, allocations: 12.62 kB / 351.8 MB, free: 208 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.2316, allocations: 12 kB / 351.8 MB, free: 196 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006404/0.2322, allocations: 263.2 kB / 352.1 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007364/0.233, allocations: 351.3 kB / 352.4 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003682/0.2366, allocations: 6.756 MB / 359.2 MB, free: 8.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00099/0.2376, allocations: 76.09 kB / 359.3 MB, free: 8.445 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.2377, allocations: 68 kB / 359.3 MB, free: 8.379 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.0007716/0.2385, allocations: 260.1 kB / 359.6 MB, free: 8.137 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002619/0.2388, allocations: 210.9 kB / 359.8 MB, free: 7.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001877/0.2407, allocations: 1.246 MB / 361.1 MB, free: 6.672 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/0.2407, allocations: 12 kB / 361.1 MB, free: 6.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.2407, allocations: 8 kB / 361.1 MB, free: 6.652 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.2407, allocations: 7.969 kB / 361.1 MB, free: 6.645 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004615/0.2453, allocations: 3.412 MB / 364.5 MB, free: 3.199 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.2453, allocations: 0 / 364.5 MB, free: 3.199 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004063/0.2457, allocations: 158.6 kB / 364.6 MB, free: 3.051 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008799/0.2466, allocations: 429.8 kB / 365.1 MB, free: 2.617 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.696e-05/0.2467, allocations: 35.98 kB / 365.1 MB, free: 2.582 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006218/0.2529, allocations: 11.66 MB / 376.8 MB, free: 6.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2529, allocations: 0 / 376.8 MB, free: 6.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002468/0.2553, allocations: 1.688 MB / 378.4 MB, free: 4.586 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005626/0.2559, allocations: 302.8 kB / 378.7 MB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001569/0.2561, allocations: 35.98 kB / 378.8 MB, free: 4.254 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004333/0.2565, allocations: 55.95 kB / 378.8 MB, free: 4.199 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002063/0.2567, allocations: 115.7 kB / 378.9 MB, free: 4.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.088e-05/0.2568, allocations: 35.98 kB / 379 MB, free: 4.055 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009092/0.2577, allocations: 0.7713 MB / 379.8 MB, free: 3.285 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2577, allocations: 0 / 379.8 MB, free: 3.285 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001455/0.2591, allocations: 0.5391 MB / 380.3 MB, free: 2.746 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.0002823/0.2594, allocations: 163.8 kB / 380.5 MB, free: 2.574 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00183/0.2612, allocations: 1.501 MB / 382 MB, free: 1.023 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2612, allocations: 0 / 382 MB, free: 1.023 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.2625, allocations: 1.498 MB / 383.4 MB, free: 15.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.2637, allocations: 441.7 kB / 383.9 MB, free: 15.02 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00651/0.2703, allocations: 4.807 MB / 388.7 MB, free: 10.14 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006767/0.2709, allocations: 0.7762 MB / 389.5 MB, free: 9.344 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007609/0.2717, allocations: 310.4 kB / 389.8 MB, free: 9.035 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/0.2719, allocations: 124.5 kB / 389.9 MB, free: 8.914 MB / 346.7 MB Notification: Performance of SimCode: time 1.373e-06/0.2719, allocations: 0 / 389.9 MB, free: 8.914 MB / 346.7 MB Notification: Performance of Templates: time 0.03464/0.3066, allocations: 25.7 MB / 415.6 MB, free: 15.64 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.5525667830370367]