Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.001302/0.001302, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001376/0.001376, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.384/1.384, allocations: 230.6 MB / 258.3 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_1_0_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_4_1_0_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.001534/0.001534, allocations: 47.92 kB / 378.6 MB, free: 3.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2962, allocations: 53.36 MB / 431.9 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01582/0.3121, allocations: 13.56 MB / 445.5 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008807/0.3209, allocations: 4.53 MB / 450 MB, free: 4.691 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001769/0.3226, allocations: 99.38 kB / 450.1 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002618/0.3252, allocations: 1.04 MB / 451.2 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003875/0.3291, allocations: 1.304 MB / 452.5 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002122/0.3312, allocations: 0.902 MB / 453.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005209/0.3365, allocations: 3.953 MB / 457.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002576/0.339, allocations: 1.785 MB / 459.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002725/0.3418, allocations: 1.893 MB / 461 MB, free: 9.617 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003008/0.3448, allocations: 2.219 MB / 463.2 MB, free: 7.391 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006228/0.3454, allocations: 0.5 MB / 463.7 MB, free: 6.891 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.3467, allocations: 0.7224 MB / 464.4 MB, free: 6.168 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009923/0.3477, allocations: 1.114 MB / 465.6 MB, free: 5.051 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002235/0.3499, allocations: 2.085 MB / 467.6 MB, free: 2.957 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007183/0.3571, allocations: 6.65 MB / 474.3 MB, free: 12.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3571, allocations: 0 / 474.3 MB, free: 12.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3571, allocations: 0 / 474.3 MB, free: 12.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001281/0.3572, allocations: 0 / 474.3 MB, free: 12.29 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.01164/0.3689, allocations: 4.348 MB / 478.6 MB, free: 7.883 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.3689, allocations: 8.031 kB / 478.7 MB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.754e-05/0.369, allocations: 86.38 kB / 478.7 MB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007095/0.3697, allocations: 459.1 kB / 479.2 MB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004201/0.3739, allocations: 0.8027 MB / 480 MB, free: 6.523 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004567/0.3785, allocations: 2.356 MB / 482.3 MB, free: 4.117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001947/0.3787, allocations: 246.2 kB / 482.6 MB, free: 3.875 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004975/0.3792, allocations: 308 kB / 482.9 MB, free: 3.574 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007162/0.3864, allocations: 4.234 MB / 487.1 MB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-05/0.3864, allocations: 4 kB / 487.1 MB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002901/0.3867, allocations: 120 kB / 487.2 MB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000153/0.3869, allocations: 154.3 kB / 487.4 MB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00619/0.3931, allocations: 3.612 MB / 491 MB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02086/0.4139, allocations: 12.82 MB / 0.492 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005593/0.4195, allocations: 2.663 MB / 0.4946 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002894/0.4224, allocations: 1.5 MB / 0.4961 GB, free: 10.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006568/0.429, allocations: 3.714 MB / 0.4997 GB, free: 6.473 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/0.429, allocations: 55.5 kB / 0.4998 GB, free: 6.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 2.354e-06/0.429, allocations: 0 / 0.4998 GB, free: 6.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01091/0.4399, allocations: 4.994 MB / 0.5046 GB, free: 1.371 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.44, allocations: 68.34 kB / 0.5047 GB, free: 1.293 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002595/0.4426, allocations: 1.722 MB / 0.5064 GB, free: 15.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.722e-05/0.4427, allocations: 49.7 kB / 0.5064 GB, free: 15.51 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001118/0.4438, allocations: 1.446 MB / 0.5078 GB, free: 14.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003906/0.4442, allocations: 460.1 kB / 0.5083 GB, free: 13.6 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004416/0.4446, allocations: 283.5 kB / 0.5086 GB, free: 13.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.4447, allocations: 309.1 kB / 0.5088 GB, free: 13.01 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/0.4458, allocations: 0.6559 MB / 0.5095 GB, free: 12.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001472/0.4473, allocations: 1.117 MB / 0.5106 GB, free: 11.04 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002742/0.45, allocations: 1.902 MB / 0.5124 GB, free: 8.938 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.928e-06/0.4501, allocations: 4 kB / 0.5124 GB, free: 8.934 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004273/0.4543, allocations: 2.335 MB / 0.5147 GB, free: 6.578 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.4544, allocations: 12 kB / 0.5147 GB, free: 6.566 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/0.4544, allocations: 16 kB / 0.5147 GB, free: 6.551 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008025/0.4552, allocations: 315.5 kB / 0.515 GB, free: 6.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.4564, allocations: 351.4 kB / 0.5154 GB, free: 5.887 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006492/0.4629, allocations: 6.318 MB / 0.5216 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.4643, allocations: 79.84 kB / 0.5216 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001718/0.4644, allocations: 68 kB / 0.5217 GB, free: 15.07 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.00185/0.4663, allocations: 1.009 MB / 0.5227 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004612/0.4667, allocations: 190.8 kB / 0.5229 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004034/0.4708, allocations: 2.039 MB / 0.5249 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.4708, allocations: 12 kB / 0.5249 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.076e-05/0.4708, allocations: 4 kB / 0.5249 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.4708, allocations: 3.984 kB / 0.5249 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008486/0.4793, allocations: 4.769 MB / 0.5295 GB, free: 6.914 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.4793, allocations: 0 / 0.5295 GB, free: 6.914 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007306/0.48, allocations: 167.8 kB / 0.5297 GB, free: 6.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001298/0.4813, allocations: 0.4942 MB / 0.5302 GB, free: 6.242 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.652e-05/0.4814, allocations: 39.98 kB / 0.5302 GB, free: 6.203 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2173/0.6988, allocations: 10.92 MB / 0.5409 GB, free: 94.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6988, allocations: 2.281 kB / 0.5409 GB, free: 94.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00438/0.7031, allocations: 2.953 MB / 0.5438 GB, free: 93.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007607/0.7039, allocations: 353.1 kB / 0.5441 GB, free: 93.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002171/0.7041, allocations: 29.94 kB / 0.5441 GB, free: 93.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007958/0.7049, allocations: 65.23 kB / 0.5442 GB, free: 93.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000253/0.7052, allocations: 99.09 kB / 0.5443 GB, free: 93.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.061e-05/0.7052, allocations: 39.73 kB / 0.5443 GB, free: 93.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001638/0.7069, allocations: 1.184 MB / 0.5455 GB, free: 93.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.7069, allocations: 0 / 0.5455 GB, free: 93.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001866/0.7087, allocations: 0.5464 MB / 0.546 GB, free: 93.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.0041/0.7128, allocations: 3.568 MB / 0.5495 GB, free: 91.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002737/0.7156, allocations: 1.996 MB / 0.5514 GB, free: 90.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.7156, allocations: 0 / 0.5514 GB, free: 90.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001796/0.7174, allocations: 1.498 MB / 0.5529 GB, free: 89.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001924/0.7193, allocations: 0.5171 MB / 0.5534 GB, free: 89.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02363/0.7429, allocations: 19.15 MB / 0.5721 GB, free: 73.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00135/0.7443, allocations: 2.289 MB / 0.5743 GB, free: 70.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009809/0.7453, allocations: 387.8 kB / 0.5747 GB, free: 70.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009943/0.7463, allocations: 1.109 MB / 0.5758 GB, free: 69.25 MB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/0.7463, allocations: 0 / 0.5758 GB, free: 69.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1188/0.865, allocations: 52.6 MB / 0.6272 GB, free: 17.15 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.28/15.14, allocations: 8.047 kB / 0.6272 GB, free: 17.14 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter.fmu > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 22.861773655982688]