Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.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.0009017/0.0009017, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0009485/0.0009485, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9716/0.9716, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 324.6 MB, free: 15.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.718e-05, allocations: 6.281 kB / 324.6 MB, free: 15.78 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01437/0.0144, allocations: 18.65 MB / 343.3 MB, free: 13.04 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01292/0.02732, allocations: 6.508 MB / 349.8 MB, free: 6.508 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005039/0.03236, allocations: 171.2 kB / 349.9 MB, free: 6.34 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009215/0.04157, allocations: 6.73 MB / 356.7 MB, free: 15.59 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007906/0.04948, allocations: 2.857 MB / 359.5 MB, free: 12.72 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003808/0.05329, allocations: 1.547 MB / 361.1 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01082/0.0641, allocations: 9.473 MB / 370.5 MB, free: 1.68 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01589/0.07999, allocations: 10.93 MB / 381.5 MB, free: 6.609 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01174/0.09173, allocations: 6.985 MB / 388.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00713/0.09886, allocations: 4.475 MB / 392.9 MB, free: 11.13 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003371/0.1022, allocations: 1.355 MB / 394.3 MB, free: 9.773 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005172/0.1074, allocations: 1.694 MB / 396 MB, free: 8.078 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003389/0.1108, allocations: 2.657 MB / 398.6 MB, free: 5.414 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006961/0.1178, allocations: 3.33 MB / 402 MB, free: 2.078 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01762/0.1354, allocations: 18.54 MB / 420.5 MB, free: 15.49 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1354, allocations: 8 kB / 420.5 MB, free: 15.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1354, allocations: 0 / 420.5 MB, free: 15.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004538/0.1358, allocations: 0 / 420.5 MB, free: 15.48 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2107 * Number of variables: 2107 Notification: Performance of Generate backend data structure: time 0.02453/0.1604, allocations: 10.57 MB / 431.1 MB, free: 4.828 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.1604, allocations: 12.03 kB / 431.1 MB, free: 4.816 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003364/0.1638, allocations: 1.09 MB / 432.2 MB, free: 3.715 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01783/0.1816, allocations: 5.911 MB / 438.1 MB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01274/0.1944, allocations: 5.783 MB / 443.9 MB, free: 7.953 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003597/0.1947, allocations: 0.5618 MB / 444.4 MB, free: 7.391 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002333/0.197, allocations: 0.7381 MB / 445.2 MB, free: 6.652 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2047/0.4018, allocations: 13.02 MB / 458.2 MB, free: 98.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000172/0.4019, allocations: 15.28 kB / 458.2 MB, free: 98.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001021/0.403, allocations: 309 kB / 458.5 MB, free: 98.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003019/0.4033, allocations: 496.5 kB / 459 MB, free: 98.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0171/0.4204, allocations: 12.55 MB / 471.6 MB, free: 92.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04347/0.4638, allocations: 37.09 MB / 0.4967 GB, free: 55.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007351/0.4712, allocations: 8.528 MB / 0.5051 GB, free: 48.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002432/0.4736, allocations: 2.922 MB / 0.5079 GB, free: 45.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001869/0.4738, allocations: 91.14 kB / 0.508 GB, free: 45.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.4738, allocations: 73.78 kB / 0.5081 GB, free: 45.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=410): time 5.2e-06/0.4738, allocations: 0 / 0.5081 GB, free: 45.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=415): time 0.01978/0.4936, allocations: 16.76 MB / 0.5244 GB, free: 28.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.4937, allocations: 94.67 kB / 0.5245 GB, free: 28.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002541/0.4962, allocations: 2.911 MB / 0.5274 GB, free: 25.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001541/0.4964, allocations: 93.7 kB / 0.5275 GB, free: 25.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008256/0.4972, allocations: 3.128 MB / 0.5305 GB, free: 22.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000605/0.4978, allocations: 1.45 MB / 0.5319 GB, free: 21.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009202/0.4987, allocations: 0.9466 MB / 0.5328 GB, free: 20.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.019e-05/0.4988, allocations: 309.1 kB / 0.5331 GB, free: 19.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002424/0.5012, allocations: 2.505 MB / 0.5356 GB, free: 17.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002761/0.5039, allocations: 4.127 MB / 0.5396 GB, free: 12.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005321/0.5093, allocations: 7.195 MB / 0.5466 GB, free: 4.695 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.903e-05/0.5093, allocations: 16 kB / 0.5467 GB, free: 4.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.009292/0.5186, allocations: 7.991 MB / 0.5545 GB, free: 12.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.444e-05/0.5186, allocations: 28 kB / 0.5545 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-05/0.5187, allocations: 52.03 kB / 0.5545 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002368/0.5211, allocations: 1.194 MB / 0.5557 GB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002188/0.5233, allocations: 1.139 MB / 0.5568 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01047/0.5337, allocations: 10.72 MB / 0.5673 GB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002735/0.5365, allocations: 263.8 kB / 0.5675 GB, free: 15.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003091/0.5368, allocations: 236 kB / 0.5678 GB, free: 14.8 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * 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 (590): * Single equations (assignments): 588 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004146/0.5409, allocations: 2.959 MB / 0.5707 GB, free: 11.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007337/0.5417, allocations: 365.7 kB / 0.571 GB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007915/0.5496, allocations: 6.635 MB / 0.5775 GB, free: 4.789 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.734e-05/0.5496, allocations: 47.94 kB / 0.5775 GB, free: 4.742 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.5496, allocations: 12 kB / 0.5775 GB, free: 4.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.483e-05/0.5496, allocations: 19.92 kB / 0.5776 GB, free: 4.711 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0189/0.5685, allocations: 14.12 MB / 0.5914 GB, free: 6.535 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/0.5686, allocations: 4 kB / 0.5914 GB, free: 6.531 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001594/0.5701, allocations: 0.7528 MB / 0.5921 GB, free: 5.777 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001904/0.572, allocations: 1.086 MB / 0.5932 GB, free: 4.684 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002062/0.5723, allocations: 95.97 kB / 0.5932 GB, free: 4.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009614/0.5819, allocations: 9.678 MB / 0.6027 GB, free: 10.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/0.5819, allocations: 7.938 kB / 0.6027 GB, free: 10.69 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01217/0.594, allocations: 9.959 MB / 0.6124 GB, free: 0.5977 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001827/0.5959, allocations: 0.88 MB / 0.6133 GB, free: 15.71 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003131/0.5962, allocations: 84 kB / 0.6134 GB, free: 15.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/0.5972, allocations: 203.7 kB / 0.6136 GB, free: 15.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005827/0.5978, allocations: 319.1 kB / 0.6139 GB, free: 15.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001855/0.598, allocations: 132 kB / 0.614 GB, free: 14.99 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002323/0.6003, allocations: 1.943 MB / 0.6159 GB, free: 13.04 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6003, allocations: 0 / 0.6159 GB, free: 13.04 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003608/0.6039, allocations: 1.387 MB / 0.6172 GB, free: 11.66 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 (aimc.inertiaRotor.w,voltageSource.plug_p.reference.gamma,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 (398): * Single equations (assignments): 396 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.011/0.6149, allocations: 10.69 MB / 0.6277 GB, free: 0.832 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.1769/0.7918, allocations: 6.469 MB / 0.634 GB, free: 176.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/0.7918, allocations: 8.344 kB / 0.634 GB, free: 176.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004107/0.7959, allocations: 3.297 MB / 0.6372 GB, free: 174.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002785/0.7987, allocations: 0.8327 MB / 0.638 GB, free: 174.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05504/0.8538, allocations: 47.05 MB / 0.684 GB, free: 131.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003016/0.8568, allocations: 4.603 MB / 0.6885 GB, free: 127.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002714/0.8595, allocations: 1.618 MB / 0.6901 GB, free: 125.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002125/0.8616, allocations: 2.675 MB / 0.6927 GB, free: 123 MB / 490.7 MB Notification: Performance of SimCode: time 2.304e-06/0.8616, allocations: 3.938 kB / 0.6927 GB, free: 123 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1261/0.9877, allocations: 113.8 MB / 0.8038 GB, free: 9.914 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.682/10.67, allocations: 17.88 kB / 0.8039 GB, free: 9.898 MB / 490.7 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_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_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.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: 17.011318437755108]