Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.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.0009272/0.0009272, allocations: 80.8 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001667/0.001667, allocations: 168.7 kB / 24.91 MB, free: 9.145 MB / 18.57 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 0.9685/0.9685, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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.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_4.1.0_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_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 273.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.01e-05/2.165e-05, allocations: 2.312 kB / 273.5 MB, free: 1.258 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.005789/0.00581, allocations: 6.403 MB / 279.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003874/0.009684, allocations: 2.308 MB / 282.2 MB, free: 8.504 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007087/0.01039, allocations: 55.62 kB / 282.3 MB, free: 8.449 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007199/0.01111, allocations: 397.2 kB / 282.6 MB, free: 8.059 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001827/0.01294, allocations: 0.8659 MB / 283.5 MB, free: 7.188 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006754/0.01362, allocations: 371.1 kB / 283.9 MB, free: 6.824 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002978/0.01659, allocations: 3.307 MB / 287.2 MB, free: 3.504 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.01779, allocations: 1.109 MB / 288.3 MB, free: 2.328 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002468/0.02025, allocations: 2.211 MB / 290.5 MB, free: 116 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1178/0.138, allocations: 1.736 MB / 292.2 MB, free: 17.15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00107/0.1391, allocations: 292.7 kB / 292.5 MB, free: 17.15 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001171/0.1403, allocations: 421.3 kB / 292.9 MB, free: 17.15 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006907/0.1409, allocations: 0.8952 MB / 293.8 MB, free: 17.15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002007/0.1429, allocations: 1.01 MB / 294.8 MB, free: 17.15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003302/0.1463, allocations: 2.564 MB / 297.4 MB, free: 16.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1463, allocations: 1.281 kB / 297.4 MB, free: 16.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1463, allocations: 2.562 kB / 297.4 MB, free: 16.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001286/0.1464, allocations: 0 / 297.4 MB, free: 16.93 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: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.006098/0.1525, allocations: 3.16 MB / 300.6 MB, free: 15.49 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.1525, allocations: 9.156 kB / 300.6 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002394/0.1549, allocations: 0.8564 MB / 301.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002008/0.1569, allocations: 0.9872 MB / 302.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.285e-05/0.157, allocations: 170.3 kB / 302.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000259/0.1573, allocations: 233.3 kB / 302.8 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002321/0.1596, allocations: 1.934 MB / 304.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.42e-05/0.1596, allocations: 0 / 304.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/0.1598, allocations: 94.09 kB / 304.8 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-05/0.1598, allocations: 72.86 kB / 304.9 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000914/0.1607, allocations: 0.5522 MB / 305.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007008/0.1677, allocations: 5.795 MB / 311.3 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/0.1691, allocations: 0.9583 MB / 312.2 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002307/0.1693, allocations: 240.5 kB / 312.4 MB, free: 9.969 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001915/0.1713, allocations: 1.453 MB / 313.9 MB, free: 8.547 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.1713, allocations: 52.69 kB / 314 MB, free: 8.488 MB / 266.7 MB Notification: Performance of pre-optimization done (n=92): time 2.354e-06/0.1713, allocations: 2.844 kB / 314 MB, free: 8.488 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.002632/0.1739, allocations: 1.557 MB / 315.5 MB, free: 6.938 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/0.1739, allocations: 114.9 kB / 315.6 MB, free: 6.805 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007276/0.1747, allocations: 1.007 MB / 316.6 MB, free: 5.965 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.596e-05/0.1747, allocations: 41.7 kB / 316.7 MB, free: 5.918 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/0.1749, allocations: 0.9534 MB / 317.6 MB, free: 5.012 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.1751, allocations: 362 kB / 318 MB, free: 4.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/0.1753, allocations: 226.3 kB / 318.2 MB, free: 4.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.528e-05/0.1753, allocations: 358.9 kB / 318.6 MB, free: 4.148 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.1755, allocations: 110.6 kB / 318.7 MB, free: 4.039 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.1757, allocations: 0.4951 MB / 319.2 MB, free: 3.422 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005256/0.1762, allocations: 0.7537 MB / 319.9 MB, free: 2.594 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.1762, allocations: 4 kB / 319.9 MB, free: 2.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.0008276/0.1771, allocations: 0.7541 MB / 320.7 MB, free: 1.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.1771, allocations: 8.875 kB / 320.7 MB, free: 1.902 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.1771, allocations: 12 kB / 320.7 MB, free: 1.891 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001948/0.1773, allocations: 89.78 kB / 320.8 MB, free: 1.801 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007651/0.1781, allocations: 399.5 kB / 321.2 MB, free: 1.434 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/0.1794, allocations: 2.629 MB / 323.8 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005856/0.18, allocations: 71.72 kB / 323.9 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-05/0.18, allocations: 51.92 kB / 323.9 MB, free: 14.54 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.00055/0.1806, allocations: 193.2 kB / 324.1 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/0.1807, allocations: 127.9 kB / 324.2 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007847/0.1815, allocations: 0.6152 MB / 324.8 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.1815, allocations: 12 kB / 324.9 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.1815, allocations: 7.984 kB / 324.9 MB, free: 13.6 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.1815, allocations: 3.984 kB / 324.9 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/0.1832, allocations: 1.146 MB / 326 MB, free: 12.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.1832, allocations: 4.094 kB / 326 MB, free: 12.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005194/0.1837, allocations: 222.7 kB / 326.2 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005489/0.1843, allocations: 215 kB / 326.4 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-05/0.1844, allocations: 27.98 kB / 326.5 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002662/0.187, allocations: 4.679 MB / 331.2 MB, free: 7.219 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.187, allocations: 4 kB / 331.2 MB, free: 7.215 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.1881, allocations: 1.014 MB / 332.2 MB, free: 6.199 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002098/0.1883, allocations: 146.9 kB / 332.3 MB, free: 6.055 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.1885, allocations: 24 kB / 332.3 MB, free: 6.031 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003843/0.1888, allocations: 71.89 kB / 332.4 MB, free: 5.961 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.189, allocations: 80 kB / 332.5 MB, free: 5.887 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.297e-05/0.189, allocations: 23.98 kB / 332.5 MB, free: 5.863 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004571/0.1895, allocations: 0.4977 MB / 333 MB, free: 5.418 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1895, allocations: 0 / 333 MB, free: 5.418 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001143/0.1906, allocations: 448 kB / 333.4 MB, free: 4.98 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.0002346/0.1909, allocations: 141.2 kB / 333.6 MB, free: 4.844 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.192, allocations: 0.7907 MB / 334.4 MB, free: 4.09 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.178e-05/0.192, allocations: 16.5 kB / 334.4 MB, free: 4.07 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000638/0.1926, allocations: 0.7328 MB / 335.1 MB, free: 3.324 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008127/0.1934, allocations: 276.8 kB / 335.4 MB, free: 3.059 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004493/0.1979, allocations: 3.663 MB / 339.1 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/0.1984, allocations: 0.5889 MB / 339.6 MB, free: 14.74 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004385/0.1988, allocations: 195.6 kB / 339.8 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005333/0.1993, allocations: 341.1 kB / 340.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of SimCode: time 7.71e-07/0.1993, allocations: 0 / 340.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of Templates: time 0.0263/0.2256, allocations: 20.8 MB / 361 MB, free: 9.809 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.082495197188109]