Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002028/0.002028, allocations: 119.6 kB / 20.44 MB, free: 1.301 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002407/0.002407, allocations: 214.5 kB / 23.74 MB, free: 4.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.517/1.517, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 55.92 kB / 378.3 MB, free: 2.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2307, allocations: 53.35 MB / 431.7 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02926/0.2599, allocations: 24.97 MB / 456.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01567/0.2756, allocations: 7.481 MB / 464.1 MB, free: 6.359 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004245/0.2798, allocations: 218.9 kB / 464.3 MB, free: 6.145 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02087/0.3007, allocations: 8.926 MB / 473.2 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009689/0.3104, allocations: 3.039 MB / 476.3 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004936/0.3153, allocations: 1.775 MB / 478.1 MB, free: 8.379 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01662/0.332, allocations: 10.95 MB / 489 MB, free: 13.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02922/0.3612, allocations: 14.36 MB / 0.4916 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009906/0.3711, allocations: 5.876 MB / 0.4973 GB, free: 9.004 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01111/0.3822, allocations: 6.366 MB / 0.5035 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004211/0.3864, allocations: 1.672 MB / 0.5052 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006349/0.3928, allocations: 2.062 MB / 0.5072 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005996/0.3987, allocations: 3.16 MB / 0.5103 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01118/0.4099, allocations: 6.094 MB / 0.5162 GB, free: 5.598 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5088/0.9187, allocations: 22.4 MB / 0.5381 GB, free: 39.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.9187, allocations: 0.6875 kB / 0.5381 GB, free: 39.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.9187, allocations: 0 / 0.5381 GB, free: 39.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007213/0.9194, allocations: 0.7031 kB / 0.5381 GB, free: 39.79 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.04374/0.9632, allocations: 12.88 MB / 0.5507 GB, free: 36.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.9632, allocations: 9.688 kB / 0.5507 GB, free: 36.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03537/0.9986, allocations: 6.179 MB / 0.5567 GB, free: 35.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01925/1.018, allocations: 7.018 MB / 0.5636 GB, free: 34.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000861/1.019, allocations: 0.697 MB / 0.5642 GB, free: 34.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004782/1.023, allocations: 0.9255 MB / 0.5652 GB, free: 34.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04073/1.064, allocations: 15.78 MB / 0.5806 GB, free: 24.08 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005363/1.065, allocations: 19.89 kB / 0.5806 GB, free: 24.06 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004453/1.069, allocations: 385.9 kB / 0.581 GB, free: 23.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000527/1.07, allocations: 0.5508 MB / 0.5815 GB, free: 23.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03142/1.101, allocations: 14.8 MB / 0.5959 GB, free: 8.312 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1072/1.208, allocations: 49.9 MB / 0.6447 GB, free: 6.277 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02271/1.231, allocations: 9.304 MB / 0.6538 GB, free: 14.1 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006187/1.237, allocations: 2.938 MB / 0.6566 GB, free: 11.16 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005685/1.238, allocations: 125.2 kB / 0.6568 GB, free: 11.07 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.46e-05/1.238, allocations: 77.62 kB / 0.6568 GB, free: 10.98 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=398): time 8.756e-06/1.238, allocations: 0 / 0.6568 GB, free: 10.98 MB / 0.4982 GB Notification: Performance of matching and sorting (n=404): time 0.04611/1.284, allocations: 17.27 MB / 0.6737 GB, free: 9.73 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.932e-05/1.284, allocations: 94.52 kB / 0.6738 GB, free: 9.625 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007541/1.292, allocations: 3.693 MB / 0.6774 GB, free: 5.934 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0007836/1.292, allocations: 89.7 kB / 0.6775 GB, free: 5.84 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003759/1.296, allocations: 4.135 MB / 0.6815 GB, free: 1.695 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002103/1.298, allocations: 1.438 MB / 0.6829 GB, free: 280 kB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002659/1.301, allocations: 1.159 MB / 0.6841 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001312/1.301, allocations: 305.1 kB / 0.6843 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004577/1.306, allocations: 2.799 MB / 0.6871 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006402/1.312, allocations: 4.966 MB / 0.6919 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01296/1.325, allocations: 8.324 MB / 0.7001 GB, free: 13.05 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.137e-05/1.325, allocations: 20 kB / 0.7001 GB, free: 13.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01952/1.345, allocations: 9.1 MB / 0.709 GB, free: 4.363 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000102/1.345, allocations: 38.62 kB / 0.709 GB, free: 4.328 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001522/1.345, allocations: 72 kB / 0.7091 GB, free: 4.258 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003863/1.349, allocations: 1.236 MB / 0.7103 GB, free: 3.023 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005371/1.354, allocations: 1.317 MB / 0.7116 GB, free: 1.797 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01757/1.372, allocations: 9.812 MB / 0.7211 GB, free: 7.922 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00433/1.376, allocations: 335.5 kB / 0.7215 GB, free: 7.594 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009352/1.377, allocations: 288 kB / 0.7217 GB, free: 7.312 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006896/1.384, allocations: 3.709 MB / 0.7254 GB, free: 3.684 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001027/1.385, allocations: 417.3 kB / 0.7258 GB, free: 3.273 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01261/1.397, allocations: 6.66 MB / 0.7323 GB, free: 12.62 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01006/1.408, allocations: 5.586 MB / 0.7377 GB, free: 7.043 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.865e-05/1.408, allocations: 8 kB / 0.7377 GB, free: 7.035 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.606e-05/1.408, allocations: 19.92 kB / 0.7377 GB, free: 7.016 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03042/1.438, allocations: 15.78 MB / 0.7532 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-05/1.438, allocations: 4 kB / 0.7532 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003043/1.441, allocations: 0.7218 MB / 0.7539 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003276/1.444, allocations: 1.119 MB / 0.755 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002798/1.445, allocations: 95.97 kB / 0.755 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2243/1.669, allocations: 8.756 MB / 0.7636 GB, free: 223.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/1.669, allocations: 10.88 kB / 0.7636 GB, free: 223.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01274/1.682, allocations: 9.86 MB / 0.7732 GB, free: 220.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002254/1.684, allocations: 0.9194 MB / 0.7741 GB, free: 220.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005411/1.685, allocations: 87.41 kB / 0.7742 GB, free: 220.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001792/1.686, allocations: 192.8 kB / 0.7744 GB, free: 220.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005214/1.687, allocations: 303 kB / 0.7747 GB, free: 220.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002095/1.687, allocations: 125 kB / 0.7748 GB, free: 220.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002753/1.69, allocations: 2.495 MB / 0.7772 GB, free: 219.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/1.69, allocations: 0 / 0.7772 GB, free: 219.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00451/1.694, allocations: 1.615 MB / 0.7788 GB, free: 219.3 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.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 (389): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005163/1.695, allocations: 278 kB / 0.7791 GB, free: 219.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009093/1.704, allocations: 6.875 MB / 0.7858 GB, free: 216.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.704, allocations: 0 / 0.7858 GB, free: 216.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004718/1.709, allocations: 3.174 MB / 0.7889 GB, free: 215.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004731/1.713, allocations: 0.9748 MB / 0.7899 GB, free: 214.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02644/1.74, allocations: 16.72 MB / 0.8062 GB, free: 202 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008107/1.748, allocations: 6.192 MB / 0.8122 GB, free: 197.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005041/1.753, allocations: 1.913 MB / 0.8141 GB, free: 195.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001433/1.754, allocations: 369.1 kB / 0.8144 GB, free: 195.6 MB / 0.5919 GB Notification: Performance of SimCode: time 1.112e-06/1.754, allocations: 0 / 0.8144 GB, free: 195.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.1615/1.916, allocations: 72.14 MB / 0.8849 GB, free: 124.3 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_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_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.537996804108843]