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.001227/0.001227, allocations: 108.6 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.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.001288/0.001288, allocations: 191.5 kB / 24.51 MB, free: 4.086 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.35/1.35, allocations: 225.6 MB / 253.3 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="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.001416/0.001416, allocations: 39.94 kB / 371.2 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2485, allocations: 52.2 MB / 423.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01578/0.2643, allocations: 12.93 MB / 436.4 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009897/0.2742, allocations: 4.275 MB / 440.6 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002405/0.2766, allocations: 95.44 kB / 440.7 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003547/0.2802, allocations: 1.018 MB / 441.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00483/0.285, allocations: 1.328 MB / 443.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002567/0.2876, allocations: 0.8618 MB / 443.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006308/0.2939, allocations: 3.88 MB / 447.8 MB, free: 6.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004224/0.2981, allocations: 1.785 MB / 449.6 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004507/0.3026, allocations: 1.893 MB / 451.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004991/0.3076, allocations: 2.086 MB / 453.6 MB, free: 280 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002064/0.3097, allocations: 0.5 MB / 454.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002793/0.3125, allocations: 0.7067 MB / 454.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002266/0.3147, allocations: 1.11 MB / 455.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005112/0.3198, allocations: 2.081 MB / 458 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009827/0.3297, allocations: 6.62 MB / 464.6 MB, free: 5.223 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3297, allocations: 0 / 464.6 MB, free: 5.223 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3297, allocations: 4 kB / 464.6 MB, free: 5.219 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001904/0.3299, allocations: 0 / 464.6 MB, free: 5.219 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.0122/0.3421, allocations: 4.318 MB / 468.9 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.3421, allocations: 8.031 kB / 468.9 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.887e-05/0.3422, allocations: 82.44 kB / 469 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006801/0.3429, allocations: 443.2 kB / 469.4 MB, free: 316 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004159/0.347, allocations: 0.8261 MB / 470.3 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004806/0.3518, allocations: 2.352 MB / 472.6 MB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002015/0.352, allocations: 234.2 kB / 472.9 MB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006498/0.3527, allocations: 308 kB / 473.2 MB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008293/0.361, allocations: 4.23 MB / 477.4 MB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-05/0.3611, allocations: 0 / 477.4 MB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003006/0.3614, allocations: 128 kB / 477.5 MB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001555/0.3615, allocations: 146.3 kB / 477.7 MB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007018/0.3685, allocations: 3.609 MB / 481.3 MB, free: 4.379 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02173/0.3903, allocations: 12.8 MB / 494.1 MB, free: 7.262 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005273/0.3955, allocations: 2.611 MB / 496.7 MB, free: 4.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002186/0.3977, allocations: 1.239 MB / 497.9 MB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006618/0.4043, allocations: 3.457 MB / 0.4896 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.757e-05/0.4044, allocations: 47.55 kB / 0.4897 GB, free: 15.99 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 2.956e-06/0.4044, allocations: 0 / 0.4897 GB, free: 15.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01021/0.4146, allocations: 4.815 MB / 0.4944 GB, free: 11.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.4147, allocations: 64.41 kB / 0.4944 GB, free: 11.06 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00243/0.4171, allocations: 1.701 MB / 0.4961 GB, free: 9.352 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.431e-05/0.4172, allocations: 49.7 kB / 0.4961 GB, free: 9.297 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001082/0.4183, allocations: 1.434 MB / 0.4975 GB, free: 7.848 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003856/0.4186, allocations: 456.2 kB / 0.498 GB, free: 7.398 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004429/0.4191, allocations: 287.4 kB / 0.4982 GB, free: 7.113 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.4192, allocations: 313 kB / 0.4985 GB, free: 6.805 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/0.4203, allocations: 0.6403 MB / 0.4992 GB, free: 6.164 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001469/0.4218, allocations: 1.117 MB / 0.5003 GB, free: 4.848 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002688/0.4245, allocations: 1.871 MB / 0.5021 GB, free: 2.777 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.4245, allocations: 4 kB / 0.5021 GB, free: 2.773 MB / 414.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004095/0.4286, allocations: 2.245 MB / 0.5043 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/0.4286, allocations: 15.94 kB / 0.5043 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.154e-05/0.4286, allocations: 16 kB / 0.5043 GB, free: 488 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007291/0.4294, allocations: 275.3 kB / 0.5046 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.4307, allocations: 351.5 kB / 0.5049 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006146/0.4369, allocations: 5.895 MB / 0.5107 GB, free: 9.617 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/0.4385, allocations: 75.91 kB / 0.5107 GB, free: 9.543 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/0.4386, allocations: 67.98 kB / 0.5108 GB, free: 9.477 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.00221/0.4408, allocations: 1.013 MB / 0.5118 GB, free: 8.453 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003839/0.4412, allocations: 186.8 kB / 0.512 GB, free: 8.27 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003826/0.445, allocations: 1.957 MB / 0.5139 GB, free: 6.281 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.445, allocations: 12 kB / 0.5139 GB, free: 6.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/0.445, allocations: 8 kB / 0.5139 GB, free: 6.262 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.4451, allocations: 3.984 kB / 0.5139 GB, free: 6.258 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007775/0.4528, allocations: 4.651 MB / 0.5184 GB, free: 1.516 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.4528, allocations: 4.188 kB / 0.5185 GB, free: 1.512 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007408/0.4536, allocations: 167.8 kB / 0.5186 GB, free: 1.348 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001127/0.4547, allocations: 443.9 kB / 0.519 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-05/0.4548, allocations: 35.98 kB / 0.5191 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01122/0.466, allocations: 10.51 MB / 0.5293 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.276e-06/0.466, allocations: 11.97 kB / 0.5293 GB, free: 5.781 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005203/0.4712, allocations: 2.84 MB / 0.5321 GB, free: 2.887 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009138/0.4721, allocations: 334.7 kB / 0.5324 GB, free: 2.559 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002326/0.4724, allocations: 36 kB / 0.5325 GB, free: 2.523 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008185/0.4732, allocations: 67.94 kB / 0.5325 GB, free: 2.457 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002647/0.4734, allocations: 108.6 kB / 0.5326 GB, free: 2.348 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.579e-05/0.4735, allocations: 32 kB / 0.5327 GB, free: 2.316 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001843/0.4754, allocations: 1.174 MB / 0.5338 GB, free: 1.148 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4754, allocations: 0 / 0.5338 GB, free: 1.148 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001952/0.4773, allocations: 0.539 MB / 0.5343 GB, free: 0.6094 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.2046/0.6819, allocations: 3.451 MB / 0.5377 GB, free: 104.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002899/0.6848, allocations: 1.941 MB / 0.5396 GB, free: 103.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.6848, allocations: 0 / 0.5396 GB, free: 103.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001761/0.6865, allocations: 1.481 MB / 0.5411 GB, free: 102.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/0.6886, allocations: 0.4955 MB / 0.5415 GB, free: 102.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02199/0.7105, allocations: 18.94 MB / 0.56 GB, free: 90.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001429/0.712, allocations: 2.29 MB / 0.5623 GB, free: 88.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009978/0.713, allocations: 387.7 kB / 0.5626 GB, free: 88.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009687/0.7139, allocations: 1.097 MB / 0.5637 GB, free: 86.92 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.7139, allocations: 4 kB / 0.5637 GB, free: 86.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0875/0.8014, allocations: 51.94 MB / 0.6144 GB, free: 35.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.34/15.15, allocations: 15.98 kB / 0.6145 GB, free: 35.43 MB / 446.1 MB " [Timeout remaining time 645] (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.272693623031955]