Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.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.00132/0.00132, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001245/0.001245, allocations: 160.9 kB / 24.91 MB, free: 8.719 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.9205/0.9205, allocations: 177 MB / 205.2 MB, free: 5.035 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: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|resistor_e.i.[0-9,]+.|resistor_s.i.[0-9,]+.|resistor_m.i.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|resistor_e.i.[0-9,]+.|resistor_s.i.[0-9,]+.|resistor_m.i.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 273.4 MB, free: 1.008 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.396e-05/1.528e-05, allocations: 5.266 kB / 273.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.0124/0.01241, allocations: 6.418 MB / 279.9 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006586/0.019, allocations: 2.311 MB / 282.2 MB, free: 8.227 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003432/0.02243, allocations: 51.69 kB / 282.2 MB, free: 8.176 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006922/0.02312, allocations: 401.2 kB / 282.6 MB, free: 7.781 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001539/0.02466, allocations: 0.8776 MB / 283.5 MB, free: 6.898 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005632/0.02522, allocations: 351.2 kB / 283.8 MB, free: 6.555 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005822/0.03105, allocations: 3.334 MB / 287.2 MB, free: 3.211 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00365/0.03469, allocations: 1.113 MB / 288.3 MB, free: 2.031 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1229/0.1576, allocations: 2.208 MB / 290.5 MB, free: 16.19 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002681/0.1603, allocations: 1.743 MB / 292.2 MB, free: 16.19 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007526/0.161, allocations: 292.3 kB / 292.5 MB, free: 16.19 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008765/0.1619, allocations: 423 kB / 292.9 MB, free: 16.19 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006716/0.1626, allocations: 0.8953 MB / 293.8 MB, free: 16.19 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001302/0.1639, allocations: 1.018 MB / 294.8 MB, free: 16.19 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002844/0.1667, allocations: 2.567 MB / 297.4 MB, free: 15.97 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1667, allocations: 5.219 kB / 297.4 MB, free: 15.97 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1667, allocations: 2.312 kB / 297.4 MB, free: 15.97 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.514e-05/0.1668, allocations: 0.8438 kB / 297.4 MB, free: 15.97 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 591 * Number of variables: 591 Notification: Performance of Generate backend data structure: time 0.005171/0.172, allocations: 3.156 MB / 300.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.172, allocations: 11.27 kB / 300.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00292/0.1749, allocations: 0.8561 MB / 301.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/0.1764, allocations: 0.9819 MB / 302.4 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.1765, allocations: 181.7 kB / 302.6 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002961/0.1768, allocations: 229.6 kB / 302.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002145/0.1789, allocations: 1.945 MB / 304.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.936e-05/0.179, allocations: 0 / 304.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000183/0.1791, allocations: 95.22 kB / 304.9 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.388e-05/0.1792, allocations: 78.73 kB / 304.9 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.1803, allocations: 0.5559 MB / 305.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006347/0.1866, allocations: 5.804 MB / 311.3 MB, free: 9.844 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/0.1881, allocations: 0.957 MB / 312.2 MB, free: 9.262 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002869/0.1884, allocations: 238.4 kB / 312.5 MB, free: 9.039 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001738/0.1901, allocations: 1.474 MB / 314 MB, free: 7.598 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.1902, allocations: 42.89 kB / 314 MB, free: 7.547 MB / 266.7 MB Notification: Performance of pre-optimization done (n=92): time 2.084e-06/0.1902, allocations: 0 / 314 MB, free: 7.547 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.002712/0.1929, allocations: 1.56 MB / 315.6 MB, free: 6 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.1929, allocations: 111.3 kB / 315.7 MB, free: 5.867 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007405/0.1936, allocations: 1.011 MB / 316.7 MB, free: 5.023 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.045e-05/0.1937, allocations: 45.7 kB / 316.7 MB, free: 4.973 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002786/0.194, allocations: 0.9538 MB / 317.7 MB, free: 4.066 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.1941, allocations: 371.5 kB / 318 MB, free: 3.727 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002411/0.1944, allocations: 219.9 kB / 318.3 MB, free: 3.531 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.432e-05/0.1944, allocations: 363.4 kB / 318.6 MB, free: 3.199 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.1946, allocations: 114.1 kB / 318.7 MB, free: 3.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002985/0.1949, allocations: 496.4 kB / 319.2 MB, free: 2.477 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006226/0.1955, allocations: 0.7495 MB / 320 MB, free: 1.645 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.1955, allocations: 4 kB / 320 MB, free: 1.641 MB / 266.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.0009585/0.1965, allocations: 0.7471 MB / 320.7 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.1965, allocations: 8 kB / 320.7 MB, free: 0.957 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.1965, allocations: 13.19 kB / 320.7 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002076/0.1967, allocations: 108 kB / 320.8 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009243/0.1976, allocations: 390.6 kB / 321.2 MB, free: 496 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001511/0.1992, allocations: 2.631 MB / 323.8 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005065/0.1997, allocations: 75.78 kB / 323.9 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.769e-05/0.1997, allocations: 43.98 kB / 324 MB, free: 13.58 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (155): * Single equations (assignments): 153 * 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,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003495/0.2001, allocations: 194.7 kB / 324.2 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002068/0.2003, allocations: 121.6 kB / 324.3 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009425/0.2012, allocations: 0.6221 MB / 324.9 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.2012, allocations: 8 kB / 324.9 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.2012, allocations: 4 kB / 324.9 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.2013, allocations: 3.984 kB / 324.9 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/0.2029, allocations: 1.155 MB / 326.1 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.2029, allocations: 0 / 326.1 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007391/0.2036, allocations: 222.1 kB / 326.3 MB, free: 11.4 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004456/0.2041, allocations: 208.2 kB / 326.5 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.8e-05/0.2041, allocations: 27.98 kB / 326.5 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003292/0.2074, allocations: 4.691 MB / 331.2 MB, free: 6.262 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2074, allocations: 0 / 331.2 MB, free: 6.262 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.2084, allocations: 1.012 MB / 332.2 MB, free: 5.242 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.2086, allocations: 142.9 kB / 332.4 MB, free: 5.102 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.2087, allocations: 35.97 kB / 332.4 MB, free: 5.066 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003524/0.209, allocations: 55.95 kB / 332.4 MB, free: 5.012 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.2092, allocations: 82.64 kB / 332.5 MB, free: 4.934 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-05/0.2092, allocations: 23.98 kB / 332.5 MB, free: 4.91 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003716/0.2096, allocations: 0.5004 MB / 333 MB, free: 4.461 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2096, allocations: 3.656 kB / 333.1 MB, free: 4.461 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007743/0.2104, allocations: 451.9 kB / 333.5 MB, free: 4.02 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im,converter_s[1].Phi.re,converter_s[2].Phi.im,converter_s[3].Phi.im) * 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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,16,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002062/0.2106, allocations: 149.4 kB / 333.6 MB, free: 3.879 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007722/0.2113, allocations: 0.7789 MB / 334.4 MB, free: 3.137 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.026e-05/0.2114, allocations: 16.5 kB / 334.4 MB, free: 3.117 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005838/0.2119, allocations: 0.7373 MB / 335.2 MB, free: 2.371 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00075/0.2127, allocations: 270.2 kB / 335.4 MB, free: 2.113 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004338/0.217, allocations: 3.662 MB / 339.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006553/0.2177, allocations: 0.6005 MB / 339.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0006764/0.2184, allocations: 199.6 kB / 339.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005547/0.2189, allocations: 341.1 kB / 340.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of SimCode: time 8.01e-07/0.2189, allocations: 0 / 340.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of Templates: time 0.03407/0.253, allocations: 20.79 MB / 361 MB, free: 8.852 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.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: 3.2032894948497415]