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.005231/0.005231, allocations: 100.7 kB / 21.96 MB, free: 5.215 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.001308/0.001308, allocations: 217.5 kB / 25.25 MB, free: 3.141 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.346/1.346, allocations: 207.7 MB / 236.1 MB, free: 9.938 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.00168/0.00168, allocations: 54.73 kB / 348 MB, free: 9.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.247, allocations: 49.16 MB / 397.2 MB, free: 9.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01145/0.2584, allocations: 11.17 MB / 408.3 MB, free: 1.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008533/0.267, allocations: 4.056 MB / 412.4 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00266/0.2696, allocations: 85.66 kB / 412.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003092/0.2727, allocations: 0.9585 MB / 413.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004724/0.2774, allocations: 1.255 MB / 414.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00231/0.2798, allocations: 0.8574 MB / 415.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005219/0.285, allocations: 3.896 MB / 419.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002459/0.2874, allocations: 1.752 MB / 421.2 MB, free: 9.098 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003084/0.2905, allocations: 1.88 MB / 423.1 MB, free: 7.996 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003041/0.2936, allocations: 2.094 MB / 425.2 MB, free: 6.578 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006233/0.2942, allocations: 0.498 MB / 425.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001537/0.2957, allocations: 0.6949 MB / 426.4 MB, free: 5.918 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001071/0.2968, allocations: 1.11 MB / 427.5 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002336/0.2991, allocations: 1.642 MB / 429.1 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007785/0.3069, allocations: 6.632 MB / 435.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3069, allocations: 0 / 435.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3069, allocations: 4 kB / 435.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000167/0.3071, allocations: 0 / 435.7 MB, free: 12.5 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.01171/0.3188, allocations: 4.318 MB / 440.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.072e-05/0.3189, allocations: 15.98 kB / 440.1 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000109/0.319, allocations: 82.44 kB / 440.2 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007169/0.3197, allocations: 451.2 kB / 440.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004282/0.324, allocations: 0.8183 MB / 441.4 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004545/0.3285, allocations: 2.2 MB / 443.6 MB, free: 4.504 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002076/0.3287, allocations: 230.2 kB / 443.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006416/0.3294, allocations: 311.9 kB / 444.1 MB, free: 3.973 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007837/0.3372, allocations: 4.373 MB / 448.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-05/0.3373, allocations: 7.984 kB / 448.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002974/0.3376, allocations: 123.9 kB / 448.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000158/0.3377, allocations: 150.3 kB / 448.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006386/0.3441, allocations: 3.605 MB / 452.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01968/0.3638, allocations: 11.63 MB / 464 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00521/0.369, allocations: 2.592 MB / 466.6 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002132/0.3711, allocations: 1.238 MB / 467.9 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006265/0.3774, allocations: 3.103 MB / 471 MB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.739e-05/0.3775, allocations: 51.56 kB / 471 MB, free: 8.777 MB / 382.1 MB Notification: Performance of pre-optimization done (n=119): time 3.516e-06/0.3775, allocations: 0 / 471 MB, free: 8.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.01063/0.3881, allocations: 4.79 MB / 475.8 MB, free: 3.941 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.3881, allocations: 64.41 kB / 475.9 MB, free: 3.867 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002557/0.3907, allocations: 1.706 MB / 477.6 MB, free: 2.156 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001168/0.3908, allocations: 49.64 kB / 477.6 MB, free: 2.102 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001111/0.3919, allocations: 1.434 MB / 479.1 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003865/0.3923, allocations: 452.2 kB / 479.5 MB, free: 212 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004703/0.3928, allocations: 283.6 kB / 479.8 MB, free: 15.92 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.3929, allocations: 309.1 kB / 480.1 MB, free: 15.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/0.394, allocations: 0.6403 MB / 480.7 MB, free: 14.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/0.3955, allocations: 1.143 MB / 481.9 MB, free: 13.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002633/0.3981, allocations: 1.864 MB / 483.7 MB, free: 11.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/0.3981, allocations: 8 kB / 483.7 MB, free: 11.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003936/0.402, allocations: 2.249 MB / 486 MB, free: 9.277 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/0.4021, allocations: 15.94 kB / 486 MB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.4021, allocations: 16.28 kB / 486 MB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007407/0.4028, allocations: 263.3 kB / 486.3 MB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/0.4041, allocations: 359.4 kB / 486.6 MB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005757/0.4099, allocations: 5.853 MB / 492.5 MB, free: 2.438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.4113, allocations: 71.91 kB / 492.5 MB, free: 2.367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/0.4114, allocations: 68 kB / 492.6 MB, free: 2.301 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.001719/0.4131, allocations: 0.9969 MB / 493.6 MB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003221/0.4134, allocations: 190.9 kB / 493.8 MB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003615/0.417, allocations: 1.949 MB / 495.7 MB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.4171, allocations: 12 kB / 495.7 MB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/0.4171, allocations: 8 kB / 495.8 MB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.4171, allocations: 3.984 kB / 495.8 MB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007404/0.4245, allocations: 4.364 MB / 0.4884 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.4245, allocations: 0 / 0.4884 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007268/0.4252, allocations: 167.8 kB / 0.4886 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001145/0.4264, allocations: 452.2 kB / 0.489 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-05/0.4264, allocations: 40.05 kB / 0.489 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01045/0.4369, allocations: 10.41 MB / 0.4992 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.4369, allocations: 0 / 0.4992 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004806/0.4417, allocations: 2.838 MB / 0.502 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008269/0.4425, allocations: 342.7 kB / 0.5023 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002311/0.4428, allocations: 31.98 kB / 0.5023 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008093/0.4436, allocations: 59.95 kB / 0.5024 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002584/0.4438, allocations: 108.7 kB / 0.5025 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.031e-05/0.4439, allocations: 35.98 kB / 0.5025 GB, free: 11.53 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001751/0.4457, allocations: 1.178 MB / 0.5037 GB, free: 10.36 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4457, allocations: 4 kB / 0.5037 GB, free: 10.36 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001872/0.4475, allocations: 0.539 MB / 0.5042 GB, free: 9.816 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.005017/0.4525, allocations: 3.434 MB / 0.5076 GB, free: 6.324 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003344/0.4559, allocations: 1.942 MB / 0.5095 GB, free: 4.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.4559, allocations: 0 / 0.5095 GB, free: 4.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002303/0.4582, allocations: 1.48 MB / 0.5109 GB, free: 2.793 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002271/0.4605, allocations: 0.498 MB / 0.5114 GB, free: 2.293 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02955/0.49, allocations: 18.96 MB / 0.5299 GB, free: 14.64 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002074/0.4921, allocations: 1.724 MB / 0.5316 GB, free: 12.89 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001289/0.4934, allocations: 395.7 kB / 0.532 GB, free: 12.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001435/0.4948, allocations: 1.097 MB / 0.533 GB, free: 11.4 MB / 462.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4948, allocations: 0 / 0.533 GB, free: 11.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2847/0.7796, allocations: 53.81 MB / 0.5856 GB, free: 140.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/14.85, allocations: 8 kB / 0.5856 GB, free: 140.5 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.732957385014743]