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.001418/0.001418, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001731/0.001731, allocations: 220.2 kB / 24.53 MB, free: 4.008 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.447/1.447, allocations: 230.5 MB / 258.2 MB, free: 8.008 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.001867/0.001867, allocations: 67.89 kB / 378.6 MB, free: 3.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2797, allocations: 53.41 MB / 432 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.0168/0.2965, allocations: 13.55 MB / 445.5 MB, free: 9.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009089/0.3056, allocations: 4.525 MB / 450.1 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002339/0.3079, allocations: 99.44 kB / 450.2 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003383/0.3113, allocations: 1.044 MB / 451.2 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004672/0.316, allocations: 1.305 MB / 452.5 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002634/0.3186, allocations: 0.914 MB / 453.4 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006334/0.325, allocations: 3.93 MB / 457.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003996/0.329, allocations: 1.792 MB / 459.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003712/0.3327, allocations: 1.893 MB / 461 MB, free: 9.477 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004469/0.3371, allocations: 2.219 MB / 463.3 MB, free: 7.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001545/0.3387, allocations: 0.4961 MB / 463.8 MB, free: 6.754 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002474/0.3412, allocations: 0.7302 MB / 464.5 MB, free: 6.023 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002065/0.3432, allocations: 1.122 MB / 465.6 MB, free: 4.898 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004355/0.3476, allocations: 2.073 MB / 467.7 MB, free: 2.816 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01109/0.3587, allocations: 6.658 MB / 474.3 MB, free: 12.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3587, allocations: 0 / 474.3 MB, free: 12.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3587, allocations: 0 / 474.3 MB, free: 12.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002285/0.3589, allocations: 0 / 474.3 MB, free: 12.14 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.0141/0.373, allocations: 4.348 MB / 478.7 MB, free: 7.734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.3731, allocations: 12.03 kB / 478.7 MB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001067/0.3732, allocations: 86.44 kB / 478.8 MB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001124/0.3743, allocations: 451.2 kB / 479.2 MB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004621/0.3789, allocations: 0.8066 MB / 480 MB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005598/0.3845, allocations: 2.367 MB / 482.4 MB, free: 3.957 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002472/0.3847, allocations: 230.2 kB / 482.6 MB, free: 3.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009722/0.3857, allocations: 312 kB / 482.9 MB, free: 3.426 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008811/0.3945, allocations: 4.231 MB / 487.2 MB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.727e-05/0.3946, allocations: 3.938 kB / 487.2 MB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003007/0.3949, allocations: 132 kB / 487.3 MB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001466/0.395, allocations: 146.3 kB / 487.4 MB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007081/0.4021, allocations: 3.616 MB / 491.1 MB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02408/0.4262, allocations: 12.81 MB / 0.4921 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00558/0.4318, allocations: 2.664 MB / 0.4947 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00299/0.4348, allocations: 1.507 MB / 0.4961 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007181/0.442, allocations: 3.714 MB / 0.4998 GB, free: 6.328 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.442, allocations: 47.5 kB / 0.4998 GB, free: 6.273 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 3.537e-06/0.442, allocations: 0 / 0.4998 GB, free: 6.273 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01188/0.4539, allocations: 4.998 MB / 0.5047 GB, free: 1.227 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.301e-05/0.454, allocations: 64.41 kB / 0.5047 GB, free: 1.152 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00293/0.4569, allocations: 1.726 MB / 0.5064 GB, free: 15.42 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001266/0.457, allocations: 45.7 kB / 0.5065 GB, free: 15.37 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001284/0.4583, allocations: 1.446 MB / 0.5079 GB, free: 13.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004363/0.4587, allocations: 456.1 kB / 0.5083 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004761/0.4592, allocations: 291.5 kB / 0.5086 GB, free: 13.17 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.4593, allocations: 301.1 kB / 0.5089 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/0.4605, allocations: 0.6559 MB / 0.5095 GB, free: 12.22 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00172/0.4622, allocations: 1.125 MB / 0.5106 GB, free: 10.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002926/0.4652, allocations: 1.898 MB / 0.5125 GB, free: 8.797 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/0.4652, allocations: 4 kB / 0.5125 GB, free: 8.793 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00463/0.4698, allocations: 2.335 MB / 0.5148 GB, free: 6.438 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/0.4698, allocations: 16 kB / 0.5148 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.194e-05/0.4699, allocations: 12 kB / 0.5148 GB, free: 6.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009178/0.4708, allocations: 319.2 kB / 0.5151 GB, free: 6.086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/0.4723, allocations: 347.5 kB / 0.5154 GB, free: 5.746 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00781/0.4801, allocations: 6.324 MB / 0.5216 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/0.4819, allocations: 75.91 kB / 0.5217 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000188/0.4821, allocations: 71.97 kB / 0.5217 GB, free: 14.93 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.002184/0.4843, allocations: 1.005 MB / 0.5227 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000476/0.4848, allocations: 190.8 kB / 0.5229 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004488/0.4893, allocations: 2.035 MB / 0.5249 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/0.4893, allocations: 12 kB / 0.5249 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.587e-05/0.4893, allocations: 8 kB / 0.5249 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.612e-05/0.4893, allocations: 3.984 kB / 0.5249 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009113/0.4984, allocations: 4.773 MB / 0.5296 GB, free: 6.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.4984, allocations: 8 kB / 0.5296 GB, free: 6.762 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008121/0.4992, allocations: 159.8 kB / 0.5297 GB, free: 6.605 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001413/0.5007, allocations: 0.4956 MB / 0.5302 GB, free: 6.098 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/0.5008, allocations: 35.98 kB / 0.5303 GB, free: 6.062 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2572/0.758, allocations: 10.93 MB / 0.5409 GB, free: 94.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.758, allocations: 3.172 kB / 0.5409 GB, free: 94.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004901/0.7629, allocations: 2.944 MB / 0.5438 GB, free: 93.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/0.764, allocations: 348 kB / 0.5441 GB, free: 93.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002564/0.7642, allocations: 33.86 kB / 0.5442 GB, free: 93.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008522/0.7651, allocations: 65.61 kB / 0.5442 GB, free: 93.42 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003142/0.7654, allocations: 105.9 kB / 0.5443 GB, free: 93.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.036e-05/0.7655, allocations: 37.28 kB / 0.5444 GB, free: 93.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001789/0.7673, allocations: 1.183 MB / 0.5455 GB, free: 92.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7673, allocations: 0 / 0.5455 GB, free: 92.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002129/0.7694, allocations: 0.5485 MB / 0.5461 GB, free: 92.88 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.004349/0.7738, allocations: 3.552 MB / 0.5495 GB, free: 91.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00316/0.7769, allocations: 1.998 MB / 0.5515 GB, free: 90.13 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.7769, allocations: 3.969 kB / 0.5515 GB, free: 90.13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001996/0.7789, allocations: 1.497 MB / 0.5529 GB, free: 89.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002328/0.7812, allocations: 0.5231 MB / 0.5535 GB, free: 89.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02412/0.8054, allocations: 19.15 MB / 0.5722 GB, free: 72.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001517/0.8069, allocations: 2.285 MB / 0.5744 GB, free: 70.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001033/0.8079, allocations: 383.9 kB / 0.5748 GB, free: 70.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001/0.8089, allocations: 1.108 MB / 0.5758 GB, free: 69.06 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.8089, allocations: 0 / 0.5758 GB, free: 69.06 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09527/0.9042, allocations: 52.6 MB / 0.6272 GB, free: 16.87 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.46/16.37, allocations: 6.5 kB / 0.6272 GB, free: 16.86 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.349461305013392]