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.0013/0.0013, allocations: 124.8 kB / 17.79 MB, free: 5.266 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.001293/0.001293, allocations: 186.9 kB / 20.73 MB, free: 2.332 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.43/1.43, allocations: 225.6 MB / 249.1 MB, free: 3.617 MB / 190.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.001516/0.001516, allocations: 43.92 kB / 365.7 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1183, allocations: 52.13 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01594/0.1342, allocations: 12.89 MB / 430.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008189/0.1424, allocations: 4.255 MB / 434.9 MB, free: 11.38 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001551/0.144, allocations: 75.69 kB / 435 MB, free: 11.31 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002459/0.1464, allocations: 1.018 MB / 436 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003406/0.1498, allocations: 1.328 MB / 437.4 MB, free: 8.953 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001873/0.1517, allocations: 0.8339 MB / 438.2 MB, free: 8.117 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004605/0.1563, allocations: 3.899 MB / 442.1 MB, free: 4.207 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002829/0.1592, allocations: 2.241 MB / 444.3 MB, free: 1.891 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002516/0.1617, allocations: 1.85 MB / 446.2 MB, free: 36 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2174/0.3791, allocations: 2.083 MB / 448.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00108/0.3802, allocations: 0.4994 MB / 448.8 MB, free: 11.33 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00174/0.3819, allocations: 0.6961 MB / 449.5 MB, free: 11.33 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009418/0.3828, allocations: 1.109 MB / 450.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003052/0.3859, allocations: 2.075 MB / 452.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00982/0.3957, allocations: 6.617 MB / 459.3 MB, free: 9.992 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.3957, allocations: 0 / 459.3 MB, free: 9.992 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.3957, allocations: 5.469 kB / 459.3 MB, free: 9.992 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002417/0.396, allocations: 1.156 kB / 459.3 MB, free: 9.992 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.01567/0.4116, allocations: 4.386 MB / 463.7 MB, free: 8.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.4117, allocations: 13.36 kB / 463.7 MB, free: 8.176 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001053/0.4127, allocations: 450.9 kB / 464.1 MB, free: 7.922 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004612/0.4173, allocations: 0.8223 MB / 464.9 MB, free: 7.664 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005774/0.4231, allocations: 2.4 MB / 467.3 MB, free: 6.348 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001971/0.4233, allocations: 231.9 kB / 467.6 MB, free: 6.242 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007938/0.4241, allocations: 315.2 kB / 467.9 MB, free: 6.137 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007553/0.4317, allocations: 4.226 MB / 472.1 MB, free: 4.023 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.875e-05/0.4317, allocations: 5.391 kB / 472.1 MB, free: 4.02 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002882/0.432, allocations: 129.4 kB / 472.2 MB, free: 3.922 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001391/0.4322, allocations: 148.8 kB / 472.4 MB, free: 3.898 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005853/0.438, allocations: 3.608 MB / 476 MB, free: 1.973 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02108/0.4591, allocations: 13.04 MB / 489 MB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006871/0.466, allocations: 6.759 MB / 495.8 MB, free: 1.953 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001976/0.4679, allocations: 1.232 MB / 497 MB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007047/0.475, allocations: 3.738 MB / 0.489 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.475, allocations: 43.56 kB / 0.4891 GB, free: 14.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=120): time 2.455e-06/0.475, allocations: 0 / 0.4891 GB, free: 14.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=123): time 0.01147/0.4865, allocations: 5.427 MB / 0.4944 GB, free: 8.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.087e-05/0.4865, allocations: 64.41 kB / 0.4944 GB, free: 8.836 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003863/0.4904, allocations: 1.701 MB / 0.4961 GB, free: 7.129 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001151/0.4905, allocations: 45.7 kB / 0.4961 GB, free: 7.078 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001348/0.4919, allocations: 1.445 MB / 0.4975 GB, free: 5.625 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004665/0.4923, allocations: 455.2 kB / 0.498 GB, free: 5.188 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005497/0.4929, allocations: 287.5 kB / 0.4982 GB, free: 4.902 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.493, allocations: 305.1 kB / 0.4985 GB, free: 4.602 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/0.4943, allocations: 0.6403 MB / 0.4992 GB, free: 3.961 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001592/0.4958, allocations: 1.112 MB / 0.5002 GB, free: 2.648 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002933/0.4988, allocations: 1.876 MB / 0.5021 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.672e-05/0.4988, allocations: 4 kB / 0.5021 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004381/0.5032, allocations: 2.324 MB / 0.5043 GB, free: 14.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.768e-05/0.5032, allocations: 15.94 kB / 0.5044 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.33e-05/0.5032, allocations: 12 kB / 0.5044 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007755/0.504, allocations: 284.6 kB / 0.5046 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/0.5053, allocations: 349.5 kB / 0.505 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006712/0.5121, allocations: 6.185 MB / 0.511 GB, free: 7.168 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/0.5137, allocations: 76.98 kB / 0.5111 GB, free: 7.094 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002195/0.5139, allocations: 72.09 kB / 0.5112 GB, free: 7.023 MB / 414.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.002206/0.5161, allocations: 0.9994 MB / 0.5121 GB, free: 6.039 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005376/0.5167, allocations: 186.8 kB / 0.5123 GB, free: 5.855 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004492/0.5211, allocations: 2.115 MB / 0.5144 GB, free: 3.707 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/0.5212, allocations: 15.94 kB / 0.5144 GB, free: 3.691 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.71e-05/0.5212, allocations: 4 kB / 0.5144 GB, free: 3.688 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.387e-05/0.5212, allocations: 7.969 kB / 0.5144 GB, free: 3.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/0.532, allocations: 4.815 MB / 0.5191 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.532, allocations: 0 / 0.5191 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007978/0.5328, allocations: 166.5 kB / 0.5193 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001254/0.534, allocations: 454.8 kB / 0.5197 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.5341, allocations: 35.98 kB / 0.5197 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01195/0.5461, allocations: 11.04 MB / 0.5305 GB, free: 2.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.5461, allocations: 8.125 kB / 0.5305 GB, free: 2.473 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005679/0.5518, allocations: 2.995 MB / 0.5334 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/0.553, allocations: 416 kB / 0.5338 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006212/0.5536, allocations: 32 kB / 0.5339 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/0.5549, allocations: 75.81 kB / 0.5339 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002983/0.5552, allocations: 96.36 kB / 0.534 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/0.5553, allocations: 39.98 kB / 0.5341 GB, free: 14.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00249/0.5578, allocations: 1.166 MB / 0.5352 GB, free: 13.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5578, allocations: 0 / 0.5352 GB, free: 13.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002687/0.5605, allocations: 0.5429 MB / 0.5357 GB, free: 13.06 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.005967/0.5664, allocations: 3.605 MB / 0.5393 GB, free: 9.398 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003789/0.5702, allocations: 2.026 MB / 0.5412 GB, free: 7.367 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.5702, allocations: 0 / 0.5412 GB, free: 7.367 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002633/0.5728, allocations: 1.472 MB / 0.5427 GB, free: 5.852 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002875/0.5757, allocations: 0.5083 MB / 0.5432 GB, free: 5.352 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0381/0.6138, allocations: 19.06 MB / 0.5618 GB, free: 1.699 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003842/0.6177, allocations: 2.273 MB / 0.564 GB, free: 15.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001633/0.6193, allocations: 387.7 kB / 0.5644 GB, free: 15.02 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001945/0.6212, allocations: 1.105 MB / 0.5655 GB, free: 13.91 MB / 478.1 MB Notification: Performance of SimCode: time 1.383e-06/0.6212, allocations: 3.562 kB / 0.5655 GB, free: 13.91 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1174/0.7386, allocations: 50.72 MB / 0.615 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/14.63, allocations: 11.08 kB / 0.615 GB, free: 11.72 MB / 0.5137 GB " [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_2/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_2/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: 20.79410229390487]