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.001338/0.001338, allocations: 101.5 kB / 21.21 MB, free: 0.6523 MB / 14.72 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.001461/0.001461, allocations: 184.4 kB / 24.49 MB, free: 3.961 MB / 14.72 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 1.357/1.357, allocations: 225.7 MB / 253.3 MB, free: 12.87 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 47.94 kB / 371.2 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2561, allocations: 52.19 MB / 423.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01403/0.2702, allocations: 11.23 MB / 434.6 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007951/0.2781, allocations: 4.014 MB / 438.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001969/0.2801, allocations: 95.44 kB / 438.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002612/0.2827, allocations: 0.963 MB / 439.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004005/0.2867, allocations: 1.301 MB / 441 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001844/0.2885, allocations: 0.8261 MB / 441.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004766/0.2933, allocations: 3.895 MB / 445.7 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002421/0.2957, allocations: 1.785 MB / 447.5 MB, free: 6.148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002521/0.2983, allocations: 1.881 MB / 449.4 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002911/0.3012, allocations: 2.102 MB / 451.5 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007653/0.3019, allocations: 0.5 MB / 452 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.3033, allocations: 0.6911 MB / 452.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001129/0.3045, allocations: 1.11 MB / 453.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002717/0.3072, allocations: 1.642 MB / 455.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007985/0.3152, allocations: 6.638 MB / 462 MB, free: 7.539 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.3152, allocations: 4 kB / 462.1 MB, free: 7.535 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.3152, allocations: 4 kB / 462.1 MB, free: 7.531 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001475/0.3153, allocations: 0 / 462.1 MB, free: 7.531 MB / 366.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.01148/0.3268, allocations: 4.33 MB / 466.4 MB, free: 3.145 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.3269, allocations: 12.03 kB / 466.4 MB, free: 3.133 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001027/0.327, allocations: 82.44 kB / 466.5 MB, free: 3.051 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006206/0.3276, allocations: 447.2 kB / 466.9 MB, free: 2.602 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00417/0.3318, allocations: 0.8145 MB / 467.7 MB, free: 1.785 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004491/0.3363, allocations: 2.344 MB / 470.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002052/0.3365, allocations: 234.2 kB / 470.3 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007275/0.3372, allocations: 319.8 kB / 470.6 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008973/0.3462, allocations: 4.373 MB / 475 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.354e-05/0.3462, allocations: 0 / 475 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003089/0.3465, allocations: 128 kB / 475.1 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001744/0.3467, allocations: 150.3 kB / 475.3 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006779/0.3535, allocations: 3.612 MB / 478.9 MB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02077/0.3743, allocations: 11.61 MB / 490.5 MB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005245/0.3795, allocations: 2.606 MB / 493.1 MB, free: 8.078 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002245/0.3817, allocations: 1.235 MB / 494.3 MB, free: 6.844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006398/0.3881, allocations: 3.13 MB / 497.5 MB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.617e-05/0.3882, allocations: 47.56 kB / 497.5 MB, free: 3.633 MB / 398.1 MB Notification: Performance of pre-optimization done (n=120): time 3.156e-06/0.3882, allocations: 0 / 497.5 MB, free: 3.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=123): time 0.01096/0.3991, allocations: 4.807 MB / 0.4905 GB, free: 14.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.3992, allocations: 68.34 kB / 0.4906 GB, free: 14.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002676/0.4019, allocations: 1.705 MB / 0.4923 GB, free: 12.99 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001011/0.402, allocations: 45.7 kB / 0.4923 GB, free: 12.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001171/0.4032, allocations: 1.434 MB / 0.4937 GB, free: 11.49 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004484/0.4036, allocations: 460.2 kB / 0.4941 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004572/0.4041, allocations: 287.4 kB / 0.4944 GB, free: 10.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.4042, allocations: 305.1 kB / 0.4947 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/0.4054, allocations: 0.6481 MB / 0.4953 GB, free: 9.801 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/0.4068, allocations: 1.139 MB / 0.4965 GB, free: 8.457 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002658/0.4095, allocations: 1.875 MB / 0.4983 GB, free: 6.383 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.4095, allocations: 4 kB / 0.4983 GB, free: 6.379 MB / 414.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004065/0.4136, allocations: 2.237 MB / 0.5005 GB, free: 4.121 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/0.4136, allocations: 20.2 kB / 0.5005 GB, free: 4.102 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.464e-05/0.4136, allocations: 20 kB / 0.5005 GB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000715/0.4143, allocations: 267.3 kB / 0.5008 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/0.4157, allocations: 355.4 kB / 0.5011 GB, free: 3.461 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006294/0.422, allocations: 5.856 MB / 0.5068 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/0.4234, allocations: 67.92 kB / 0.5069 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/0.4236, allocations: 75.92 kB / 0.507 GB, free: 13.12 MB / 430.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 (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.001832/0.4254, allocations: 1.001 MB / 0.5079 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003345/0.4257, allocations: 190.8 kB / 0.5081 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003743/0.4295, allocations: 1.957 MB / 0.51 GB, free: 9.938 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.4295, allocations: 12 kB / 0.51 GB, free: 9.926 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.4295, allocations: 8 kB / 0.5101 GB, free: 9.918 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.4295, allocations: 3.984 kB / 0.5101 GB, free: 9.914 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007681/0.4372, allocations: 4.367 MB / 0.5143 GB, free: 5.457 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.4372, allocations: 0 / 0.5143 GB, free: 5.457 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007895/0.438, allocations: 171.8 kB / 0.5145 GB, free: 5.289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001256/0.4392, allocations: 448.1 kB / 0.5149 GB, free: 4.836 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.4393, allocations: 39.97 kB / 0.5149 GB, free: 4.797 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01133/0.4507, allocations: 10.41 MB / 0.5251 GB, free: 9.828 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.4507, allocations: 7.969 kB / 0.5251 GB, free: 9.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004959/0.4556, allocations: 2.845 MB / 0.5279 GB, free: 6.918 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009739/0.4566, allocations: 338.7 kB / 0.5282 GB, free: 6.586 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002409/0.4569, allocations: 35.92 kB / 0.5283 GB, free: 6.551 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008347/0.4577, allocations: 60.14 kB / 0.5283 GB, free: 6.492 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002797/0.458, allocations: 112.7 kB / 0.5284 GB, free: 6.383 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-05/0.4581, allocations: 39.92 kB / 0.5285 GB, free: 6.344 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001807/0.4599, allocations: 1.17 MB / 0.5296 GB, free: 5.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4599, allocations: 0 / 0.5296 GB, free: 5.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002009/0.4619, allocations: 0.5429 MB / 0.5301 GB, free: 4.637 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 (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.005306/0.4672, allocations: 3.452 MB / 0.5335 GB, free: 1.125 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.189/0.6562, allocations: 1.939 MB / 0.5354 GB, free: 109.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/0.6562, allocations: 0.5 kB / 0.5354 GB, free: 109.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002414/0.6586, allocations: 1.477 MB / 0.5368 GB, free: 109 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002219/0.6609, allocations: 0.5033 MB / 0.5373 GB, free: 108.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02242/0.6833, allocations: 18.93 MB / 0.5558 GB, free: 96.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001349/0.6846, allocations: 1.729 MB / 0.5575 GB, free: 94.44 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001132/0.6858, allocations: 383.7 kB / 0.5579 GB, free: 94.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009876/0.6867, allocations: 1.101 MB / 0.5589 GB, free: 92.96 MB / 446.1 MB Notification: Performance of SimCode: time 6.61e-07/0.6867, allocations: 3.938 kB / 0.5589 GB, free: 92.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08889/0.7756, allocations: 53.86 MB / 0.6115 GB, free: 39.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.98/15.76, allocations: 22.7 kB / 0.6116 GB, free: 39.69 MB / 446.1 MB " [Timeout remaining time 644] (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/jenkins1/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/jenkins1/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 657] Reference file matches [Calling sys.exit(0), Time elapsed: 23.821856298018247]