Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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.0008099/0.0008099, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009946/0.001805, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001075/0.001075, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001348/0.002422, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9522/0.9522, allocations: 158.6 MB / 171.1 MB, free: 2.574 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2071/1.159, allocations: 49.48 MB / 220.5 MB, free: 1.457 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AIMC_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 221.8 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.559e-05/1.684e-05, allocations: 6.25 kB / 221.9 MB, free: 152 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01363/0.01364, allocations: 12.4 MB / 234.3 MB, free: 3.688 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006996/0.02064, allocations: 4.383 MB / 238.6 MB, free: 15.29 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008606/0.0215, allocations: 87.44 kB / 238.7 MB, free: 15.2 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001401/0.0229, allocations: 1.002 MB / 239.7 MB, free: 14.2 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001806/0.02471, allocations: 1.281 MB / 241 MB, free: 12.91 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.02574, allocations: 0.8648 MB / 241.9 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00243/0.02817, allocations: 4.073 MB / 245.9 MB, free: 7.949 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0014/0.02957, allocations: 1.745 MB / 247.7 MB, free: 6.109 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002253/0.03182, allocations: 3.096 MB / 250.8 MB, free: 2.988 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001971/0.03379, allocations: 1.906 MB / 252.7 MB, free: 1.078 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007446/0.03454, allocations: 0.4922 MB / 253.2 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007664/0.0353, allocations: 0.691 MB / 253.9 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005474/0.03585, allocations: 0.9118 MB / 254.8 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009661/0.03682, allocations: 1.178 MB / 256 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002293/0.03911, allocations: 3.182 MB / 259.1 MB, free: 10.61 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.413e-05/0.03912, allocations: 4 kB / 259.1 MB, free: 10.61 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.03912, allocations: 0 / 259.1 MB, free: 10.61 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.244e-05/0.03918, allocations: 0 / 259.1 MB, free: 10.61 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.00505/0.04423, allocations: 4.907 MB / 264.1 MB, free: 5.629 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.614e-05/0.04425, allocations: 8.031 kB / 264.1 MB, free: 5.621 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002211/0.04646, allocations: 1.109 MB / 265.2 MB, free: 4.512 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/0.04806, allocations: 1.326 MB / 266.5 MB, free: 3.129 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.04817, allocations: 230.6 kB / 266.7 MB, free: 2.902 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002748/0.04845, allocations: 316.3 kB / 267 MB, free: 2.594 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002298/0.05075, allocations: 2.386 MB / 269.4 MB, free: 120 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.461e-05/0.05079, allocations: 0 / 269.4 MB, free: 120 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001765/0.05097, allocations: 132.1 kB / 269.5 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-05/0.05106, allocations: 146.3 kB / 269.7 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.05233, allocations: 0.9223 MB / 270.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00758/0.05991, allocations: 8.109 MB / 278.7 MB, free: 6.508 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.06182, allocations: 1.695 MB / 280.4 MB, free: 4.805 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006124/0.06243, allocations: 0.5623 MB / 281 MB, free: 4.234 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003051/0.06548, allocations: 1.787 MB / 282.8 MB, free: 2.426 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.06552, allocations: 51.55 kB / 282.8 MB, free: 2.367 MB / 282.7 MB Notification: Performance of pre-optimization done (n=119): time 3.236e-06/0.06552, allocations: 0 / 282.8 MB, free: 2.367 MB / 282.7 MB Notification: Performance of matching and sorting (n=122): time 0.1226/0.1881, allocations: 2.366 MB / 285.2 MB, free: 36.29 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.1882, allocations: 66.84 kB / 285.2 MB, free: 36.23 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/0.1897, allocations: 1.079 MB / 286.3 MB, free: 36.07 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002643/0.1899, allocations: 50.78 kB / 286.4 MB, free: 36.04 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008446/0.1908, allocations: 1.251 MB / 287.6 MB, free: 35.67 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004155/0.1912, allocations: 446.9 kB / 288.1 MB, free: 35.39 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000332/0.1915, allocations: 278.7 kB / 288.3 MB, free: 35.36 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.527e-05/0.1916, allocations: 305.6 kB / 288.6 MB, free: 35.06 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003638/0.1919, allocations: 176.2 kB / 288.8 MB, free: 35.05 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004492/0.1924, allocations: 0.6475 MB / 289.5 MB, free: 34.48 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.1934, allocations: 0.967 MB / 290.4 MB, free: 33.93 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-05/0.1934, allocations: 7.625 kB / 290.4 MB, free: 33.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.001777/0.1952, allocations: 1.029 MB / 291.5 MB, free: 33.84 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/0.1952, allocations: 11.5 kB / 291.5 MB, free: 33.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.941e-05/0.1953, allocations: 14 kB / 291.5 MB, free: 33.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005369/0.1958, allocations: 211.6 kB / 291.7 MB, free: 33.8 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009586/0.1968, allocations: 417.4 kB / 292.1 MB, free: 33.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002405/0.1992, allocations: 4.612 MB / 296.7 MB, free: 29.99 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007552/0.1999, allocations: 60.44 kB / 296.8 MB, free: 29.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.154e-05/0.2, allocations: 57.23 kB / 296.8 MB, free: 29.98 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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.0006247/0.2006, allocations: 214.7 kB / 297 MB, free: 29.86 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001991/0.2008, allocations: 136.9 kB / 297.2 MB, free: 29.86 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/0.2021, allocations: 0.925 MB / 298.1 MB, free: 29.7 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.2021, allocations: 12.94 kB / 298.1 MB, free: 29.7 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.2021, allocations: 9.828 kB / 298.1 MB, free: 29.7 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.2021, allocations: 6.562 kB / 298.1 MB, free: 29.7 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003336/0.2055, allocations: 2.402 MB / 300.5 MB, free: 29.28 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.2055, allocations: 1.312 kB / 300.5 MB, free: 29.28 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004561/0.2059, allocations: 173.7 kB / 300.7 MB, free: 29.28 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000444/0.2064, allocations: 184.1 kB / 300.9 MB, free: 29.19 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000653/0.207, allocations: 355.6 kB / 301.2 MB, free: 29.13 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.983e-05/0.2071, allocations: 36.69 kB / 301.3 MB, free: 29.13 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003712/0.2108, allocations: 8.157 MB / 309.4 MB, free: 22.61 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.2108, allocations: 6.75 kB / 309.4 MB, free: 22.61 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/0.2122, allocations: 1.242 MB / 310.7 MB, free: 22.26 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002739/0.2125, allocations: 37.81 kB / 310.7 MB, free: 22.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000416/0.2129, allocations: 48.06 kB / 310.7 MB, free: 22.25 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/0.2131, allocations: 99.86 kB / 310.8 MB, free: 22.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.343e-05/0.2132, allocations: 26.25 kB / 310.9 MB, free: 22.25 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005623/0.2137, allocations: 0.5277 MB / 311.4 MB, free: 22.2 MB / 282.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2137, allocations: 4 kB / 311.4 MB, free: 22.2 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001511/0.2152, allocations: 0.5341 MB / 311.9 MB, free: 22.2 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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.0002517/0.2155, allocations: 137.3 kB / 312.1 MB, free: 22.12 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001301/0.2168, allocations: 1.108 MB / 313.2 MB, free: 21.74 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.826e-05/0.2168, allocations: 32.69 kB / 313.2 MB, free: 21.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008629/0.2177, allocations: 1.132 MB / 314.3 MB, free: 21.1 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.2188, allocations: 0.5485 MB / 314.9 MB, free: 21.05 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02864/0.2475, allocations: 4.876 MB / 319.8 MB, free: 18.98 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/0.2485, allocations: 0.6388 MB / 320.4 MB, free: 18.86 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.001044/0.2495, allocations: 230.1 kB / 320.6 MB, free: 18.79 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007953/0.2503, allocations: 421.2 kB / 321 MB, free: 18.72 MB / 282.7 MB Notification: Performance of SimCode: time 2.194e-06/0.2503, allocations: 0 / 321 MB, free: 18.72 MB / 282.7 MB Notification: Performance of Templates: time 0.0412/0.2915, allocations: 27.92 MB / 349 MB, free: 7.926 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Inverter/AIMC_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.496723273769021]