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.005735/0.005735, allocations: 110.4 kB / 21.96 MB, free: 5.25 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.001345/0.001345, allocations: 206.4 kB / 25.27 MB, free: 3.238 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.372/1.372, 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: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter",fmuType="cs",version="2.0",platforms={"static"}) [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.001725/0.001725, allocations: 51.94 kB / 348 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2529, allocations: 49.16 MB / 397.2 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01254/0.2655, allocations: 12.86 MB / 410 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009915/0.2754, allocations: 4.317 MB / 414.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002703/0.2781, allocations: 85.53 kB / 414.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002812/0.2809, allocations: 1.011 MB / 415.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004752/0.2857, allocations: 1.272 MB / 416.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002324/0.288, allocations: 0.8947 MB / 417.6 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006901/0.2949, allocations: 3.894 MB / 421.5 MB, free: 8.086 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002973/0.2979, allocations: 1.758 MB / 423.3 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002987/0.3009, allocations: 1.881 MB / 425.1 MB, free: 5.801 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003739/0.3046, allocations: 2.092 MB / 427.2 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008005/0.3054, allocations: 0.4986 MB / 427.7 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00193/0.3073, allocations: 0.7031 MB / 428.4 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001119/0.3084, allocations: 1.122 MB / 429.5 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003095/0.3115, allocations: 2.066 MB / 431.6 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007986/0.3195, allocations: 6.604 MB / 438.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.262e-05/0.3195, allocations: 0 / 438.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3195, allocations: 0 / 438.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001415/0.3197, allocations: 0 / 438.2 MB, free: 10.07 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.01166/0.3313, allocations: 4.326 MB / 442.5 MB, free: 5.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.3314, allocations: 11.98 kB / 442.6 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.45e-05/0.3315, allocations: 82.44 kB / 442.6 MB, free: 5.598 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005898/0.3321, allocations: 455.1 kB / 443.1 MB, free: 5.141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004086/0.3362, allocations: 0.8183 MB / 443.9 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004414/0.3406, allocations: 2.196 MB / 446.1 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001969/0.3408, allocations: 234.2 kB / 446.3 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005199/0.3413, allocations: 315.9 kB / 446.6 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007001/0.3483, allocations: 4.215 MB / 450.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-05/0.3484, allocations: 11.92 kB / 450.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002914/0.3486, allocations: 128 kB / 451 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001531/0.3488, allocations: 150.3 kB / 451.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006105/0.3549, allocations: 3.597 MB / 454.7 MB, free: 9.379 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02096/0.3759, allocations: 12.8 MB / 467.5 MB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005422/0.3813, allocations: 2.61 MB / 470.1 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00224/0.3835, allocations: 1.238 MB / 471.4 MB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006533/0.3901, allocations: 3.438 MB / 474.8 MB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.133e-05/0.3901, allocations: 47.56 kB / 474.9 MB, free: 5.012 MB / 382.1 MB Notification: Performance of pre-optimization done (n=119): time 2.866e-06/0.3901, allocations: 0 / 474.9 MB, free: 5.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.01089/0.401, allocations: 4.783 MB / 479.6 MB, free: 188 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.4011, allocations: 72.39 kB / 479.7 MB, free: 104 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003097/0.4042, allocations: 1.706 MB / 481.4 MB, free: 14.39 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001093/0.4043, allocations: 45.7 kB / 481.5 MB, free: 14.34 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001183/0.4054, allocations: 1.438 MB / 482.9 MB, free: 12.89 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004602/0.4059, allocations: 452.1 kB / 483.3 MB, free: 12.44 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005258/0.4064, allocations: 283.5 kB / 483.6 MB, free: 12.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.4066, allocations: 309.1 kB / 483.9 MB, free: 11.86 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00119/0.4077, allocations: 0.6403 MB / 484.6 MB, free: 11.21 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001591/0.4093, allocations: 1.118 MB / 485.7 MB, free: 9.891 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00279/0.4121, allocations: 1.864 MB / 487.5 MB, free: 7.824 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.301e-05/0.4121, allocations: 8 kB / 487.6 MB, free: 7.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004204/0.4163, allocations: 2.245 MB / 489.8 MB, free: 5.551 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.901e-05/0.4164, allocations: 15.94 kB / 489.8 MB, free: 5.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.007e-05/0.4164, allocations: 16 kB / 489.8 MB, free: 5.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007436/0.4171, allocations: 263.3 kB / 490.1 MB, free: 5.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.4185, allocations: 367.4 kB / 490.4 MB, free: 4.891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006149/0.4246, allocations: 5.892 MB / 496.3 MB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.4262, allocations: 76.03 kB / 496.4 MB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002709/0.4265, allocations: 71.98 kB / 496.5 MB, free: 14.52 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.002095/0.4286, allocations: 1.005 MB / 497.5 MB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005661/0.4291, allocations: 186.8 kB / 497.7 MB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004272/0.4334, allocations: 1.941 MB / 499.6 MB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/0.4334, allocations: 12 kB / 499.6 MB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.146e-05/0.4335, allocations: 4 kB / 499.6 MB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.69e-05/0.4335, allocations: 15.91 kB / 499.6 MB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009433/0.4429, allocations: 4.629 MB / 0.4924 GB, free: 6.586 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/0.4429, allocations: 3.984 kB / 0.4925 GB, free: 6.582 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007787/0.4437, allocations: 176 kB / 0.4926 GB, free: 6.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001234/0.4449, allocations: 448 kB / 0.493 GB, free: 5.957 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/0.4451, allocations: 35.98 kB / 0.4931 GB, free: 5.922 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01176/0.4568, allocations: 10.5 MB / 0.5033 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.086e-06/0.4568, allocations: 7.922 kB / 0.5033 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005292/0.4621, allocations: 2.827 MB / 0.5061 GB, free: 7.953 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/0.4634, allocations: 338.7 kB / 0.5064 GB, free: 7.621 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006345/0.464, allocations: 39.98 kB / 0.5065 GB, free: 7.582 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/0.4653, allocations: 59.95 kB / 0.5065 GB, free: 7.523 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003364/0.4656, allocations: 112.7 kB / 0.5066 GB, free: 7.414 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.4657, allocations: 35.98 kB / 0.5067 GB, free: 7.379 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002685/0.4684, allocations: 1.174 MB / 0.5078 GB, free: 6.211 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4684, allocations: 0 / 0.5078 GB, free: 6.211 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002938/0.4714, allocations: 0.539 MB / 0.5083 GB, free: 5.672 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.005915/0.4773, allocations: 3.438 MB / 0.5117 GB, free: 2.172 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003751/0.481, allocations: 1.946 MB / 0.5136 GB, free: 188 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.481, allocations: 0 / 0.5136 GB, free: 188 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002436/0.4835, allocations: 1.476 MB / 0.515 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003193/0.4867, allocations: 0.5097 MB / 0.5155 GB, free: 14.13 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03632/0.523, allocations: 18.96 MB / 0.5341 GB, free: 10.48 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003103/0.5261, allocations: 2.281 MB / 0.5363 GB, free: 8.172 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001468/0.5276, allocations: 387.8 kB / 0.5366 GB, free: 7.789 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001737/0.5293, allocations: 1.097 MB / 0.5377 GB, free: 6.691 MB / 462.1 MB Notification: Performance of SimCode: time 1.462e-06/0.5293, allocations: 0 / 0.5377 GB, free: 6.691 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2848/0.8141, allocations: 51.93 MB / 0.5884 GB, free: 136.8 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/14.71, allocations: 17.31 kB / 0.5884 GB, free: 136.8 MB / 478.1 MB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe 2>&1) [Timeout 52.5] 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 657] Reference file matches [Calling sys.exit(0), Time elapsed: 22.583023602026515]