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.001438/0.001438, allocations: 112 kB / 20.43 MB, free: 1.449 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.001587/0.001587, allocations: 188.4 kB / 23.72 MB, free: 4.684 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.494/1.494, allocations: 225.6 MB / 252.5 MB, free: 13.03 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="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 0.001747/0.001747, allocations: 48.02 kB / 370.5 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2783, allocations: 52.19 MB / 422.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01624/0.2946, allocations: 12.93 MB / 435.6 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008906/0.3035, allocations: 4.283 MB / 439.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002235/0.3057, allocations: 95.44 kB / 440 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003282/0.309, allocations: 1.021 MB / 441 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004284/0.3133, allocations: 1.324 MB / 442.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002492/0.3158, allocations: 0.8631 MB / 443.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005873/0.3217, allocations: 3.883 MB / 447 MB, free: 6.254 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003811/0.3255, allocations: 1.785 MB / 448.8 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003352/0.3288, allocations: 1.893 MB / 450.7 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003975/0.3328, allocations: 2.086 MB / 452.8 MB, free: 416 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001356/0.3342, allocations: 0.5 MB / 453.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002328/0.3365, allocations: 0.7067 MB / 454 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001752/0.3382, allocations: 1.122 MB / 455.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004015/0.3422, allocations: 2.066 MB / 457.2 MB, free: 12 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00959/0.3518, allocations: 6.619 MB / 463.8 MB, free: 5.359 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3518, allocations: 0 / 463.8 MB, free: 5.359 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3518, allocations: 4 kB / 463.8 MB, free: 5.355 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002223/0.3521, allocations: 0 / 463.8 MB, free: 5.355 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.01348/0.3655, allocations: 4.322 MB / 468.1 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.3656, allocations: 8.031 kB / 468.2 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001168/0.3668, allocations: 447.2 kB / 468.6 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004651/0.3714, allocations: 0.8222 MB / 469.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005407/0.3768, allocations: 2.336 MB / 471.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002198/0.377, allocations: 238.2 kB / 472 MB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007432/0.3778, allocations: 323.9 kB / 472.3 MB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01204/0.3898, allocations: 4.215 MB / 476.5 MB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-05/0.3899, allocations: 0 / 476.5 MB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006115/0.3905, allocations: 132 kB / 476.6 MB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001982/0.3907, allocations: 154.3 kB / 476.8 MB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007339/0.3981, allocations: 3.605 MB / 480.4 MB, free: 4.598 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02306/0.4211, allocations: 12.79 MB / 493.2 MB, free: 7.484 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005469/0.4266, allocations: 2.614 MB / 495.8 MB, free: 4.988 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002441/0.429, allocations: 1.238 MB / 497 MB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007299/0.4363, allocations: 3.461 MB / 0.4888 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.439e-05/0.4364, allocations: 43.56 kB / 0.4888 GB, free: 216 kB / 398.1 MB Notification: Performance of pre-optimization done (n=120): time 3.125e-06/0.4364, allocations: 0 / 0.4888 GB, free: 216 kB / 398.1 MB Notification: Performance of matching and sorting (n=123): time 0.01185/0.4482, allocations: 4.815 MB / 0.4935 GB, free: 11.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.532e-05/0.4483, allocations: 72.34 kB / 0.4936 GB, free: 11.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004273/0.4526, allocations: 1.698 MB / 0.4952 GB, free: 9.566 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001309/0.4527, allocations: 49.7 kB / 0.4953 GB, free: 9.512 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001826/0.4545, allocations: 1.442 MB / 0.4967 GB, free: 8.055 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006373/0.4552, allocations: 452.2 kB / 0.4971 GB, free: 7.609 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006875/0.4559, allocations: 287.4 kB / 0.4974 GB, free: 7.324 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.456, allocations: 305.1 kB / 0.4977 GB, free: 7.023 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001809/0.4578, allocations: 0.6442 MB / 0.4983 GB, free: 6.379 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002434/0.4603, allocations: 1.113 MB / 0.4994 GB, free: 5.066 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003566/0.4638, allocations: 1.867 MB / 0.5012 GB, free: 3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/0.4639, allocations: 7.984 kB / 0.5012 GB, free: 2.992 MB / 414.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00421/0.4681, allocations: 2.245 MB / 0.5034 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/0.4681, allocations: 12.28 kB / 0.5034 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.169e-05/0.4681, allocations: 27.92 kB / 0.5035 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007892/0.4689, allocations: 263.3 kB / 0.5037 GB, free: 428 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/0.4703, allocations: 359.4 kB / 0.5041 GB, free: 68 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006378/0.4767, allocations: 5.895 MB / 0.5098 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.478, allocations: 71.92 kB / 0.5099 GB, free: 9.758 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/0.4781, allocations: 67.98 kB / 0.51 GB, free: 9.691 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.002035/0.4802, allocations: 1.009 MB / 0.5109 GB, free: 8.672 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005186/0.4807, allocations: 186.8 kB / 0.5111 GB, free: 8.488 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004443/0.4851, allocations: 1.957 MB / 0.513 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.4851, allocations: 12 kB / 0.513 GB, free: 6.488 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.878e-05/0.4852, allocations: 8 kB / 0.513 GB, free: 6.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.73e-05/0.4852, allocations: 8.094 kB / 0.5131 GB, free: 6.473 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009682/0.4949, allocations: 4.647 MB / 0.5176 GB, free: 1.734 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.4949, allocations: 0 / 0.5176 GB, free: 1.734 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007847/0.4957, allocations: 176 kB / 0.5178 GB, free: 1.562 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001258/0.4969, allocations: 443.9 kB / 0.5182 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/0.497, allocations: 35.98 kB / 0.5182 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01155/0.5086, allocations: 10.51 MB / 0.5285 GB, free: 6.012 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.5086, allocations: 7.969 kB / 0.5285 GB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005302/0.5139, allocations: 2.844 MB / 0.5313 GB, free: 3.105 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/0.5149, allocations: 334.7 kB / 0.5316 GB, free: 2.777 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004111/0.5153, allocations: 39.92 kB / 0.5316 GB, free: 2.738 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009624/0.5163, allocations: 59.95 kB / 0.5317 GB, free: 2.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002618/0.5166, allocations: 108.7 kB / 0.5318 GB, free: 2.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.65e-05/0.5167, allocations: 35.98 kB / 0.5318 GB, free: 2.535 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002145/0.5188, allocations: 1.178 MB / 0.533 GB, free: 1.363 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5188, allocations: 0 / 0.533 GB, free: 1.363 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002099/0.5209, allocations: 0.539 MB / 0.5335 GB, free: 0.8242 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.2562/0.7771, allocations: 3.448 MB / 0.5369 GB, free: 104.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004798/0.7819, allocations: 1.939 MB / 0.5388 GB, free: 103.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.7819, allocations: 0 / 0.5388 GB, free: 103.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002982/0.7849, allocations: 1.478 MB / 0.5402 GB, free: 102.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003235/0.7881, allocations: 0.5049 MB / 0.5407 GB, free: 102.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02881/0.8169, allocations: 18.93 MB / 0.5592 GB, free: 90.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002191/0.8191, allocations: 2.294 MB / 0.5614 GB, free: 88.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00114/0.8202, allocations: 379.7 kB / 0.5618 GB, free: 88.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001215/0.8215, allocations: 1.101 MB / 0.5629 GB, free: 87.08 MB / 446.1 MB Notification: Performance of SimCode: time 1.402e-06/0.8215, allocations: 0 / 0.5629 GB, free: 87.08 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0957/0.9172, allocations: 51.93 MB / 0.6136 GB, free: 35.63 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.48/15.4, allocations: 6.922 kB / 0.6136 GB, free: 35.62 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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 21.080709627131]