Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001491/0.001491, allocations: 109.1 kB / 21.22 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001823/0.001823, allocations: 209.3 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 230.5 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 67.81 kB / 378.5 MB, free: 2.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2872, allocations: 53.41 MB / 431.9 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01519/0.3024, allocations: 11.76 MB / 443.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009413/0.3118, allocations: 4.253 MB / 447.9 MB, free: 6.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002948/0.3148, allocations: 95.44 kB / 448 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004556/0.3193, allocations: 0.9821 MB / 449 MB, free: 5.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005345/0.3247, allocations: 1.286 MB / 450.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00285/0.3275, allocations: 0.8753 MB / 451.2 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005866/0.3334, allocations: 3.942 MB / 455.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002952/0.3363, allocations: 1.781 MB / 456.9 MB, free: 13.35 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003041/0.3394, allocations: 1.904 MB / 458.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003832/0.3432, allocations: 2.219 MB / 461 MB, free: 9.211 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001154/0.3443, allocations: 0.4961 MB / 461.5 MB, free: 8.715 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002305/0.3467, allocations: 0.7146 MB / 462.2 MB, free: 8 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00152/0.3482, allocations: 1.122 MB / 463.4 MB, free: 6.875 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003176/0.3513, allocations: 1.642 MB / 465 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00917/0.3605, allocations: 6.681 MB / 471.7 MB, free: 14.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.208e-05/0.3605, allocations: 4 kB / 471.7 MB, free: 14.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3605, allocations: 0 / 471.7 MB, free: 14.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001894/0.3607, allocations: 0 / 471.7 MB, free: 14.52 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.01361/0.3743, allocations: 4.352 MB / 476 MB, free: 10.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/0.3744, allocations: 8.031 kB / 476 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001454/0.3745, allocations: 82.44 kB / 476.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009653/0.3755, allocations: 451.2 kB / 476.6 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004614/0.3801, allocations: 0.8027 MB / 477.4 MB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005539/0.3857, allocations: 2.356 MB / 479.7 MB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002473/0.3859, allocations: 238.2 kB / 480 MB, free: 6.125 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001038/0.3869, allocations: 315.9 kB / 480.3 MB, free: 5.816 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009625/0.3966, allocations: 4.381 MB / 484.7 MB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.68e-05/0.3966, allocations: 4 kB / 484.7 MB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003425/0.397, allocations: 128 kB / 484.8 MB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001796/0.3972, allocations: 158.3 kB / 484.9 MB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007249/0.4044, allocations: 3.612 MB / 488.5 MB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02206/0.4265, allocations: 11.63 MB / 0.4885 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005484/0.432, allocations: 2.65 MB / 0.491 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003023/0.435, allocations: 1.499 MB / 0.4925 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006931/0.4419, allocations: 3.383 MB / 0.4958 GB, free: 10.06 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.518e-05/0.442, allocations: 47.56 kB / 0.4959 GB, free: 10 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 3.707e-06/0.442, allocations: 0 / 0.4959 GB, free: 10 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01262/0.4546, allocations: 4.986 MB / 0.5007 GB, free: 4.969 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.4546, allocations: 68.41 kB / 0.5008 GB, free: 4.887 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002924/0.4576, allocations: 1.726 MB / 0.5025 GB, free: 3.156 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002562/0.4578, allocations: 45.7 kB / 0.5025 GB, free: 3.105 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001182/0.459, allocations: 1.45 MB / 0.5039 GB, free: 1.641 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004903/0.4595, allocations: 456.1 kB / 0.5044 GB, free: 1.191 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004794/0.46, allocations: 287.5 kB / 0.5046 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.4601, allocations: 305.1 kB / 0.5049 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/0.4613, allocations: 0.652 MB / 0.5056 GB, free: 15.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001526/0.4628, allocations: 1.162 MB / 0.5067 GB, free: 14.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00277/0.4656, allocations: 1.894 MB / 0.5086 GB, free: 12.49 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/0.4656, allocations: 4 kB / 0.5086 GB, free: 12.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004538/0.4701, allocations: 2.335 MB / 0.5108 GB, free: 10.13 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.211e-05/0.4702, allocations: 12.28 kB / 0.5108 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.549e-05/0.4702, allocations: 20 kB / 0.5109 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000882/0.4711, allocations: 318.5 kB / 0.5112 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/0.4724, allocations: 351.4 kB / 0.5115 GB, free: 9.438 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006805/0.4792, allocations: 6.254 MB / 0.5176 GB, free: 2.836 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/0.4808, allocations: 79.84 kB / 0.5177 GB, free: 2.758 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/0.4809, allocations: 71.98 kB / 0.5178 GB, free: 2.688 MB / 430.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.00203/0.483, allocations: 1.005 MB / 0.5187 GB, free: 1.672 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000424/0.4834, allocations: 190.8 kB / 0.5189 GB, free: 1.484 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004012/0.4874, allocations: 2.035 MB / 0.5209 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/0.4874, allocations: 12 kB / 0.5209 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.4874, allocations: 12 kB / 0.5209 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/0.4874, allocations: 7.969 kB / 0.5209 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00799/0.4954, allocations: 4.481 MB / 0.5253 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.4954, allocations: 11.88 kB / 0.5253 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007644/0.4962, allocations: 163.8 kB / 0.5255 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001409/0.4976, allocations: 0.4996 MB / 0.526 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/0.4977, allocations: 35.98 kB / 0.526 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2401/0.7379, allocations: 10.82 MB / 0.5366 GB, free: 97.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.7379, allocations: 1.719 kB / 0.5366 GB, free: 97.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004993/0.7429, allocations: 2.954 MB / 0.5395 GB, free: 97.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008348/0.7437, allocations: 346.9 kB / 0.5398 GB, free: 97.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002491/0.7439, allocations: 31.64 kB / 0.5398 GB, free: 97.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008597/0.7448, allocations: 70.05 kB / 0.5399 GB, free: 97.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002619/0.7451, allocations: 105.1 kB / 0.54 GB, free: 97.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.171e-05/0.7452, allocations: 38.19 kB / 0.54 GB, free: 97.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001627/0.7468, allocations: 1.182 MB / 0.5412 GB, free: 97.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7468, allocations: 3.531 kB / 0.5412 GB, free: 97.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001821/0.7486, allocations: 0.5414 MB / 0.5417 GB, free: 97.07 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.004367/0.753, allocations: 3.559 MB / 0.5452 GB, free: 95.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002872/0.7558, allocations: 1.99 MB / 0.5471 GB, free: 94.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.7558, allocations: 0 / 0.5471 GB, free: 94.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001953/0.7578, allocations: 1.502 MB / 0.5486 GB, free: 93.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002195/0.76, allocations: 0.5193 MB / 0.5491 GB, free: 93.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02466/0.7847, allocations: 19.14 MB / 0.5678 GB, free: 76.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001465/0.7861, allocations: 1.736 MB / 0.5695 GB, free: 74.44 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001137/0.7873, allocations: 383.8 kB / 0.5699 GB, free: 74.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/0.7883, allocations: 1.116 MB / 0.5709 GB, free: 72.95 MB / 446.1 MB Notification: Performance of SimCode: time 1.112e-06/0.7883, allocations: 0 / 0.5709 GB, free: 72.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1245/0.9128, allocations: 54.59 MB / 0.6243 GB, free: 18.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.56/16.47, allocations: 7.922 kB / 0.6243 GB, free: 18.89 MB / 446.1 MB " [Timeout remaining time 643] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 657] Reference file matches [Calling sys.exit(0), Time elapsed: 24.450522787985392]