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.001646/0.001646, allocations: 116.5 kB / 20.43 MB, free: 1.305 MB / 14.72 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.002156/0.002156, allocations: 206.6 kB / 23.74 MB, free: 4.539 MB / 14.72 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 1.49/1.49, allocations: 230.5 MB / 257.4 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001882/0.001882, allocations: 55.91 kB / 377.8 MB, free: 3.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2823, allocations: 53.4 MB / 431.2 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02523/0.3076, allocations: 21.7 MB / 452.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01406/0.3216, allocations: 6.835 MB / 459.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003667/0.3253, allocations: 171.2 kB / 459.9 MB, free: 9.844 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01687/0.3422, allocations: 6.926 MB / 466.9 MB, free: 2.902 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009792/0.352, allocations: 2.868 MB / 469.7 MB, free: 24 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004583/0.3566, allocations: 1.612 MB / 471.3 MB, free: 14.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01337/0.3699, allocations: 9.188 MB / 480.5 MB, free: 5.207 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01797/0.3879, allocations: 11.05 MB / 491.6 MB, free: 10.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006943/0.3948, allocations: 4.762 MB / 496.3 MB, free: 5.238 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008926/0.4038, allocations: 5.245 MB / 0.4898 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003147/0.4069, allocations: 1.359 MB / 0.4912 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004566/0.4115, allocations: 1.695 MB / 0.4928 GB, free: 12.92 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003354/0.4148, allocations: 2.623 MB / 0.4954 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007848/0.4227, allocations: 4.969 MB / 0.5002 GB, free: 5.305 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02378/0.4465, allocations: 18.26 MB / 0.518 GB, free: 2.992 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.4465, allocations: 0 / 0.518 GB, free: 2.992 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4465, allocations: 0 / 0.518 GB, free: 2.992 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004037/0.4469, allocations: 4 kB / 0.5181 GB, free: 2.988 MB / 430.1 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.03187/0.4787, allocations: 10.67 MB / 0.5285 GB, free: 8.242 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.4788, allocations: 8.031 kB / 0.5285 GB, free: 8.234 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003029/0.4818, allocations: 1.086 MB / 0.5295 GB, free: 7.137 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03602/0.5178, allocations: 5.899 MB / 0.5353 GB, free: 1.227 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.264/0.7818, allocations: 5.771 MB / 0.5409 GB, free: 85.85 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004443/0.7823, allocations: 0.5576 MB / 0.5415 GB, free: 85.6 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00296/0.7852, allocations: 0.7276 MB / 0.5422 GB, free: 85.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02687/0.8121, allocations: 12.89 MB / 0.5548 GB, free: 80.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002023/0.8123, allocations: 19.61 kB / 0.5548 GB, free: 80.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001447/0.8137, allocations: 308.7 kB / 0.5551 GB, free: 79.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004086/0.8141, allocations: 496.3 kB / 0.5556 GB, free: 79.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02373/0.8379, allocations: 12.62 MB / 0.5679 GB, free: 69.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06112/0.899, allocations: 40.54 MB / 0.6075 GB, free: 28.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01274/0.9117, allocations: 8.614 MB / 0.6159 GB, free: 21.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004201/0.9159, allocations: 2.922 MB / 0.6187 GB, free: 18.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004643/0.9164, allocations: 117.2 kB / 0.6189 GB, free: 18.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.537e-05/0.9165, allocations: 69.78 kB / 0.6189 GB, free: 18.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 5.841e-06/0.9165, allocations: 0 / 0.6189 GB, free: 18.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.03686/0.9533, allocations: 16.95 MB / 0.6355 GB, free: 1.523 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.9534, allocations: 98.67 kB / 0.6356 GB, free: 1.414 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004902/0.9583, allocations: 2.84 MB / 0.6383 GB, free: 14.56 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005543/0.9588, allocations: 93.7 kB / 0.6384 GB, free: 14.46 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002851/0.9617, allocations: 3.14 MB / 0.6415 GB, free: 11.31 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001947/0.9636, allocations: 1.466 MB / 0.6429 GB, free: 9.863 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002363/0.966, allocations: 0.9544 MB / 0.6439 GB, free: 8.898 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.9661, allocations: 305.1 kB / 0.6442 GB, free: 8.598 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004581/0.9707, allocations: 2.508 MB / 0.6466 GB, free: 6.082 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006003/0.9767, allocations: 4.113 MB / 0.6506 GB, free: 1.246 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01166/0.9884, allocations: 7.206 MB / 0.6577 GB, free: 9.32 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.612e-05/0.9884, allocations: 16 kB / 0.6577 GB, free: 9.305 MB / 478.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01741/1.006, allocations: 8.029 MB / 0.6655 GB, free: 1.25 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.775e-05/1.006, allocations: 24 kB / 0.6655 GB, free: 1.227 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001104/1.006, allocations: 55.94 kB / 0.6656 GB, free: 1.172 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003803/1.01, allocations: 1.228 MB / 0.6668 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004753/1.015, allocations: 1.139 MB / 0.6679 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01868/1.033, allocations: 11.04 MB / 0.6787 GB, free: 3.531 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004081/1.037, allocations: 259.7 kB / 0.6789 GB, free: 3.277 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001041/1.038, allocations: 240 kB / 0.6792 GB, free: 3.043 MB / 494.1 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.006382/1.045, allocations: 2.963 MB / 0.6821 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001429/1.046, allocations: 365.7 kB / 0.6824 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01523/1.061, allocations: 6.663 MB / 0.6889 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-05/1.061, allocations: 44 kB / 0.6889 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.62e-05/1.062, allocations: 8 kB / 0.689 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.94e-05/1.062, allocations: 19.92 kB / 0.689 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03337/1.095, allocations: 14.89 MB / 0.7035 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-05/1.095, allocations: 4 kB / 0.7035 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003382/1.098, allocations: 0.7489 MB / 0.7042 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00367/1.102, allocations: 1.132 MB / 0.7054 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006768/1.103, allocations: 95.97 kB / 0.7054 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01594/1.119, allocations: 9.962 MB / 0.7152 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/1.119, allocations: 7.938 kB / 0.7152 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0195/1.138, allocations: 10.02 MB / 0.725 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003099/1.141, allocations: 0.8917 MB / 0.7258 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001281/1.143, allocations: 83.98 kB / 0.7259 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002831/1.145, allocations: 207.7 kB / 0.7261 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000897/1.146, allocations: 315.1 kB / 0.7264 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004722/1.147, allocations: 124 kB / 0.7265 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00434/1.151, allocations: 1.963 MB / 0.7285 GB, free: 52 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/1.151, allocations: 0 / 0.7285 GB, free: 52 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00562/1.157, allocations: 1.395 MB / 0.7298 GB, free: 14.65 MB / 0.545 GB 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.01923/1.176, allocations: 10.73 MB / 0.7403 GB, free: 3.781 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2482/1.424, allocations: 6.483 MB / 0.7466 GB, free: 191.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/1.424, allocations: 1.094 kB / 0.7466 GB, free: 191.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005994/1.43, allocations: 3.32 MB / 0.7499 GB, free: 190.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003979/1.434, allocations: 0.8359 MB / 0.7507 GB, free: 190.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06659/1.501, allocations: 47.21 MB / 0.7968 GB, free: 154.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004197/1.505, allocations: 5.084 MB / 0.8017 GB, free: 149.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003668/1.509, allocations: 1.614 MB / 0.8033 GB, free: 148.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002982/1.512, allocations: 2.678 MB / 0.8059 GB, free: 145.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.784e-06/1.512, allocations: 0 / 0.8059 GB, free: 145.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1726/1.684, allocations: 116.3 MB / 0.9195 GB, free: 29.62 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.71/21.39, allocations: 15.98 kB / 0.9195 GB, free: 29.61 MB / 0.545 GB " [Timeout remaining time 638] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 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.csv","/var/lib/jenkins1/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/jenkins1/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] "Error: Could not read variable Time in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.csv. Warning: Get data of variable Time from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.csv failed! Error: Could not read variable aimc.wMechanical in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.csv. Warning: Get data of variable aimc.wMechanical from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.csv failed! Error: Could not read variable currentQuasiRMSSensor.I in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.csv. Warning: Get data of variable currentQuasiRMSSensor.I from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 24.53371583599801]