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.001966/0.001966, allocations: 108.5 kB / 21.18 MB, free: 0.6992 MB / 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.001538/0.001538, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.427/1.427, allocations: 207.6 MB / 235.3 MB, free: 10.02 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.002226/0.002226, allocations: 55.91 kB / 347.7 MB, free: 9.605 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2991, allocations: 49.16 MB / 396.9 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.0135/0.3126, allocations: 12.88 MB / 409.7 MB, free: 328 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01128/0.3239, allocations: 4.31 MB / 414.1 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003617/0.3275, allocations: 84.56 kB / 414.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003737/0.3312, allocations: 1.015 MB / 415.2 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005017/0.3362, allocations: 1.271 MB / 416.4 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003391/0.3396, allocations: 0.8854 MB / 417.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007236/0.3469, allocations: 3.906 MB / 421.2 MB, free: 8.445 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004352/0.3512, allocations: 1.744 MB / 423 MB, free: 7.277 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004124/0.3553, allocations: 1.884 MB / 424.8 MB, free: 6.172 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004793/0.3601, allocations: 2.087 MB / 426.9 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001597/0.3617, allocations: 0.5007 MB / 427.4 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002892/0.3646, allocations: 0.7029 MB / 428.1 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001951/0.3666, allocations: 1.114 MB / 429.2 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00493/0.3715, allocations: 2.077 MB / 431.3 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01104/0.3825, allocations: 6.609 MB / 437.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3825, allocations: 0 / 437.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3825, allocations: 0 / 437.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002048/0.3827, allocations: 0 / 437.9 MB, free: 10.16 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.01647/0.3992, allocations: 4.31 MB / 442.2 MB, free: 5.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.3993, allocations: 15.98 kB / 442.3 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005106/0.4044, allocations: 0.8183 MB / 443.1 MB, free: 4.961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005882/0.4102, allocations: 2.204 MB / 445.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002733/0.4105, allocations: 238.4 kB / 445.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009958/0.4115, allocations: 308 kB / 445.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01046/0.422, allocations: 4.227 MB / 450 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001067/0.4221, allocations: 3.938 kB / 450 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006596/0.4227, allocations: 132 kB / 450.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000207/0.423, allocations: 154.3 kB / 450.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008815/0.4318, allocations: 3.593 MB / 453.9 MB, free: 10.01 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02844/0.4602, allocations: 12.8 MB / 466.7 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006677/0.4669, allocations: 2.621 MB / 469.3 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002544/0.4694, allocations: 1.235 MB / 470.6 MB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007737/0.4772, allocations: 3.438 MB / 474 MB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.265e-05/0.4772, allocations: 47.56 kB / 474.1 MB, free: 5.637 MB / 382.1 MB Notification: Performance of pre-optimization done (n=119): time 3.105e-06/0.4772, allocations: 4 kB / 474.1 MB, free: 5.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.01177/0.489, allocations: 4.783 MB / 478.8 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.4891, allocations: 68.41 kB / 478.9 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00333/0.4924, allocations: 1.713 MB / 480.6 MB, free: 15 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.4925, allocations: 45.7 kB / 480.7 MB, free: 14.95 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001319/0.4938, allocations: 1.43 MB / 482.1 MB, free: 13.51 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004351/0.4942, allocations: 456.1 kB / 482.5 MB, free: 13.06 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005139/0.4948, allocations: 283.5 kB / 482.8 MB, free: 12.78 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.4949, allocations: 305.1 kB / 483.1 MB, free: 12.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/0.4963, allocations: 0.6441 MB / 483.8 MB, free: 11.83 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001687/0.498, allocations: 1.118 MB / 484.9 MB, free: 10.51 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003064/0.501, allocations: 1.864 MB / 486.7 MB, free: 8.441 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.869e-05/0.501, allocations: 4 kB / 486.7 MB, free: 8.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004442/0.5055, allocations: 2.245 MB / 489 MB, free: 6.172 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/0.5055, allocations: 12.28 kB / 489 MB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.313e-05/0.5056, allocations: 23.94 kB / 489 MB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008064/0.5064, allocations: 267.2 kB / 489.3 MB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/0.5078, allocations: 359.5 kB / 489.6 MB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006674/0.5145, allocations: 5.892 MB / 495.5 MB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.516, allocations: 71.91 kB / 495.6 MB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001899/0.5162, allocations: 68 kB / 495.7 MB, free: 15.14 MB / 414.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.002049/0.5183, allocations: 1.005 MB / 496.7 MB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004832/0.5187, allocations: 186.8 kB / 496.9 MB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004248/0.523, allocations: 1.949 MB / 498.8 MB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.523, allocations: 12.12 kB / 498.8 MB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.761e-05/0.523, allocations: 8 kB / 498.8 MB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-05/0.5231, allocations: 7.969 kB / 498.8 MB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009833/0.5329, allocations: 4.632 MB / 0.4917 GB, free: 7.211 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.5329, allocations: 4 kB / 0.4917 GB, free: 7.207 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008249/0.5337, allocations: 172 kB / 0.4918 GB, free: 7.039 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001303/0.535, allocations: 452.3 kB / 0.4923 GB, free: 6.582 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/0.5351, allocations: 35.98 kB / 0.4923 GB, free: 6.547 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01232/0.5474, allocations: 10.49 MB / 0.5025 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/0.5474, allocations: 7.969 kB / 0.5025 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005994/0.5534, allocations: 2.846 MB / 0.5053 GB, free: 8.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001281/0.5547, allocations: 334.7 kB / 0.5056 GB, free: 8.242 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005469/0.5553, allocations: 39.98 kB / 0.5057 GB, free: 8.203 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/0.5565, allocations: 59.95 kB / 0.5057 GB, free: 8.145 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003137/0.5568, allocations: 108.7 kB / 0.5058 GB, free: 8.039 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/0.5569, allocations: 40.11 kB / 0.5059 GB, free: 8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00253/0.5595, allocations: 1.178 MB / 0.507 GB, free: 6.828 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5595, allocations: 0 / 0.507 GB, free: 6.828 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002526/0.562, allocations: 0.5352 MB / 0.5076 GB, free: 6.293 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.0004312/0.5624, allocations: 147 kB / 0.5077 GB, free: 6.141 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003885/0.5663, allocations: 1.942 MB / 0.5096 GB, free: 4.16 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.5663, allocations: 1 kB / 0.5096 GB, free: 4.16 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002719/0.569, allocations: 1.479 MB / 0.511 GB, free: 2.613 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003066/0.5721, allocations: 0.5095 MB / 0.5115 GB, free: 2.102 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01294/0.585, allocations: 5.59 MB / 0.517 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003549/0.5886, allocations: 2.281 MB / 0.5192 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001702/0.5903, allocations: 383.8 kB / 0.5196 GB, free: 9.766 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005257/0.5908, allocations: 119.4 kB / 0.5197 GB, free: 9.648 MB / 446.1 MB Notification: Performance of SimCode: time 1.272e-06/0.5908, allocations: 0 / 0.5197 GB, free: 9.648 MB / 446.1 MB Notification: Performance of Templates: time 0.06349/0.6543, allocations: 29.34 MB / 0.5484 GB, free: 12.25 MB / 478.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: 6.026400622911751]