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.001908/0.001908, allocations: 112.2 kB / 21.94 MB, free: 12 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.002397/0.002397, allocations: 200.8 kB / 25.23 MB, free: 3.539 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.451/1.451, allocations: 207.6 MB / 236 MB, free: 9.988 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.002135/0.002135, allocations: 55.92 kB / 348.5 MB, free: 9.512 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3096, allocations: 49.15 MB / 397.6 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01444/0.324, allocations: 12.87 MB / 410.5 MB, free: 348 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01057/0.3346, allocations: 4.318 MB / 414.8 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003075/0.3377, allocations: 85.66 kB / 414.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004168/0.3418, allocations: 1.014 MB / 415.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006003/0.3478, allocations: 1.27 MB / 417.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002518/0.3504, allocations: 0.8899 MB / 418.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006809/0.3572, allocations: 3.902 MB / 422 MB, free: 8.449 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003212/0.3604, allocations: 1.751 MB / 423.7 MB, free: 7.273 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004272/0.3647, allocations: 1.888 MB / 425.6 MB, free: 6.164 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004641/0.3693, allocations: 2.087 MB / 427.7 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001636/0.3709, allocations: 0.5013 MB / 428.2 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002647/0.3736, allocations: 0.699 MB / 428.9 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001376/0.375, allocations: 1.118 MB / 430 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003566/0.3785, allocations: 2.07 MB / 432.1 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009503/0.388, allocations: 6.608 MB / 438.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.086e-06/0.388, allocations: 0 / 438.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.388, allocations: 0 / 438.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002072/0.3882, allocations: 0 / 438.7 MB, free: 10.13 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.01347/0.4017, allocations: 4.318 MB / 443 MB, free: 5.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/0.4018, allocations: 11.98 kB / 443 MB, free: 5.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004436/0.4062, allocations: 0.8261 MB / 443.8 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005379/0.4116, allocations: 2.192 MB / 446 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002421/0.4118, allocations: 234.4 kB / 446.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006986/0.4125, allocations: 319.9 kB / 446.6 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008749/0.4213, allocations: 4.215 MB / 450.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.667e-05/0.4213, allocations: 7.938 kB / 450.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003173/0.4217, allocations: 128 kB / 450.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001758/0.4218, allocations: 154.2 kB / 451.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007484/0.4293, allocations: 3.601 MB / 454.7 MB, free: 9.973 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02592/0.4553, allocations: 12.8 MB / 467.5 MB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005983/0.4612, allocations: 2.606 MB / 470.1 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002524/0.4638, allocations: 1.242 MB / 471.3 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00752/0.4713, allocations: 3.441 MB / 474.8 MB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.289e-05/0.4713, allocations: 47.5 kB / 474.8 MB, free: 5.605 MB / 382.1 MB Notification: Performance of pre-optimization done (n=119): time 3.557e-06/0.4713, allocations: 0 / 474.8 MB, free: 5.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.01161/0.4829, allocations: 4.79 MB / 479.6 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.443e-05/0.483, allocations: 64.41 kB / 479.7 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003404/0.4864, allocations: 1.706 MB / 481.4 MB, free: 14.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001449/0.4866, allocations: 49.7 kB / 481.4 MB, free: 14.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001425/0.488, allocations: 1.438 MB / 482.9 MB, free: 13.47 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000592/0.4886, allocations: 452.1 kB / 483.3 MB, free: 13.03 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000518/0.4891, allocations: 283.5 kB / 483.6 MB, free: 12.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.4893, allocations: 309 kB / 483.9 MB, free: 12.44 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/0.4905, allocations: 0.6403 MB / 484.5 MB, free: 11.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001618/0.4921, allocations: 1.114 MB / 485.6 MB, free: 10.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002965/0.4951, allocations: 1.868 MB / 487.5 MB, free: 8.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-05/0.4951, allocations: 8 kB / 487.5 MB, free: 8.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004535/0.4996, allocations: 2.237 MB / 489.7 MB, free: 6.145 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.206e-05/0.4997, allocations: 12 kB / 489.8 MB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.916e-05/0.4997, allocations: 20.22 kB / 489.8 MB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008638/0.5006, allocations: 271.2 kB / 490 MB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/0.502, allocations: 359.4 kB / 490.4 MB, free: 5.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007061/0.509, allocations: 5.896 MB / 496.3 MB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/0.5106, allocations: 71.92 kB / 496.4 MB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001909/0.5108, allocations: 67.98 kB / 496.4 MB, free: 15.11 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.002224/0.513, allocations: 1.001 MB / 497.4 MB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005418/0.5136, allocations: 182.8 kB / 497.6 MB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004278/0.5178, allocations: 1.953 MB / 499.6 MB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.5178, allocations: 12 kB / 499.6 MB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.856e-05/0.5179, allocations: 8 kB / 499.6 MB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.5179, allocations: 3.984 kB / 499.6 MB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009458/0.5273, allocations: 4.632 MB / 0.4924 GB, free: 7.188 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/0.5273, allocations: 4 kB / 0.4924 GB, free: 7.184 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007831/0.5281, allocations: 164 kB / 0.4926 GB, free: 7.023 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001253/0.5294, allocations: 452 kB / 0.493 GB, free: 6.566 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/0.5295, allocations: 35.98 kB / 0.493 GB, free: 6.531 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01215/0.5416, allocations: 10.51 MB / 0.5033 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.125e-05/0.5416, allocations: 11.91 kB / 0.5033 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005489/0.5471, allocations: 2.83 MB / 0.5061 GB, free: 8.543 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/0.5482, allocations: 342.7 kB / 0.5064 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004527/0.5487, allocations: 28 kB / 0.5064 GB, free: 8.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.5497, allocations: 63.94 kB / 0.5065 GB, free: 8.117 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002716/0.55, allocations: 108.8 kB / 0.5066 GB, free: 8.012 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-05/0.5501, allocations: 35.98 kB / 0.5066 GB, free: 7.977 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002336/0.5524, allocations: 1.174 MB / 0.5078 GB, free: 6.809 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5524, allocations: 0 / 0.5078 GB, free: 6.809 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002339/0.5548, allocations: 0.5391 MB / 0.5083 GB, free: 6.27 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.0003663/0.5551, allocations: 159.4 kB / 0.5084 GB, free: 6.105 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003671/0.5588, allocations: 1.939 MB / 0.5103 GB, free: 4.129 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.5588, allocations: 0 / 0.5103 GB, free: 4.129 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002456/0.5613, allocations: 1.48 MB / 0.5118 GB, free: 2.582 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002546/0.5638, allocations: 0.5018 MB / 0.5123 GB, free: 2.078 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/0.5759, allocations: 5.576 MB / 0.5177 GB, free: 12.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00288/0.5787, allocations: 2.227 MB / 0.5199 GB, free: 10.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005392/0.5793, allocations: 143.3 kB / 0.52 GB, free: 10.04 MB / 446.1 MB Notification: Performance of SimCode: time 9.12e-07/0.5793, allocations: 0 / 0.52 GB, free: 10.04 MB / 446.1 MB Notification: Performance of Templates: time 0.2998/0.8791, allocations: 109.4 MB / 0.6269 GB, free: 96.3 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/jenkins1/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/jenkins1/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: 13.963199379155412]