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.001743/0.001743, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 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.002089/0.002089, allocations: 215 kB / 24.47 MB, free: 3.777 MB / 14.72 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.499/1.499, allocations: 207.7 MB / 235.3 MB, free: 9.793 MB / 190.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 58.58 kB / 347.7 MB, free: 9.355 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2844, allocations: 49.15 MB / 396.9 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01298/0.2974, allocations: 11.19 MB / 408.1 MB, free: 2.004 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009002/0.3064, allocations: 4.075 MB / 412.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002135/0.3085, allocations: 84.72 kB / 412.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002803/0.3113, allocations: 0.957 MB / 413.2 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004391/0.3157, allocations: 1.243 MB / 414.4 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002388/0.3181, allocations: 0.8598 MB / 415.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005997/0.3241, allocations: 3.898 MB / 419.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002893/0.327, allocations: 1.673 MB / 420.8 MB, free: 9.383 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003658/0.3307, allocations: 1.889 MB / 422.7 MB, free: 8.273 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003886/0.3345, allocations: 1.964 MB / 424.7 MB, free: 7.008 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000928/0.3355, allocations: 0.4958 MB / 425.2 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002099/0.3376, allocations: 0.6833 MB / 425.9 MB, free: 6.031 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001343/0.3389, allocations: 1.102 MB / 427 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003191/0.3421, allocations: 1.642 MB / 428.6 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008382/0.3505, allocations: 6.625 MB / 435.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.3505, allocations: 7.938 kB / 435.3 MB, free: 12.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3505, allocations: 0 / 435.3 MB, free: 12.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.00016/0.3507, allocations: 0 / 435.3 MB, free: 12.63 MB / 350.1 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.01117/0.3618, allocations: 4.314 MB / 439.6 MB, free: 8.258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.3619, allocations: 11.98 kB / 439.6 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004354/0.3662, allocations: 0.8183 MB / 440.4 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004559/0.3708, allocations: 2.177 MB / 442.6 MB, free: 5.199 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002162/0.371, allocations: 238.4 kB / 442.8 MB, free: 4.965 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005174/0.3715, allocations: 312 kB / 443.1 MB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00757/0.3791, allocations: 4.377 MB / 447.5 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.372e-05/0.3792, allocations: 0 / 447.5 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003073/0.3795, allocations: 132 kB / 447.6 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001868/0.3797, allocations: 150.3 kB / 447.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006565/0.3862, allocations: 3.585 MB / 451.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01963/0.4058, allocations: 11.17 MB / 462.5 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005576/0.4114, allocations: 2.603 MB / 465.1 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002252/0.4137, allocations: 1.234 MB / 466.4 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006324/0.42, allocations: 3.065 MB / 469.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/0.42, allocations: 47.56 kB / 469.5 MB, free: 9.996 MB / 382.1 MB Notification: Performance of pre-optimization done (n=119): time 3.016e-06/0.42, allocations: 3.938 kB / 469.5 MB, free: 9.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.01081/0.4309, allocations: 4.763 MB / 474.2 MB, free: 5.184 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.4309, allocations: 68.41 kB / 474.3 MB, free: 5.105 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002331/0.4332, allocations: 1.512 MB / 475.8 MB, free: 3.582 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.843e-05/0.4333, allocations: 45.7 kB / 475.9 MB, free: 3.531 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001184/0.4345, allocations: 1.461 MB / 477.3 MB, free: 2.059 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004048/0.4349, allocations: 452.2 kB / 477.8 MB, free: 1.613 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000462/0.4354, allocations: 283.5 kB / 478 MB, free: 1.332 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.4355, allocations: 305.1 kB / 478.3 MB, free: 1.031 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/0.4366, allocations: 0.6364 MB / 479 MB, free: 404 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001579/0.4382, allocations: 1.143 MB / 480.1 MB, free: 15.04 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002838/0.4411, allocations: 1.871 MB / 482 MB, free: 12.96 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/0.4411, allocations: 7.938 kB / 482 MB, free: 12.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004076/0.4451, allocations: 2.221 MB / 484.2 MB, free: 10.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.637e-05/0.4452, allocations: 12 kB / 484.2 MB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.367e-05/0.4452, allocations: 16 kB / 484.2 MB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007394/0.4459, allocations: 267.5 kB / 484.5 MB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.4473, allocations: 359.4 kB / 484.9 MB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00604/0.4533, allocations: 5.784 MB / 490.6 MB, free: 3.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.4545, allocations: 71.95 kB / 490.7 MB, free: 3.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/0.4547, allocations: 72.25 kB / 490.8 MB, free: 3.832 MB / 398.1 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.001743/0.4564, allocations: 0.9931 MB / 491.8 MB, free: 2.828 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002716/0.4567, allocations: 170.9 kB / 491.9 MB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003817/0.4605, allocations: 1.939 MB / 493.9 MB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.4605, allocations: 15.94 kB / 493.9 MB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.4605, allocations: 8 kB / 493.9 MB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-05/0.4605, allocations: 7.969 kB / 493.9 MB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007521/0.468, allocations: 3.957 MB / 497.9 MB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.854e-06/0.4681, allocations: 8.156 kB / 497.9 MB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007835/0.4688, allocations: 171.9 kB / 498 MB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001224/0.4701, allocations: 448 kB / 498.5 MB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.667e-05/0.4702, allocations: 35.98 kB / 498.5 MB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01145/0.4816, allocations: 10.29 MB / 0.4969 GB, free: 1.152 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.4816, allocations: 3.938 kB / 0.4969 GB, free: 1.148 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005415/0.487, allocations: 2.806 MB / 0.4996 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/0.4881, allocations: 318.8 kB / 0.4999 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002355/0.4883, allocations: 32 kB / 0.5 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008528/0.4892, allocations: 67.94 kB / 0.5 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002855/0.4894, allocations: 108.7 kB / 0.5001 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.099e-05/0.4895, allocations: 35.98 kB / 0.5002 GB, free: 13.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001645/0.4912, allocations: 1.017 MB / 0.5012 GB, free: 12.72 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4912, allocations: 0 / 0.5012 GB, free: 12.72 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002026/0.4932, allocations: 0.539 MB / 0.5017 GB, free: 12.18 MB / 430.1 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.0003052/0.4935, allocations: 139.1 kB / 0.5018 GB, free: 12.04 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003523/0.497, allocations: 1.943 MB / 0.5037 GB, free: 10.05 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.497, allocations: 0 / 0.5037 GB, free: 10.05 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002475/0.4995, allocations: 1.484 MB / 0.5052 GB, free: 8.504 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001924/0.5014, allocations: 413.7 kB / 0.5056 GB, free: 8.102 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.5115, allocations: 5.563 MB / 0.511 GB, free: 2.477 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002174/0.5136, allocations: 1.723 MB / 0.5127 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001276/0.5149, allocations: 362.1 kB / 0.513 GB, free: 372 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003124/0.5152, allocations: 119.3 kB / 0.5131 GB, free: 252 kB / 430.1 MB Notification: Performance of SimCode: time 1.021e-06/0.5152, allocations: 0 / 0.5131 GB, free: 252 kB / 430.1 MB Notification: Performance of Templates: time 0.05461/0.5698, allocations: 28.51 MB / 0.541 GB, free: 3.668 MB / 462.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe 2>&1) [Timeout 480] 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.860078947618604]