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.001884/0.001884, allocations: 103.5 kB / 21.73 MB, free: 2.688 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.00196/0.00196, allocations: 163.2 kB / 25.03 MB, free: 8.934 MB / 18.57 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 1.342/1.342, allocations: 158.6 MB / 186.8 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 178] 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.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..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.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..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.853e-06/1.853e-06, allocations: 0 / 250.4 MB, free: 7.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.182e-05/3.367e-05, allocations: 2.312 kB / 250.4 MB, free: 7.82 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01912/0.01916, allocations: 12.54 MB / 262.9 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01/0.02916, allocations: 4.202 MB / 267.1 MB, free: 7 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002295/0.03145, allocations: 83.44 kB / 267.2 MB, free: 6.918 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003195/0.03465, allocations: 0.9627 MB / 268.2 MB, free: 5.949 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00513/0.03978, allocations: 1.289 MB / 269.5 MB, free: 4.652 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003053/0.04283, allocations: 0.8727 MB / 270.3 MB, free: 3.777 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.007595/0.05042, allocations: 4.073 MB / 274.4 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003051/0.05348, allocations: 1.698 MB / 276.1 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005188/0.05866, allocations: 2.776 MB / 278.9 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004018/0.06268, allocations: 1.918 MB / 280.8 MB, free: 9.215 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001347/0.06403, allocations: 0.4961 MB / 281.3 MB, free: 8.719 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002089/0.06612, allocations: 0.6832 MB / 282 MB, free: 8.035 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00131/0.06743, allocations: 1.157 MB / 283.1 MB, free: 6.875 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002646/0.07007, allocations: 1.427 MB / 284.6 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01001/0.08008, allocations: 6.688 MB / 291.2 MB, free: 14.74 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.08009, allocations: 0 / 291.2 MB, free: 14.74 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.08009, allocations: 0 / 291.2 MB, free: 14.74 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002/0.08029, allocations: 0 / 291.2 MB, free: 14.74 MB / 282.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.01451/0.0948, allocations: 4.921 MB / 296.2 MB, free: 9.754 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/0.09485, allocations: 19.97 kB / 296.2 MB, free: 9.734 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005154/0.1, allocations: 1.228 MB / 297.4 MB, free: 8.504 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005661/0.1057, allocations: 2.128 MB / 299.5 MB, free: 6.328 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002983/0.106, allocations: 226.6 kB / 299.8 MB, free: 6.105 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009645/0.1069, allocations: 316.3 kB / 300.1 MB, free: 5.797 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00964/0.1166, allocations: 4.436 MB / 304.5 MB, free: 1.266 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.36e-05/0.1167, allocations: 4 kB / 304.5 MB, free: 1.262 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003286/0.117, allocations: 120 kB / 304.6 MB, free: 1.145 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001938/0.1172, allocations: 154.3 kB / 304.8 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00727/0.1244, allocations: 3.183 MB / 308 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03921/0.1637, allocations: 20.79 MB / 328.7 MB, free: 7.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006274/0.1699, allocations: 2.458 MB / 331.2 MB, free: 5.41 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002544/0.1725, allocations: 1.132 MB / 332.3 MB, free: 4.277 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008826/0.1813, allocations: 3.222 MB / 335.6 MB, free: 1.016 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.514e-05/0.1814, allocations: 50.33 kB / 335.6 MB, free: 0.957 MB / 314.7 MB Notification: Performance of pre-optimization done (n=119): time 3.977e-06/0.1814, allocations: 4 kB / 335.6 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of matching and sorting (n=122): time 0.01266/0.194, allocations: 4.227 MB / 339.8 MB, free: 12.67 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.153e-05/0.1941, allocations: 64.41 kB / 339.9 MB, free: 12.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004069/0.1982, allocations: 1.934 MB / 341.8 MB, free: 10.63 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001459/0.1983, allocations: 49.7 kB / 341.9 MB, free: 10.58 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001878/0.2002, allocations: 1.648 MB / 343.5 MB, free: 8.918 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006594/0.2009, allocations: 0.4885 MB / 344 MB, free: 8.426 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007185/0.2016, allocations: 381.1 kB / 344.4 MB, free: 8.047 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002955/0.2019, allocations: 476.8 kB / 344.9 MB, free: 7.578 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/0.2029, allocations: 0.4997 MB / 345.4 MB, free: 7.078 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001875/0.2048, allocations: 1.274 MB / 346.6 MB, free: 5.512 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00314/0.208, allocations: 1.894 MB / 348.5 MB, free: 3.336 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.165e-05/0.208, allocations: 4 kB / 348.5 MB, free: 3.332 MB / 330.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00453/0.2125, allocations: 2.045 MB / 350.6 MB, free: 1.262 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.903e-05/0.2125, allocations: 12 kB / 350.6 MB, free: 1.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.904e-05/0.2126, allocations: 12 kB / 350.6 MB, free: 1.238 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/0.2136, allocations: 310.5 kB / 350.9 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/0.215, allocations: 359.4 kB / 351.3 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1604/0.3753, allocations: 7.251 MB / 358.5 MB, free: 90.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/0.3769, allocations: 73.55 kB / 358.6 MB, free: 90.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002614/0.3772, allocations: 69.14 kB / 358.6 MB, free: 90.09 MB / 330.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.001906/0.3791, allocations: 0.9133 MB / 359.6 MB, free: 89.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005305/0.3796, allocations: 212.1 kB / 359.8 MB, free: 89.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003237/0.3829, allocations: 1.691 MB / 361.5 MB, free: 89.77 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.3829, allocations: 11.69 kB / 361.5 MB, free: 89.77 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.528e-05/0.3829, allocations: 14.98 kB / 361.5 MB, free: 89.77 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.3829, allocations: 3.516 kB / 361.5 MB, free: 89.77 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007718/0.3906, allocations: 4.79 MB / 366.3 MB, free: 88.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.3906, allocations: 7.875 kB / 366.3 MB, free: 88.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007044/0.3913, allocations: 159.1 kB / 366.4 MB, free: 88.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001457/0.3928, allocations: 0.5145 MB / 367 MB, free: 88.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.076e-05/0.3929, allocations: 34.09 kB / 367 MB, free: 88.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008306/0.4012, allocations: 12.96 MB / 379.9 MB, free: 76.7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.4012, allocations: 3.75 kB / 379.9 MB, free: 76.7 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003848/0.405, allocations: 2.51 MB / 382.5 MB, free: 75.14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008046/0.4058, allocations: 304.8 kB / 382.8 MB, free: 74.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002074/0.406, allocations: 39.84 kB / 382.8 MB, free: 74.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007946/0.4068, allocations: 62.89 kB / 382.9 MB, free: 74.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002542/0.4071, allocations: 104.7 kB / 383 MB, free: 74.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.066e-05/0.4072, allocations: 39.98 kB / 383 MB, free: 74.7 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001341/0.4085, allocations: 1.103 MB / 384.1 MB, free: 73.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4085, allocations: 0 / 384.1 MB, free: 73.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001965/0.4105, allocations: 0.5347 MB / 384.6 MB, free: 73.06 MB / 330.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,13,100.0%), (1,8,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.0003205/0.4108, allocations: 155.8 kB / 384.8 MB, free: 72.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002838/0.4136, allocations: 2.011 MB / 386.8 MB, free: 70.86 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.4136, allocations: 10.3 kB / 386.8 MB, free: 70.85 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001968/0.4156, allocations: 1.733 MB / 388.5 MB, free: 69.05 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/0.4176, allocations: 430.7 kB / 389 MB, free: 68.65 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007453/0.4251, allocations: 5.21 MB / 394.2 MB, free: 63.39 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001321/0.4264, allocations: 1.614 MB / 395.8 MB, free: 61.75 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001078/0.4275, allocations: 314.1 kB / 396.1 MB, free: 61.44 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00027/0.4278, allocations: 116.5 kB / 396.2 MB, free: 61.32 MB / 330.7 MB Notification: Performance of SimCode: time 1.502e-06/0.4278, allocations: 0 / 396.2 MB, free: 61.32 MB / 330.7 MB Notification: Performance of Templates: time 0.03814/0.4659, allocations: 24.88 MB / 421.1 MB, free: 36.46 MB / 330.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.629549317061901]