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.009527/0.009527, allocations: 104.3 kB / 21.93 MB, free: 5.207 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.002259/0.002259, allocations: 210.7 kB / 25.22 MB, free: 3.133 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.51/1.51, allocations: 207.7 MB / 236.1 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.001952/0.001952, allocations: 63.3 kB / 348.5 MB, free: 9.363 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2879, allocations: 49.15 MB / 397.6 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01328/0.3012, allocations: 11.19 MB / 408.8 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01/0.3112, allocations: 4.067 MB / 412.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003402/0.3146, allocations: 84.34 kB / 413 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004158/0.3188, allocations: 0.9545 MB / 413.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005902/0.3247, allocations: 1.249 MB / 415.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002849/0.3275, allocations: 0.8637 MB / 416 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00611/0.3336, allocations: 3.897 MB / 419.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00286/0.3365, allocations: 1.678 MB / 421.6 MB, free: 9.395 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003734/0.3402, allocations: 1.889 MB / 423.5 MB, free: 8.285 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004115/0.3443, allocations: 1.964 MB / 425.5 MB, free: 7.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001063/0.3454, allocations: 0.4983 MB / 426 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00209/0.3475, allocations: 0.6795 MB / 426.6 MB, free: 6.043 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001217/0.3487, allocations: 1.106 MB / 427.7 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003068/0.3518, allocations: 1.646 MB / 429.4 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009284/0.3611, allocations: 6.629 MB / 436 MB, free: 12.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.067e-05/0.3611, allocations: 0 / 436 MB, free: 12.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3611, allocations: 0 / 436 MB, free: 12.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002062/0.3613, allocations: 0 / 436 MB, free: 12.64 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.01336/0.3746, allocations: 4.31 MB / 440.3 MB, free: 8.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.3747, allocations: 11.98 kB / 440.3 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0045/0.3792, allocations: 0.8222 MB / 441.2 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005903/0.3851, allocations: 2.173 MB / 443.3 MB, free: 5.211 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002597/0.3854, allocations: 238.4 kB / 443.6 MB, free: 4.977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009609/0.3863, allocations: 311.9 kB / 443.9 MB, free: 4.672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009882/0.3962, allocations: 4.369 MB / 448.2 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.821e-05/0.3963, allocations: 4 kB / 448.2 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003503/0.3966, allocations: 128 kB / 448.4 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002158/0.3968, allocations: 154.3 kB / 448.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007718/0.4046, allocations: 3.593 MB / 452.1 MB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02335/0.4279, allocations: 11.16 MB / 463.3 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00553/0.4334, allocations: 2.591 MB / 465.9 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002323/0.4358, allocations: 1.245 MB / 467.1 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007027/0.4428, allocations: 3.077 MB / 470.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.14e-05/0.4428, allocations: 47.56 kB / 470.2 MB, free: 10 MB / 382.1 MB Notification: Performance of pre-optimization done (n=119): time 3.366e-06/0.4428, allocations: 0 / 470.2 MB, free: 10 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.01157/0.4544, allocations: 4.767 MB / 475 MB, free: 5.188 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.4545, allocations: 64.41 kB / 475.1 MB, free: 5.113 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002545/0.457, allocations: 1.512 MB / 476.6 MB, free: 3.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001449/0.4572, allocations: 45.7 kB / 476.6 MB, free: 3.539 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001243/0.4584, allocations: 1.457 MB / 478.1 MB, free: 2.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004478/0.4589, allocations: 448.2 kB / 478.5 MB, free: 1.629 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004592/0.4593, allocations: 283.5 kB / 478.8 MB, free: 1.348 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.4595, allocations: 309.1 kB / 479.1 MB, free: 1.043 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/0.4607, allocations: 0.6442 MB / 479.7 MB, free: 408 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001668/0.4623, allocations: 1.139 MB / 480.9 MB, free: 15.05 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002875/0.4652, allocations: 1.868 MB / 482.7 MB, free: 12.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.626e-05/0.4652, allocations: 11.94 kB / 482.8 MB, free: 12.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004267/0.4695, allocations: 2.221 MB / 485 MB, free: 10.72 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/0.4695, allocations: 8 kB / 485 MB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.643e-05/0.4696, allocations: 16.28 kB / 485 MB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007459/0.4703, allocations: 263.3 kB / 485.3 MB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/0.4717, allocations: 367.4 kB / 485.6 MB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00662/0.4783, allocations: 5.782 MB / 491.4 MB, free: 3.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/0.4798, allocations: 71.95 kB / 491.5 MB, free: 3.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/0.48, allocations: 68 kB / 491.5 MB, free: 3.852 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.002004/0.482, allocations: 0.9931 MB / 492.5 MB, free: 2.848 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004209/0.4824, allocations: 171 kB / 492.7 MB, free: 2.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004033/0.4864, allocations: 1.936 MB / 494.6 MB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/0.4864, allocations: 15.94 kB / 494.6 MB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/0.4865, allocations: 11.98 kB / 494.7 MB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.4865, allocations: 3.984 kB / 494.7 MB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0082/0.4947, allocations: 3.96 MB / 498.6 MB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.4947, allocations: 3.938 kB / 498.6 MB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007939/0.4955, allocations: 175.6 kB / 498.8 MB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001274/0.4967, allocations: 444.3 kB / 499.2 MB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/0.4968, allocations: 39.98 kB / 499.3 MB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01169/0.5085, allocations: 10.29 MB / 0.4976 GB, free: 1.172 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/0.5086, allocations: 7.969 kB / 0.4976 GB, free: 1.164 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00546/0.514, allocations: 2.802 MB / 0.5004 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/0.5151, allocations: 326.8 kB / 0.5007 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002427/0.5153, allocations: 31.98 kB / 0.5007 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008467/0.5162, allocations: 59.95 kB / 0.5008 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002969/0.5165, allocations: 108.7 kB / 0.5009 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.839e-05/0.5166, allocations: 32 kB / 0.5009 GB, free: 13.76 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001733/0.5183, allocations: 1.021 MB / 0.5019 GB, free: 12.74 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5183, allocations: 4 kB / 0.5019 GB, free: 12.73 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00234/0.5206, allocations: 0.5351 MB / 0.5024 GB, free: 12.2 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.0003964/0.521, allocations: 147.6 kB / 0.5026 GB, free: 12.05 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003772/0.5248, allocations: 1.943 MB / 0.5044 GB, free: 10.06 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.5248, allocations: 0 / 0.5044 GB, free: 10.06 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002564/0.5274, allocations: 1.479 MB / 0.5059 GB, free: 8.52 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002189/0.5296, allocations: 421 kB / 0.5063 GB, free: 8.109 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/0.5406, allocations: 5.534 MB / 0.5117 GB, free: 2.508 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002147/0.5428, allocations: 1.678 MB / 0.5133 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005915/0.5434, allocations: 123.4 kB / 0.5135 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of SimCode: time 1.352e-06/0.5434, allocations: 8 kB / 0.5135 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of Templates: time 0.3154/0.8588, allocations: 108.8 MB / 0.6197 GB, free: 104.2 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.399846788030118]