Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009389/0.0009389, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009258/0.0009258, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9397/0.9397, allocations: 173.4 MB / 201.1 MB, free: 9.336 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 268 MB, free: 6.414 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.51e-05/1.635e-05, allocations: 9.906 kB / 268 MB, free: 6.406 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01145/0.01146, allocations: 12.75 MB / 280.8 MB, free: 9.598 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006625/0.01809, allocations: 4.174 MB / 284.9 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001554/0.01964, allocations: 91.44 kB / 285 MB, free: 5.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001994/0.02164, allocations: 0.9782 MB / 286 MB, free: 4.336 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002802/0.02444, allocations: 1.343 MB / 287.4 MB, free: 2.984 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.02581, allocations: 0.8404 MB / 288.2 MB, free: 2.145 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1081/0.1339, allocations: 4.047 MB / 292.2 MB, free: 16.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002405/0.1363, allocations: 1.721 MB / 294 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00377/0.1401, allocations: 2.879 MB / 296.8 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002975/0.1431, allocations: 1.892 MB / 298.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001162/0.1442, allocations: 0.4926 MB / 299.2 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001635/0.1459, allocations: 0.6863 MB / 299.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007543/0.1466, allocations: 1.137 MB / 301.1 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002096/0.1487, allocations: 1.41 MB / 302.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003339/0.1521, allocations: 3.361 MB / 305.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.1521, allocations: 0 / 305.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.1521, allocations: 0 / 305.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001411/0.1522, allocations: 0 / 305.8 MB, free: 12.93 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.006312/0.1585, allocations: 4.512 MB / 310.3 MB, free: 10.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.1586, allocations: 10.61 kB / 310.3 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002651/0.1612, allocations: 1.227 MB / 311.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002549/0.1638, allocations: 2.27 MB / 313.8 MB, free: 8.777 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.1639, allocations: 235.3 kB / 314.1 MB, free: 8.672 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002744/0.1641, allocations: 313.5 kB / 314.4 MB, free: 8.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003295/0.1674, allocations: 2.522 MB / 316.9 MB, free: 5.988 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.571e-05/0.1675, allocations: 7.406 kB / 316.9 MB, free: 5.984 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001784/0.1677, allocations: 130.7 kB / 317 MB, free: 5.859 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.865e-05/0.1678, allocations: 150.3 kB / 317.2 MB, free: 5.711 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002178/0.1699, allocations: 1.187 MB / 318.4 MB, free: 4.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01051/0.1804, allocations: 10.31 MB / 328.7 MB, free: 10.2 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002905/0.1833, allocations: 1.988 MB / 330.7 MB, free: 8.363 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009336/0.1843, allocations: 0.7013 MB / 331.4 MB, free: 7.656 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003171/0.1875, allocations: 2.38 MB / 333.7 MB, free: 5.301 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.1875, allocations: 46.39 kB / 333.8 MB, free: 5.246 MB / 282.7 MB Notification: Performance of pre-optimization done (n=120): time 2.465e-06/0.1875, allocations: 0 / 333.8 MB, free: 5.246 MB / 282.7 MB Notification: Performance of matching and sorting (n=123): time 0.005368/0.1929, allocations: 3.175 MB / 337 MB, free: 2.051 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.1929, allocations: 64.41 kB / 337 MB, free: 1.973 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.1942, allocations: 1.312 MB / 338.3 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.896e-05/0.1943, allocations: 49.7 kB / 338.4 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007583/0.195, allocations: 1.536 MB / 339.9 MB, free: 15.04 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002927/0.1953, allocations: 458.2 kB / 340.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003046/0.1956, allocations: 301.1 kB / 340.7 MB, free: 14.29 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.89e-05/0.1957, allocations: 484.8 kB / 341.1 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004047/0.1961, allocations: 219.8 kB / 341.4 MB, free: 13.6 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006879/0.1968, allocations: 0.9218 MB / 342.3 MB, free: 12.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/0.1983, allocations: 1.239 MB / 343.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.1983, allocations: 4 kB / 343.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.001836/0.2001, allocations: 1.405 MB / 344.9 MB, free: 9.617 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.2001, allocations: 12 kB / 344.9 MB, free: 9.605 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.2001, allocations: 15.94 kB / 345 MB, free: 9.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005144/0.2007, allocations: 240 kB / 345.2 MB, free: 9.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007165/0.2014, allocations: 345.4 kB / 345.5 MB, free: 9.027 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003577/0.2049, allocations: 6.538 MB / 352.1 MB, free: 2.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006807/0.2056, allocations: 67.97 kB / 352.1 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.393e-05/0.2057, allocations: 67.94 kB / 352.2 MB, free: 2.027 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 (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.0006576/0.2064, allocations: 251.9 kB / 352.4 MB, free: 1.793 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/0.2066, allocations: 206.9 kB / 352.6 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001663/0.2082, allocations: 1.205 MB / 353.9 MB, free: 380 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.2082, allocations: 12 kB / 353.9 MB, free: 368 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.2083, allocations: 11.94 kB / 353.9 MB, free: 356 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.2083, allocations: 7.969 kB / 353.9 MB, free: 348 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00407/0.2123, allocations: 3.304 MB / 357.2 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.2123, allocations: 4.188 kB / 357.2 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003919/0.2127, allocations: 168.9 kB / 357.4 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001067/0.2138, allocations: 399.6 kB / 357.7 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.236e-05/0.2139, allocations: 39.98 kB / 357.8 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006061/0.2199, allocations: 11.44 MB / 369.2 MB, free: 428 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2199, allocations: 0 / 369.2 MB, free: 428 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002198/0.2221, allocations: 1.627 MB / 370.9 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004963/0.2226, allocations: 302.7 kB / 371.2 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.2227, allocations: 28 kB / 371.2 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003784/0.2231, allocations: 59.95 kB / 371.2 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002038/0.2233, allocations: 104.1 kB / 371.3 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.622e-05/0.2234, allocations: 36 kB / 371.4 MB, free: 14.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008498/0.2242, allocations: 0.7589 MB / 372.1 MB, free: 13.47 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2242, allocations: 0 / 372.1 MB, free: 13.47 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001738/0.226, allocations: 0.5312 MB / 372.7 MB, free: 12.94 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 (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.0002849/0.2262, allocations: 168 kB / 372.8 MB, free: 12.78 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00165/0.2279, allocations: 1.458 MB / 374.3 MB, free: 11.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.2279, allocations: 0 / 374.3 MB, free: 11.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.2291, allocations: 1.477 MB / 375.8 MB, free: 9.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.2301, allocations: 420.2 kB / 376.2 MB, free: 9.371 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006665/0.2368, allocations: 4.787 MB / 381 MB, free: 4.516 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006901/0.2375, allocations: 0.7756 MB / 381.7 MB, free: 3.719 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000721/0.2382, allocations: 314.1 kB / 382 MB, free: 3.406 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002132/0.2384, allocations: 112.5 kB / 382.2 MB, free: 3.297 MB / 330.7 MB Notification: Performance of SimCode: time 1.513e-06/0.2384, allocations: 0 / 382.2 MB, free: 3.297 MB / 330.7 MB Notification: Performance of Templates: time 0.03608/0.2745, allocations: 25.9 MB / 408 MB, free: 9.863 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.399969066027552]