Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008709/0.0008709, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008235/0.0008235, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9382/0.9382, allocations: 177 MB / 204.1 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_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_trunk_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 1.793e-06/1.793e-06, allocations: 0 / 324.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.786e-05/2.966e-05, allocations: 3.125 kB / 324.6 MB, free: 15.85 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02053/0.02056, allocations: 18.65 MB / 343.2 MB, free: 13.11 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01208/0.03264, allocations: 6.508 MB / 349.7 MB, free: 6.578 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005481/0.03812, allocations: 171.2 kB / 349.9 MB, free: 6.41 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01024/0.04836, allocations: 6.727 MB / 356.6 MB, free: 15.66 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008393/0.05675, allocations: 2.861 MB / 359.5 MB, free: 12.79 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003961/0.06071, allocations: 1.547 MB / 361 MB, free: 11.25 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01031/0.07103, allocations: 9.451 MB / 370.5 MB, free: 1.766 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01527/0.0863, allocations: 10.93 MB / 381.4 MB, free: 6.691 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.011/0.0973, allocations: 6.97 MB / 388.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008923/0.1062, allocations: 4.483 MB / 392.9 MB, free: 11.22 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004154/0.1104, allocations: 1.352 MB / 394.2 MB, free: 9.867 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005664/0.116, allocations: 1.687 MB / 395.9 MB, free: 8.18 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003867/0.1199, allocations: 2.665 MB / 398.6 MB, free: 5.508 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00631/0.1262, allocations: 3.318 MB / 401.9 MB, free: 2.184 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01656/0.1428, allocations: 18.56 MB / 420.4 MB, free: 15.58 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.1428, allocations: 0 / 420.4 MB, free: 15.58 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1428, allocations: 0 / 420.4 MB, free: 15.58 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004898/0.1433, allocations: 0 / 420.4 MB, free: 15.58 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.02704/0.1703, allocations: 10.58 MB / 431 MB, free: 4.918 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.126e-05/0.1704, allocations: 15.98 kB / 431 MB, free: 4.902 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0033/0.1737, allocations: 1.086 MB / 432.1 MB, free: 3.805 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01742/0.1911, allocations: 5.911 MB / 438 MB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01082/0.2019, allocations: 5.784 MB / 443.8 MB, free: 8.043 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004529/0.2024, allocations: 0.5501 MB / 444.4 MB, free: 7.492 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003361/0.2057, allocations: 0.742 MB / 445.1 MB, free: 6.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2128/0.4186, allocations: 13.02 MB / 458.1 MB, free: 98.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000183/0.4187, allocations: 13.81 kB / 458.1 MB, free: 98.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008013/0.4195, allocations: 311.5 kB / 458.4 MB, free: 98.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004639/0.42, allocations: 497 kB / 458.9 MB, free: 98.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01592/0.4359, allocations: 12.55 MB / 471.5 MB, free: 92.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04499/0.4809, allocations: 37.08 MB / 0.4966 GB, free: 55.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007626/0.4885, allocations: 8.532 MB / 0.505 GB, free: 48.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002463/0.491, allocations: 2.909 MB / 0.5078 GB, free: 45.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001937/0.4912, allocations: 95.12 kB / 0.5079 GB, free: 45.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.4912, allocations: 78.16 kB / 0.508 GB, free: 45.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=410): time 5.35e-06/0.4912, allocations: 0 / 0.508 GB, free: 45.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=415): time 0.02016/0.5114, allocations: 16.75 MB / 0.5243 GB, free: 28.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.5114, allocations: 94.67 kB / 0.5244 GB, free: 28.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002829/0.5143, allocations: 2.916 MB / 0.5273 GB, free: 25.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001585/0.5144, allocations: 97.7 kB / 0.5274 GB, free: 25.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008932/0.5153, allocations: 3.128 MB / 0.5304 GB, free: 22.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006128/0.5159, allocations: 1.446 MB / 0.5318 GB, free: 21.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008161/0.5168, allocations: 0.9504 MB / 0.5328 GB, free: 20.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.014e-05/0.5168, allocations: 309.1 kB / 0.5331 GB, free: 19.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00212/0.5189, allocations: 2.504 MB / 0.5355 GB, free: 17.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002694/0.5216, allocations: 4.13 MB / 0.5395 GB, free: 12.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005505/0.5271, allocations: 7.199 MB / 0.5466 GB, free: 4.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.756e-05/0.5271, allocations: 16 kB / 0.5466 GB, free: 4.664 MB / 410.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.008451/0.5356, allocations: 7.991 MB / 0.5544 GB, free: 12.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.758e-05/0.5356, allocations: 24 kB / 0.5544 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-05/0.5357, allocations: 52 kB / 0.5545 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002229/0.5379, allocations: 1.191 MB / 0.5556 GB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002074/0.54, allocations: 1.139 MB / 0.5567 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01003/0.55, allocations: 10.73 MB / 0.5672 GB, free: 15.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002181/0.5522, allocations: 255.7 kB / 0.5674 GB, free: 15.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000293/0.5525, allocations: 236.1 kB / 0.5677 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.003951/0.5564, allocations: 2.959 MB / 0.5706 GB, free: 11.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006024/0.5571, allocations: 365.7 kB / 0.5709 GB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007762/0.5648, allocations: 6.639 MB / 0.5774 GB, free: 4.785 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.396e-05/0.5648, allocations: 43.94 kB / 0.5774 GB, free: 4.742 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.668e-05/0.5649, allocations: 12 kB / 0.5774 GB, free: 4.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.34e-05/0.5649, allocations: 19.92 kB / 0.5775 GB, free: 4.711 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01963/0.5845, allocations: 14.12 MB / 0.5913 GB, free: 6.535 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/0.5845, allocations: 8.75 kB / 0.5913 GB, free: 6.527 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001622/0.5861, allocations: 0.7606 MB / 0.592 GB, free: 5.766 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001837/0.588, allocations: 1.081 MB / 0.5931 GB, free: 4.672 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000242/0.5882, allocations: 99.95 kB / 0.5932 GB, free: 4.574 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008831/0.597, allocations: 9.672 MB / 0.6026 GB, free: 10.69 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.5971, allocations: 4 kB / 0.6026 GB, free: 10.68 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01099/0.608, allocations: 9.955 MB / 0.6123 GB, free: 0.5977 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002142/0.6102, allocations: 0.8893 MB / 0.6132 GB, free: 15.71 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004002/0.6106, allocations: 84 kB / 0.6133 GB, free: 15.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.6117, allocations: 203.7 kB / 0.6135 GB, free: 15.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005577/0.6122, allocations: 315.2 kB / 0.6138 GB, free: 15.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001983/0.6124, allocations: 124 kB / 0.6139 GB, free: 15 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002664/0.6151, allocations: 1.947 MB / 0.6158 GB, free: 13.04 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6151, allocations: 0 / 0.6158 GB, free: 13.04 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003823/0.6189, allocations: 1.394 MB / 0.6172 GB, free: 11.65 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.01196/0.6309, allocations: 10.69 MB / 0.6276 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.1721/0.803, allocations: 6.472 MB / 0.6339 GB, free: 175.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/0.803, allocations: 3.875 kB / 0.6339 GB, free: 175.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003754/0.8067, allocations: 3.288 MB / 0.6371 GB, free: 174.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002539/0.8093, allocations: 0.8391 MB / 0.6379 GB, free: 174.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06362/0.8729, allocations: 47.06 MB / 0.6839 GB, free: 131.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003182/0.8761, allocations: 4.601 MB / 0.6884 GB, free: 127 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002761/0.8788, allocations: 1.618 MB / 0.69 GB, free: 125.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002088/0.8809, allocations: 2.683 MB / 0.6926 GB, free: 122.7 MB / 490.7 MB Notification: Performance of SimCode: time 1.763e-06/0.8809, allocations: 0 / 0.6926 GB, free: 122.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1139/0.9948, allocations: 113.8 MB / 0.8037 GB, free: 9.52 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.76, allocations: 4 kB / 0.8037 GB, free: 9.516 MB / 490.7 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 18.039744287729263]