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.001264/0.001264, allocations: 114 kB / 20.43 MB, free: 1.457 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.001389/0.001389, allocations: 213.1 kB / 23.74 MB, free: 4.672 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.527/1.527, allocations: 230.5 MB / 257.4 MB, free: 8 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.001892/0.001892, allocations: 59.89 kB / 377.8 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2791, allocations: 53.4 MB / 431.2 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02636/0.3054, allocations: 21.7 MB / 452.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01481/0.3202, allocations: 6.827 MB / 459.8 MB, free: 10 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004433/0.3247, allocations: 179.1 kB / 459.9 MB, free: 9.828 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.018/0.3427, allocations: 6.915 MB / 466.8 MB, free: 2.895 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01123/0.3539, allocations: 2.875 MB / 469.7 MB, free: 12 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005611/0.3595, allocations: 1.619 MB / 471.3 MB, free: 14.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01398/0.3735, allocations: 9.167 MB / 480.5 MB, free: 5.203 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02172/0.3952, allocations: 11.07 MB / 491.6 MB, free: 9.996 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008505/0.4037, allocations: 4.754 MB / 496.3 MB, free: 5.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009978/0.4137, allocations: 5.237 MB / 0.4898 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003679/0.4174, allocations: 1.363 MB / 0.4911 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005163/0.4225, allocations: 1.707 MB / 0.4928 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00406/0.4266, allocations: 2.619 MB / 0.4954 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008842/0.4354, allocations: 4.962 MB / 0.5002 GB, free: 5.301 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02476/0.4602, allocations: 18.26 MB / 0.518 GB, free: 2.988 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.4602, allocations: 0 / 0.518 GB, free: 2.988 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.4602, allocations: 0 / 0.518 GB, free: 2.988 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004752/0.4607, allocations: 0 / 0.518 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.03505/0.4957, allocations: 10.67 MB / 0.5285 GB, free: 8.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.4958, allocations: 8.031 kB / 0.5285 GB, free: 8.223 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004895/0.5007, allocations: 1.082 MB / 0.5295 GB, free: 7.129 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03511/0.5358, allocations: 5.907 MB / 0.5353 GB, free: 1.211 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2493/0.7851, allocations: 5.769 MB / 0.5409 GB, free: 85.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004522/0.7855, allocations: 0.5563 MB / 0.5415 GB, free: 85.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002889/0.7884, allocations: 0.7287 MB / 0.5422 GB, free: 85.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03329/0.8217, allocations: 12.89 MB / 0.5548 GB, free: 80.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004344/0.8222, allocations: 12.27 kB / 0.5548 GB, free: 80.09 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00281/0.825, allocations: 309.7 kB / 0.5551 GB, free: 79.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005597/0.8255, allocations: 496.1 kB / 0.5556 GB, free: 79.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02631/0.8518, allocations: 12.63 MB / 0.5679 GB, free: 69.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06961/0.9214, allocations: 40.54 MB / 0.6075 GB, free: 28.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01384/0.9353, allocations: 8.618 MB / 0.6159 GB, free: 21.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004801/0.9401, allocations: 2.918 MB / 0.6187 GB, free: 18.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005323/0.9406, allocations: 113.5 kB / 0.6188 GB, free: 18.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.78e-05/0.9407, allocations: 73.78 kB / 0.6189 GB, free: 18.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 7.935e-06/0.9407, allocations: 0 / 0.6189 GB, free: 18.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.03924/0.9799, allocations: 16.95 MB / 0.6355 GB, free: 1.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.98, allocations: 98.67 kB / 0.6356 GB, free: 1.391 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005845/0.9858, allocations: 2.836 MB / 0.6383 GB, free: 14.54 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008607/0.9867, allocations: 93.7 kB / 0.6384 GB, free: 14.44 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003097/0.9898, allocations: 3.14 MB / 0.6415 GB, free: 11.29 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002526/0.9923, allocations: 1.465 MB / 0.6429 GB, free: 9.848 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003574/0.9959, allocations: 0.9621 MB / 0.6439 GB, free: 8.875 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.996, allocations: 301.1 kB / 0.6441 GB, free: 8.578 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005576/1.002, allocations: 2.508 MB / 0.6466 GB, free: 6.062 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007112/1.009, allocations: 4.117 MB / 0.6506 GB, free: 1.223 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0128/1.022, allocations: 7.203 MB / 0.6577 GB, free: 9.301 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.565e-05/1.022, allocations: 16 kB / 0.6577 GB, free: 9.285 MB / 478.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.02009/1.042, allocations: 8.026 MB / 0.6655 GB, free: 1.23 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.71e-05/1.042, allocations: 30.03 kB / 0.6655 GB, free: 1.203 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001136/1.042, allocations: 51.94 kB / 0.6656 GB, free: 1.152 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00403/1.046, allocations: 1.228 MB / 0.6668 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004944/1.051, allocations: 1.143 MB / 0.6679 GB, free: 14.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01929/1.07, allocations: 11.04 MB / 0.6787 GB, free: 3.508 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004522/1.075, allocations: 259.7 kB / 0.6789 GB, free: 3.254 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001209/1.076, allocations: 236 kB / 0.6792 GB, free: 3.023 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.008817/1.085, allocations: 2.959 MB / 0.682 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001646/1.086, allocations: 369.8 kB / 0.6824 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01699/1.103, allocations: 6.663 MB / 0.6889 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-05/1.103, allocations: 40 kB / 0.6889 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.119e-05/1.103, allocations: 12 kB / 0.689 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.52e-05/1.104, allocations: 19.92 kB / 0.689 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03472/1.138, allocations: 14.88 MB / 0.7035 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.934e-05/1.138, allocations: 4 kB / 0.7035 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003421/1.142, allocations: 0.7567 MB / 0.7043 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003647/1.145, allocations: 1.132 MB / 0.7054 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007008/1.146, allocations: 95.97 kB / 0.7054 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01665/1.163, allocations: 9.958 MB / 0.7152 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/1.163, allocations: 4 kB / 0.7152 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02121/1.184, allocations: 10.01 MB / 0.725 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003534/1.187, allocations: 0.8957 MB / 0.7258 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001676/1.189, allocations: 91.89 kB / 0.7259 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003073/1.192, allocations: 195.8 kB / 0.7261 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00112/1.193, allocations: 319.1 kB / 0.7264 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007005/1.194, allocations: 127.9 kB / 0.7265 GB, free: 2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004531/1.199, allocations: 1.963 MB / 0.7284 GB, free: 32 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/1.199, allocations: 0 / 0.7284 GB, free: 32 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006594/1.205, allocations: 1.394 MB / 0.7298 GB, free: 14.63 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.02026/1.225, allocations: 10.72 MB / 0.7403 GB, free: 3.777 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2579/1.483, allocations: 6.491 MB / 0.7466 GB, free: 191.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/1.483, allocations: 4.375 kB / 0.7466 GB, free: 191.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006345/1.49, allocations: 3.328 MB / 0.7499 GB, free: 190.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004026/1.494, allocations: 0.8387 MB / 0.7507 GB, free: 190.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06925/1.563, allocations: 47.21 MB / 0.7968 GB, free: 154.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004464/1.567, allocations: 5.081 MB / 0.8017 GB, free: 149.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003932/1.571, allocations: 1.614 MB / 0.8033 GB, free: 147.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003641/1.575, allocations: 2.678 MB / 0.8059 GB, free: 145.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.192e-06/1.575, allocations: 0 / 0.8059 GB, free: 145.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1698/1.745, allocations: 116.3 MB / 0.9195 GB, free: 29.43 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.47/21.22, allocations: 11.92 kB / 0.9195 GB, free: 29.42 MB / 0.545 GB " [Timeout remaining time 639] (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/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] "" [Timeout remaining time 657] Reference file matches [Calling sys.exit(0), Time elapsed: 29.241403504041955]