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.001899/0.001899, allocations: 108.5 kB / 21.18 MB, free: 0.6992 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.002495/0.002495, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.482/1.482, allocations: 207.6 MB / 235.3 MB, free: 10.01 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="me",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="me",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.002025/0.002025, allocations: 48.27 kB / 347.2 MB, free: 10.11 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2804, allocations: 49.16 MB / 396.4 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01406/0.2945, allocations: 12.88 MB / 409.2 MB, free: 24 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01094/0.3054, allocations: 4.309 MB / 413.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003065/0.3085, allocations: 84.94 kB / 413.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003954/0.3124, allocations: 1.017 MB / 414.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005794/0.3182, allocations: 1.268 MB / 415.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003144/0.3214, allocations: 0.891 MB / 416.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007037/0.3284, allocations: 3.901 MB / 420.7 MB, free: 8.258 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004321/0.3327, allocations: 1.748 MB / 422.5 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004134/0.3369, allocations: 1.887 MB / 424.3 MB, free: 5.977 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004968/0.3418, allocations: 2.088 MB / 426.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001559/0.3434, allocations: 0.4979 MB / 426.9 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003/0.3464, allocations: 0.7 MB / 427.6 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002051/0.3485, allocations: 1.122 MB / 428.8 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004581/0.353, allocations: 2.069 MB / 430.8 MB, free: 0.875 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01036/0.3634, allocations: 6.608 MB / 437.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.3634, allocations: 0 / 437.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3634, allocations: 0 / 437.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001992/0.3636, allocations: 0 / 437.4 MB, free: 10.25 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.01418/0.3778, allocations: 4.318 MB / 441.8 MB, free: 5.871 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.3778, allocations: 11.98 kB / 441.8 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001328/0.3792, allocations: 459.1 kB / 442.2 MB, free: 5.398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004919/0.3841, allocations: 0.8144 MB / 443 MB, free: 4.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006018/0.3901, allocations: 2.192 MB / 445.2 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003203/0.3904, allocations: 242.2 kB / 445.5 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001141/0.3916, allocations: 311.9 kB / 445.8 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01368/0.4052, allocations: 4.219 MB / 450 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001772/0.4054, allocations: 8 kB / 450 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001051/0.4065, allocations: 131.9 kB / 450.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002336/0.4067, allocations: 154.3 kB / 450.3 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009815/0.4165, allocations: 3.593 MB / 453.9 MB, free: 9.637 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02764/0.4442, allocations: 12.8 MB / 466.7 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005709/0.4499, allocations: 2.61 MB / 469.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002528/0.4524, allocations: 1.238 MB / 470.5 MB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007911/0.4603, allocations: 3.442 MB / 473.9 MB, free: 5.328 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.903e-05/0.4604, allocations: 47.56 kB / 474 MB, free: 5.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=119): time 3.226e-06/0.4604, allocations: 0 / 474 MB, free: 5.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.0118/0.4722, allocations: 4.787 MB / 478.8 MB, free: 448 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.681e-05/0.4722, allocations: 64.41 kB / 478.8 MB, free: 372 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003518/0.4758, allocations: 1.709 MB / 480.6 MB, free: 14.65 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001424/0.4759, allocations: 45.7 kB / 480.6 MB, free: 14.6 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00136/0.4773, allocations: 1.438 MB / 482 MB, free: 13.14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005213/0.4778, allocations: 460 kB / 482.5 MB, free: 12.69 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005525/0.4783, allocations: 283.5 kB / 482.8 MB, free: 12.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.4785, allocations: 309.1 kB / 483.1 MB, free: 12.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/0.4798, allocations: 0.6364 MB / 483.7 MB, free: 11.47 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001665/0.4814, allocations: 1.114 MB / 484.8 MB, free: 10.15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00302/0.4845, allocations: 1.868 MB / 486.7 MB, free: 8.078 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.726e-05/0.4845, allocations: 11.94 kB / 486.7 MB, free: 8.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004381/0.4889, allocations: 2.229 MB / 488.9 MB, free: 5.816 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.4889, allocations: 23.95 kB / 488.9 MB, free: 5.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.97e-05/0.4889, allocations: 16 kB / 489 MB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007833/0.4897, allocations: 271.2 kB / 489.2 MB, free: 5.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/0.4911, allocations: 359.5 kB / 489.6 MB, free: 5.148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006588/0.4977, allocations: 5.888 MB / 495.5 MB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/0.4992, allocations: 75.91 kB / 495.5 MB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000203/0.4994, allocations: 68 kB / 495.6 MB, free: 14.78 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.002326/0.5017, allocations: 1.009 MB / 496.6 MB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005709/0.5023, allocations: 186.8 kB / 496.8 MB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004431/0.5067, allocations: 1.945 MB / 498.7 MB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.882e-05/0.5068, allocations: 12 kB / 498.8 MB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.099e-05/0.5068, allocations: 4 kB / 498.8 MB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.125e-05/0.5068, allocations: 11.97 kB / 498.8 MB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01134/0.5182, allocations: 4.629 MB / 0.4916 GB, free: 6.848 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/0.5182, allocations: 3.984 kB / 0.4916 GB, free: 6.844 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007983/0.519, allocations: 176 kB / 0.4918 GB, free: 6.672 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001307/0.5203, allocations: 448 kB / 0.4922 GB, free: 6.219 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/0.5204, allocations: 35.98 kB / 0.4922 GB, free: 6.184 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01201/0.5324, allocations: 10.5 MB / 0.5025 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.5324, allocations: 0 / 0.5025 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005409/0.5378, allocations: 2.842 MB / 0.5053 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/0.539, allocations: 342.6 kB / 0.5056 GB, free: 7.871 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004471/0.5394, allocations: 32 kB / 0.5056 GB, free: 7.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.5405, allocations: 63.94 kB / 0.5057 GB, free: 7.777 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000266/0.5408, allocations: 104.7 kB / 0.5058 GB, free: 7.676 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.431e-05/0.5408, allocations: 36 kB / 0.5058 GB, free: 7.641 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002352/0.5432, allocations: 1.174 MB / 0.507 GB, free: 6.473 MB / 430.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.5432, allocations: 0 / 0.507 GB, free: 6.473 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002243/0.5454, allocations: 0.5429 MB / 0.5075 GB, free: 5.93 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.005712/0.5512, allocations: 3.438 MB / 0.5108 GB, free: 2.43 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00373/0.5549, allocations: 1.939 MB / 0.5127 GB, free: 460 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.5549, allocations: 0 / 0.5127 GB, free: 460 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002607/0.5575, allocations: 1.48 MB / 0.5142 GB, free: 14.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002744/0.5602, allocations: 0.51 MB / 0.5147 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03753/0.5978, allocations: 18.97 MB / 0.5332 GB, free: 10.73 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003224/0.601, allocations: 2.277 MB / 0.5354 GB, free: 8.43 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001462/0.6024, allocations: 383.8 kB / 0.5358 GB, free: 8.051 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001773/0.6042, allocations: 1.101 MB / 0.5369 GB, free: 6.949 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6042, allocations: 0 / 0.5369 GB, free: 6.949 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3571/0.9614, allocations: 51.9 MB / 0.5876 GB, free: 137.2 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.52/16.48, allocations: 7.922 kB / 0.5876 GB, free: 137.2 MB / 478.1 MB " [Timeout remaining time 643] (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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 22.068067595129833]