Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.001749/0.001749, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002043/0.002043, allocations: 212 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 230.6 MB / 257.5 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.InductionMachines.IMC_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_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 51.92 kB / 378.3 MB, free: 2.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2464, allocations: 53.36 MB / 431.6 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01718/0.2636, allocations: 13.56 MB / 445.2 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009111/0.2727, allocations: 4.534 MB / 449.7 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001899/0.2746, allocations: 95.44 kB / 449.8 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002893/0.2775, allocations: 1.041 MB / 450.9 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00408/0.2816, allocations: 1.296 MB / 452.2 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002201/0.2838, allocations: 0.9133 MB / 453.1 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005314/0.2891, allocations: 3.945 MB / 457 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002564/0.2917, allocations: 1.792 MB / 458.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002905/0.2946, allocations: 1.897 MB / 460.7 MB, free: 9.719 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003792/0.2984, allocations: 2.215 MB / 462.9 MB, free: 7.496 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000775/0.2992, allocations: 0.4961 MB / 463.4 MB, free: 7 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001584/0.3007, allocations: 0.7302 MB / 464.2 MB, free: 6.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001079/0.3018, allocations: 1.114 MB / 465.3 MB, free: 5.152 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002431/0.3043, allocations: 2.077 MB / 467.3 MB, free: 3.066 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007913/0.3122, allocations: 6.65 MB / 474 MB, free: 12.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3122, allocations: 0 / 474 MB, free: 12.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3122, allocations: 0 / 474 MB, free: 12.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001242/0.3123, allocations: 0 / 474 MB, free: 12.39 MB / 382.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.01087/0.3232, allocations: 4.349 MB / 478.3 MB, free: 7.988 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.3232, allocations: 16.03 kB / 478.4 MB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004107/0.3273, allocations: 0.8066 MB / 479.2 MB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00476/0.3321, allocations: 2.356 MB / 481.5 MB, free: 4.758 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002107/0.3323, allocations: 246.1 kB / 481.8 MB, free: 4.516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000497/0.3328, allocations: 311.9 kB / 482.1 MB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007384/0.3402, allocations: 4.227 MB / 486.3 MB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.053e-05/0.3402, allocations: 0 / 486.3 MB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002965/0.3405, allocations: 128 kB / 486.4 MB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001628/0.3407, allocations: 154.2 kB / 486.6 MB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006571/0.3473, allocations: 3.612 MB / 490.2 MB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02245/0.3697, allocations: 12.81 MB / 0.4912 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005204/0.3749, allocations: 2.663 MB / 0.4938 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00294/0.3779, allocations: 1.512 MB / 0.4953 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006739/0.3846, allocations: 3.714 MB / 0.4989 GB, free: 7.105 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.3846, allocations: 43.56 kB / 0.499 GB, free: 7.055 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 2.364e-06/0.3846, allocations: 4 kB / 0.499 GB, free: 7.051 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01083/0.3955, allocations: 4.994 MB / 0.5038 GB, free: 2.008 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.3955, allocations: 64.41 kB / 0.5039 GB, free: 1.934 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002567/0.3981, allocations: 1.722 MB / 0.5056 GB, free: 212 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.632e-05/0.3982, allocations: 45.7 kB / 0.5056 GB, free: 160 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001167/0.3993, allocations: 1.462 MB / 0.5071 GB, free: 14.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003888/0.3997, allocations: 456.1 kB / 0.5075 GB, free: 14.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004509/0.4002, allocations: 283.5 kB / 0.5078 GB, free: 13.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.4003, allocations: 301.1 kB / 0.508 GB, free: 13.65 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/0.4015, allocations: 0.6559 MB / 0.5087 GB, free: 13 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001567/0.403, allocations: 1.129 MB / 0.5098 GB, free: 11.67 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002899/0.4059, allocations: 1.898 MB / 0.5116 GB, free: 9.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/0.406, allocations: 4 kB / 0.5116 GB, free: 9.566 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004272/0.4102, allocations: 2.335 MB / 0.5139 GB, free: 7.211 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.572e-05/0.4103, allocations: 12 kB / 0.5139 GB, free: 7.199 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-05/0.4103, allocations: 12 kB / 0.5139 GB, free: 7.188 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009573/0.4112, allocations: 319.3 kB / 0.5143 GB, free: 6.863 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/0.4126, allocations: 347.5 kB / 0.5146 GB, free: 6.523 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006787/0.4194, allocations: 6.32 MB / 0.5208 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.4207, allocations: 75.84 kB / 0.5208 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/0.4209, allocations: 72.08 kB / 0.5209 GB, free: 15.71 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (177): * Single equations (assignments): 173 * 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,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001765/0.4226, allocations: 0.9933 MB / 0.5219 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003597/0.423, allocations: 190.8 kB / 0.522 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004042/0.427, allocations: 2.047 MB / 0.524 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.427, allocations: 12 kB / 0.5241 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.56e-05/0.4271, allocations: 8 kB / 0.5241 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.718e-05/0.4271, allocations: 7.969 kB / 0.5241 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008481/0.4356, allocations: 4.761 MB / 0.5287 GB, free: 7.562 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.4356, allocations: 4 kB / 0.5287 GB, free: 7.559 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007695/0.4363, allocations: 163.7 kB / 0.5289 GB, free: 7.398 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001345/0.4377, allocations: 0.496 MB / 0.5294 GB, free: 6.887 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.239e-05/0.4378, allocations: 35.98 kB / 0.5294 GB, free: 6.852 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.206/0.6437, allocations: 10.93 MB / 0.5401 GB, free: 95.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.6438, allocations: 2.047 kB / 0.5401 GB, free: 95.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004676/0.6484, allocations: 2.954 MB / 0.543 GB, free: 94.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008729/0.6493, allocations: 341.9 kB / 0.5433 GB, free: 94.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002254/0.6495, allocations: 41.69 kB / 0.5433 GB, free: 94.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008349/0.6504, allocations: 70.02 kB / 0.5434 GB, free: 94.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002458/0.6506, allocations: 99.03 kB / 0.5435 GB, free: 94.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-05/0.6507, allocations: 35.22 kB / 0.5435 GB, free: 94.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001541/0.6522, allocations: 1.188 MB / 0.5447 GB, free: 93.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6522, allocations: 0 / 0.5447 GB, free: 93.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001847/0.6541, allocations: 0.5442 MB / 0.5452 GB, free: 93.87 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (83): * Single equations (assignments): 78 * 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,8,100.0%), (1,1,100.0%), (1,8,100.0%), (1,13,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.0002868/0.6544, allocations: 167.4 kB / 0.5454 GB, free: 93.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00279/0.6571, allocations: 1.994 MB / 0.5473 GB, free: 92.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.6571, allocations: 3.844 kB / 0.5473 GB, free: 92.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001793/0.6589, allocations: 1.497 MB / 0.5488 GB, free: 91.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/0.6609, allocations: 0.5161 MB / 0.5493 GB, free: 91.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007261/0.6681, allocations: 5.592 MB / 0.5548 GB, free: 88.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001408/0.6695, allocations: 2.289 MB / 0.557 GB, free: 87.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001/0.6705, allocations: 383.7 kB / 0.5574 GB, free: 87.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002761/0.6708, allocations: 125.6 kB / 0.5575 GB, free: 87.76 MB / 446.1 MB Notification: Performance of SimCode: time 8.62e-07/0.6708, allocations: 3.938 kB / 0.5575 GB, free: 87.76 MB / 446.1 MB Notification: Performance of Templates: time 0.04051/0.7113, allocations: 29.99 MB / 0.5868 GB, free: 59.2 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.789393485989422]