Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008847/0.0008847, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009475/0.0009475, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9357/0.9357, allocations: 173.4 MB / 200.5 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.633e-05, allocations: 2.281 kB / 318.5 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.0104/0.01043, allocations: 11.25 MB / 329.7 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006712/0.01714, allocations: 4.029 MB / 333.7 MB, free: 7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001517/0.01866, allocations: 95.44 kB / 333.8 MB, free: 6.906 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00201/0.02067, allocations: 0.9705 MB / 334.8 MB, free: 5.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002374/0.02304, allocations: 1.347 MB / 336.1 MB, free: 4.574 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.0242, allocations: 0.8355 MB / 337 MB, free: 3.742 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002884/0.02708, allocations: 4.053 MB / 341 MB, free: 15.66 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001524/0.02861, allocations: 1.706 MB / 342.7 MB, free: 13.89 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002092/0.0307, allocations: 2.753 MB / 345.5 MB, free: 11.13 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001894/0.03259, allocations: 1.75 MB / 347.2 MB, free: 9.375 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003474/0.03294, allocations: 0.5 MB / 347.7 MB, free: 8.875 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.03403, allocations: 0.6948 MB / 348.4 MB, free: 8.18 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001256/0.03528, allocations: 1.133 MB / 349.6 MB, free: 7.043 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002051/0.03734, allocations: 1.403 MB / 351 MB, free: 5.637 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005019/0.04235, allocations: 6.665 MB / 357.6 MB, free: 14.95 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/0.04236, allocations: 3.984 kB / 357.6 MB, free: 14.95 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.04236, allocations: 0 / 357.6 MB, free: 14.95 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001747/0.04254, allocations: 0 / 357.6 MB, free: 14.95 MB / 330.7 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.007853/0.05039, allocations: 4.275 MB / 361.9 MB, free: 10.62 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.05044, allocations: 12.02 kB / 361.9 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004579/0.0509, allocations: 443.2 kB / 362.4 MB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002296/0.05319, allocations: 0.8184 MB / 363.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003151/0.05634, allocations: 2.328 MB / 365.5 MB, free: 6.961 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.05646, allocations: 234.6 kB / 365.7 MB, free: 6.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003328/0.05679, allocations: 316.2 kB / 366 MB, free: 6.422 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005083/0.06187, allocations: 4.377 MB / 370.4 MB, free: 1.957 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.921e-05/0.06192, allocations: 0 / 370.4 MB, free: 1.957 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002054/0.06213, allocations: 128 kB / 370.5 MB, free: 1.832 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001028/0.06223, allocations: 150.3 kB / 370.7 MB, free: 1.684 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004628/0.06686, allocations: 3.605 MB / 374.3 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01566/0.08252, allocations: 11.62 MB / 385.9 MB, free: 2.137 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003211/0.08573, allocations: 2.592 MB / 388.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001559/0.08729, allocations: 1.234 MB / 389.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004042/0.09133, allocations: 3.134 MB / 392.9 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.09136, allocations: 51.5 kB / 392.9 MB, free: 11.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=120): time 3.026e-06/0.09136, allocations: 0 / 392.9 MB, free: 11.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=123): time 0.006565/0.09793, allocations: 4.802 MB / 397.7 MB, free: 6.359 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.09797, allocations: 68.34 kB / 397.8 MB, free: 6.277 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001718/0.09969, allocations: 1.725 MB / 399.5 MB, free: 4.547 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.277e-05/0.09975, allocations: 45.7 kB / 399.6 MB, free: 4.496 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006736/0.1004, allocations: 1.438 MB / 401 MB, free: 3.043 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002253/0.1006, allocations: 452.1 kB / 401.5 MB, free: 2.598 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002832/0.1009, allocations: 283.5 kB / 401.7 MB, free: 2.316 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.416e-05/0.101, allocations: 301.1 kB / 402 MB, free: 2.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007506/0.1018, allocations: 0.6441 MB / 402.7 MB, free: 1.375 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009156/0.1027, allocations: 1.142 MB / 403.8 MB, free: 28 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001732/0.1044, allocations: 1.874 MB / 405.7 MB, free: 13.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-05/0.1044, allocations: 4 kB / 405.7 MB, free: 13.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002595/0.107, allocations: 2.256 MB / 407.9 MB, free: 11.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.107, allocations: 15.25 kB / 408 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.098e-05/0.1071, allocations: 16 kB / 408 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004675/0.1075, allocations: 265.9 kB / 408.2 MB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007313/0.1083, allocations: 359.4 kB / 408.6 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003749/0.112, allocations: 5.833 MB / 414.4 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009521/0.113, allocations: 75.84 kB / 414.5 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-05/0.113, allocations: 68 kB / 414.6 MB, free: 4.703 MB / 378.7 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 (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.001405/0.1145, allocations: 0.997 MB / 415.6 MB, free: 3.695 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002229/0.1147, allocations: 194.9 kB / 415.7 MB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002472/0.1171, allocations: 1.957 MB / 417.7 MB, free: 1.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.1172, allocations: 19.92 kB / 417.7 MB, free: 1.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/0.1172, allocations: 8 kB / 417.7 MB, free: 1.492 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.1172, allocations: 7.984 kB / 417.7 MB, free: 1.484 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005253/0.1224, allocations: 4.363 MB / 422.1 MB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.1224, allocations: 0 / 422.1 MB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004186/0.1229, allocations: 171.8 kB / 422.3 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000705/0.1236, allocations: 451.6 kB / 422.7 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.877e-05/0.1236, allocations: 35.98 kB / 422.7 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006578/0.1302, allocations: 10.41 MB / 433.2 MB, free: 1.406 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.1302, allocations: 4.031 kB / 433.2 MB, free: 1.402 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003289/0.1335, allocations: 2.837 MB / 436 MB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006854/0.1342, allocations: 342.7 kB / 436.3 MB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.1343, allocations: 32 kB / 436.4 MB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000459/0.1348, allocations: 63.94 kB / 436.4 MB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002175/0.135, allocations: 112.7 kB / 436.5 MB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.708e-05/0.1351, allocations: 39.94 kB / 436.6 MB, free: 13.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001336/0.1364, allocations: 1.17 MB / 437.7 MB, free: 12.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1364, allocations: 0 / 437.7 MB, free: 12.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001462/0.1379, allocations: 0.5352 MB / 438.3 MB, free: 12.23 MB / 410.7 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 (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,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.00349/0.1413, allocations: 3.449 MB / 441.7 MB, free: 8.723 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002426/0.1438, allocations: 1.936 MB / 443.7 MB, free: 6.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.1438, allocations: 4 kB / 443.7 MB, free: 6.746 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001542/0.1453, allocations: 1.475 MB / 445.1 MB, free: 5.203 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/0.1469, allocations: 0.5154 MB / 445.7 MB, free: 4.691 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1616/0.3085, allocations: 18.86 MB / 464.5 MB, free: 112.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/0.3096, allocations: 1.723 MB / 466.2 MB, free: 110.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008375/0.3104, allocations: 385.3 kB / 466.6 MB, free: 110.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008267/0.3113, allocations: 1.098 MB / 467.7 MB, free: 109.5 MB / 410.7 MB Notification: Performance of SimCode: time 2.815e-06/0.3113, allocations: 0 / 467.7 MB, free: 109.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06609/0.3774, allocations: 53.75 MB / 0.5092 GB, free: 56.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.519/8.896, allocations: 7.797 kB / 0.5092 GB, free: 56.38 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_4_0_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_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 12.702493654564023]