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.001068/0.001068, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00142/0.002488, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001051/0.001051, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001304/0.002355, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.001/1.001, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09007/1.092, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.wMechanical|currentQuasiRMSSensor.I",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.wMechanical|currentQuasiRMSSensor.I",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.588e-05/1.742e-05, allocations: 6.25 kB / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01584/0.01586, allocations: 20.51 MB / 265.5 MB, free: 9.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01372/0.02958, allocations: 7.023 MB / 272.6 MB, free: 1.973 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004196/0.03378, allocations: 175.1 kB / 272.7 MB, free: 1.801 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1365/0.1702, allocations: 7.213 MB / 280 MB, free: 1.609 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008504/0.1788, allocations: 2.853 MB / 282.8 MB, free: 1.266 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003606/0.1824, allocations: 1.564 MB / 284.4 MB, free: 1.227 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01129/0.1936, allocations: 9.51 MB / 293.9 MB, free: 14.21 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01412/0.2078, allocations: 10.99 MB / 304.9 MB, free: 8.324 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01319/0.221, allocations: 7.294 MB / 312.2 MB, free: 1.293 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008313/0.2293, allocations: 5.132 MB / 317.3 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002942/0.2322, allocations: 1.352 MB / 318.6 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004812/0.237, allocations: 1.7 MB / 320.3 MB, free: 9.422 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001995/0.239, allocations: 2.168 MB / 322.5 MB, free: 7.258 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004633/0.2437, allocations: 2.82 MB / 325.3 MB, free: 4.434 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01052/0.2542, allocations: 8.031 MB / 333.4 MB, free: 12.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.061e-05/0.2542, allocations: 0 / 333.4 MB, free: 12.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.697e-06/0.2542, allocations: 0 / 333.4 MB, free: 12.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004238/0.2546, allocations: 0 / 333.4 MB, free: 12.72 MB / 314.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.01667/0.2713, allocations: 11.39 MB / 344.8 MB, free: 1.766 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.2713, allocations: 12.62 kB / 344.8 MB, free: 1.754 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01633/0.2876, allocations: 5.88 MB / 350.6 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007247/0.2949, allocations: 2.977 MB / 353.6 MB, free: 9.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003714/0.2953, allocations: 0.5481 MB / 354.2 MB, free: 8.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002118/0.2974, allocations: 0.741 MB / 354.9 MB, free: 8.004 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01158/0.309, allocations: 6.306 MB / 361.2 MB, free: 1.957 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000142/0.3091, allocations: 15.42 kB / 361.2 MB, free: 1.945 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006333/0.3097, allocations: 306.5 kB / 361.5 MB, free: 1.656 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003388/0.3101, allocations: 0.4883 MB / 362 MB, free: 1.164 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005725/0.3158, allocations: 3.346 MB / 365.4 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03322/0.349, allocations: 24.75 MB / 390.1 MB, free: 5.719 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005579/0.3546, allocations: 5.013 MB / 395.1 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001249/0.3558, allocations: 1.012 MB / 396.1 MB, free: 15.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002181/0.3561, allocations: 123.1 kB / 396.3 MB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/0.3561, allocations: 81.66 kB / 396.3 MB, free: 15.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=410): time 6.001e-06/0.3561, allocations: 0 / 396.3 MB, free: 15.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=415): time 0.01449/0.3706, allocations: 7.592 MB / 403.9 MB, free: 8.078 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.3707, allocations: 94.67 kB / 404 MB, free: 7.973 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001831/0.3725, allocations: 1.812 MB / 405.8 MB, free: 6.496 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001953/0.3727, allocations: 89.7 kB / 405.9 MB, free: 6.402 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001263/0.3739, allocations: 2.867 MB / 408.8 MB, free: 3.625 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009702/0.3749, allocations: 1.454 MB / 410.2 MB, free: 2.254 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009696/0.3759, allocations: 0.8856 MB / 411.1 MB, free: 1.457 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.815e-05/0.376, allocations: 301.1 kB / 411.4 MB, free: 1.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009647/0.3769, allocations: 0.6796 MB / 412.1 MB, free: 488 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/0.3784, allocations: 2.163 MB / 414.3 MB, free: 13.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003092/0.3815, allocations: 3.349 MB / 417.6 MB, free: 9.973 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.675e-05/0.3816, allocations: 15.94 kB / 417.6 MB, free: 9.957 MB / 394.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.004568/0.3861, allocations: 3.406 MB / 421 MB, free: 6.895 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.3862, allocations: 24 kB / 421.1 MB, free: 6.871 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.343e-05/0.3862, allocations: 52 kB / 421.1 MB, free: 6.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001986/0.3882, allocations: 1.033 MB / 422.1 MB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002319/0.3905, allocations: 1.181 MB / 423.3 MB, free: 4.688 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1481/0.5386, allocations: 5.638 MB / 429 MB, free: 96.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002723/0.5414, allocations: 174 kB / 429.1 MB, free: 96.67 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005034/0.5419, allocations: 185 kB / 429.3 MB, free: 96.67 MB / 394.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.001948/0.5438, allocations: 440.1 kB / 429.7 MB, free: 96.55 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000781/0.5446, allocations: 336.9 kB / 430.1 MB, free: 96.55 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005019/0.5496, allocations: 2.786 MB / 432.9 MB, free: 96.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-05/0.5496, allocations: 41.47 kB / 432.9 MB, free: 96.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.937e-05/0.5497, allocations: 18.78 kB / 432.9 MB, free: 96.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.463e-05/0.5497, allocations: 23.58 kB / 432.9 MB, free: 96.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01214/0.5618, allocations: 7.414 MB / 440.4 MB, free: 95.65 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.5618, allocations: 10.52 kB / 440.4 MB, free: 95.65 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001614/0.5635, allocations: 0.7578 MB / 441.1 MB, free: 95.65 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001347/0.5648, allocations: 483.5 kB / 441.6 MB, free: 95.65 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001757/0.5666, allocations: 0.9304 MB / 442.5 MB, free: 95.62 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001778/0.5667, allocations: 94.84 kB / 442.6 MB, free: 95.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004644/0.5714, allocations: 5.291 MB / 447.9 MB, free: 93.19 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.817e-06/0.5714, allocations: 9.438 kB / 447.9 MB, free: 93.19 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004706/0.5761, allocations: 3.511 MB / 451.4 MB, free: 92.55 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005228/0.5766, allocations: 79.88 kB / 451.5 MB, free: 92.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009519/0.5776, allocations: 109.5 kB / 451.6 MB, free: 92.55 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004216/0.578, allocations: 310.5 kB / 451.9 MB, free: 92.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001758/0.5782, allocations: 87.33 kB / 452 MB, free: 92.55 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009797/0.5791, allocations: 0.8513 MB / 452.9 MB, free: 92.46 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5791, allocations: 0 / 452.9 MB, free: 92.46 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003074/0.5822, allocations: 1.38 MB / 454.2 MB, free: 92.46 MB / 394.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.0004411/0.5827, allocations: 257.3 kB / 454.5 MB, free: 92.39 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003813/0.5865, allocations: 3.065 MB / 457.5 MB, free: 91.94 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001276/0.5866, allocations: 76.64 kB / 457.6 MB, free: 91.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002384/0.589, allocations: 1.823 MB / 459.4 MB, free: 91.55 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002552/0.5915, allocations: 1.038 MB / 460.5 MB, free: 91.49 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04946/0.641, allocations: 11.81 MB / 472.3 MB, free: 86.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002081/0.6431, allocations: 1.547 MB / 473.8 MB, free: 85.47 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002059/0.6451, allocations: 0.5866 MB / 474.4 MB, free: 85.01 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001386/0.6465, allocations: 0.7851 MB / 475.2 MB, free: 84.3 MB / 394.7 MB Notification: Performance of SimCode: time 1.803e-06/0.6465, allocations: 0.875 kB / 475.2 MB, free: 84.3 MB / 394.7 MB Notification: Performance of Templates: time 0.074/0.7205, allocations: 62.05 MB / 0.5247 GB, free: 24.66 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.45427321922034]