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.001035/0.001035, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.0009354/0.0009354, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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.9319/0.9319, allocations: 177 MB / 204.8 MB, free: 5.57 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.012e-06/1.012e-06, allocations: 0 / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.639e-05/1.74e-05, allocations: 5.266 kB / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.005353/0.00537, allocations: 6.55 MB / 279.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002949/0.008319, allocations: 2.238 MB / 281.7 MB, free: 8.598 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003733/0.008692, allocations: 55.62 kB / 281.8 MB, free: 8.543 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005913/0.009283, allocations: 377.3 kB / 282.1 MB, free: 8.172 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001359/0.01064, allocations: 0.8738 MB / 283 MB, free: 7.293 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00049/0.01113, allocations: 367.2 kB / 283.4 MB, free: 6.934 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002316/0.01345, allocations: 3.303 MB / 286.7 MB, free: 3.617 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009592/0.01441, allocations: 1.086 MB / 287.8 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001437/0.01584, allocations: 1.894 MB / 289.6 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1131/0.129, allocations: 1.611 MB / 291.3 MB, free: 16.72 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009969/0.13, allocations: 293.9 kB / 291.5 MB, free: 16.72 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001196/0.1312, allocations: 430.7 kB / 292 MB, free: 16.72 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006196/0.1318, allocations: 0.9044 MB / 292.9 MB, free: 16.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001668/0.1335, allocations: 1.016 MB / 293.9 MB, free: 16.72 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002821/0.1363, allocations: 2.588 MB / 296.5 MB, free: 16.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1363, allocations: 0 / 296.5 MB, free: 16.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1363, allocations: 1.781 kB / 296.5 MB, free: 16.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.399e-05/0.1364, allocations: 0 / 296.5 MB, free: 16.5 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.005458/0.1418, allocations: 3.7 MB / 300.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.1419, allocations: 11.59 kB / 300.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002499/0.1444, allocations: 1.046 MB / 301.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001746/0.1461, allocations: 1.484 MB / 302.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.391e-05/0.1462, allocations: 173.4 kB / 302.9 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002749/0.1465, allocations: 234.2 kB / 303.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002363/0.1488, allocations: 2.04 MB / 305.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.146e-05/0.1489, allocations: 4.953 kB / 305.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001487/0.149, allocations: 99.47 kB / 305.3 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.562e-05/0.1491, allocations: 80.88 kB / 305.3 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.1505, allocations: 0.8526 MB / 306.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006371/0.1569, allocations: 7.258 MB / 313.4 MB, free: 7.621 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/0.1585, allocations: 1.248 MB / 314.7 MB, free: 6.555 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000346/0.1589, allocations: 327.3 kB / 315 MB, free: 6.23 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001684/0.1606, allocations: 1.925 MB / 316.9 MB, free: 4.312 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.1606, allocations: 53.38 kB / 317 MB, free: 4.254 MB / 266.7 MB Notification: Performance of pre-optimization done (n=92): time 2.404e-06/0.1606, allocations: 0 / 317 MB, free: 4.254 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.00311/0.1637, allocations: 2.768 MB / 319.8 MB, free: 1.461 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.1637, allocations: 115.2 kB / 319.9 MB, free: 1.324 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009896/0.1647, allocations: 1.346 MB / 321.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.192e-05/0.1648, allocations: 49.7 kB / 321.3 MB, free: 15.89 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000591/0.1654, allocations: 1.252 MB / 322.5 MB, free: 14.63 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/0.1656, allocations: 392.2 kB / 322.9 MB, free: 14.25 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002595/0.1658, allocations: 268.5 kB / 323.2 MB, free: 13.98 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.166, allocations: 0.5551 MB / 323.7 MB, free: 13.42 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/0.1663, allocations: 166.5 kB / 323.9 MB, free: 13.26 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005501/0.1668, allocations: 0.7169 MB / 324.6 MB, free: 12.32 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009444/0.1678, allocations: 0.9828 MB / 325.6 MB, free: 11.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.1678, allocations: 4 kB / 325.6 MB, free: 11.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.001387/0.1692, allocations: 1.057 MB / 326.6 MB, free: 10.2 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.1692, allocations: 12 kB / 326.7 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.1692, allocations: 12 kB / 326.7 MB, free: 10.17 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002512/0.1695, allocations: 104.6 kB / 326.8 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006442/0.1701, allocations: 325.2 kB / 327.1 MB, free: 9.766 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001836/0.1719, allocations: 3.795 MB / 330.9 MB, free: 5.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004834/0.1724, allocations: 95.61 kB / 331 MB, free: 5.656 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.172e-05/0.1725, allocations: 59.98 kB / 331 MB, free: 5.598 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.0004537/0.1729, allocations: 241.8 kB / 331.3 MB, free: 5.371 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/0.1731, allocations: 187 kB / 331.5 MB, free: 5.188 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.1742, allocations: 0.7738 MB / 332.2 MB, free: 4.41 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.1742, allocations: 12 kB / 332.2 MB, free: 4.398 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1742, allocations: 4 kB / 332.2 MB, free: 4.395 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.1742, allocations: 7.984 kB / 332.2 MB, free: 4.387 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002224/0.1764, allocations: 1.939 MB / 334.2 MB, free: 2.406 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.1764, allocations: 0 / 334.2 MB, free: 2.406 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004162/0.1768, allocations: 179.1 kB / 334.4 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004689/0.1773, allocations: 241.3 kB / 334.6 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-05/0.1774, allocations: 31.53 kB / 334.6 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003331/0.1807, allocations: 6.44 MB / 341.1 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1807, allocations: 192 / 341.1 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/0.1823, allocations: 1.426 MB / 342.5 MB, free: 9.738 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/0.1825, allocations: 178.8 kB / 342.7 MB, free: 9.562 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.1826, allocations: 27.98 kB / 342.7 MB, free: 9.535 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004186/0.1831, allocations: 83.92 kB / 342.8 MB, free: 9.453 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001809/0.1832, allocations: 112.2 kB / 342.9 MB, free: 9.344 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-05/0.1833, allocations: 27.98 kB / 342.9 MB, free: 9.316 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007659/0.184, allocations: 0.7633 MB / 343.7 MB, free: 8.555 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.184, allocations: 0 / 343.7 MB, free: 8.555 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001168/0.1852, allocations: 444 kB / 344.1 MB, free: 8.121 MB / 298.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.0002664/0.1855, allocations: 158.2 kB / 344.3 MB, free: 7.965 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001456/0.1869, allocations: 1.026 MB / 345.3 MB, free: 6.953 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1869, allocations: 4 kB / 345.3 MB, free: 6.949 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007931/0.1877, allocations: 0.9593 MB / 346.3 MB, free: 5.949 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008923/0.1886, allocations: 270.8 kB / 346.5 MB, free: 5.691 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004634/0.1933, allocations: 3.928 MB / 350.4 MB, free: 1.699 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005165/0.1938, allocations: 0.7283 MB / 351.2 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005922/0.1944, allocations: 355.2 kB / 351.5 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.1946, allocations: 100.5 kB / 351.6 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of SimCode: time 8.72e-07/0.1946, allocations: 0 / 351.6 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of Templates: time 0.02396/0.2185, allocations: 19.3 MB / 370.9 MB, free: 13.55 MB / 330.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 -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.3129138741642237]