Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.0007434/0.0007434, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001046/0.001789, allocations: 457.8 kB / 10.45 MB, free: 244 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.0007099/0.0007099, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009253/0.001635, allocations: 475.6 kB / 11.82 MB, free: 2.348 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 0.9699/0.9699, allocations: 177.5 MB / 190 MB, free: 4.766 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1068/1.077, allocations: 53.87 MB / 243.9 MB, free: 14.83 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.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.093e-05, allocations: 6.312 kB / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.01235/0.01237, allocations: 5.866 MB / 251.1 MB, free: 7.645 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007445/0.01981, allocations: 2.195 MB / 253.3 MB, free: 5.441 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003972/0.02378, allocations: 55.62 kB / 253.3 MB, free: 5.387 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009381/0.02472, allocations: 409.3 kB / 253.7 MB, free: 4.984 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001409/0.02613, allocations: 0.6016 MB / 254.3 MB, free: 4.379 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004021/0.02653, allocations: 231.7 kB / 254.5 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001931/0.02846, allocations: 2.357 MB / 256.9 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.02967, allocations: 1.163 MB / 258.1 MB, free: 0.543 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002511/0.03218, allocations: 1.75 MB / 259.8 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001562/0.03374, allocations: 1.204 MB / 261 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005429/0.03429, allocations: 288 kB / 261.3 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006461/0.03493, allocations: 383.8 kB / 261.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000396/0.03533, allocations: 0.6118 MB / 262.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007001/0.03603, allocations: 0.7253 MB / 263 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001592/0.03762, allocations: 1.924 MB / 264.9 MB, free: 9.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-05/0.03764, allocations: 7.984 kB / 264.9 MB, free: 9.672 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.03764, allocations: 0 / 264.9 MB, free: 9.672 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.531e-05/0.03767, allocations: 0 / 264.9 MB, free: 9.672 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: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.00269/0.04036, allocations: 2.68 MB / 267.6 MB, free: 6.957 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.0404, allocations: 8.625 kB / 267.6 MB, free: 6.949 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006924/0.04109, allocations: 449.6 kB / 268.1 MB, free: 6.492 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009887/0.04208, allocations: 0.8172 MB / 268.9 MB, free: 5.641 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.577e-05/0.04214, allocations: 131.9 kB / 269 MB, free: 5.512 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/0.04231, allocations: 176.4 kB / 269.2 MB, free: 5.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.04384, allocations: 1.504 MB / 270.7 MB, free: 3.762 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/0.04387, allocations: 7.938 kB / 270.7 MB, free: 3.754 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.04397, allocations: 68 kB / 270.8 MB, free: 3.688 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.463e-05/0.04405, allocations: 103.6 kB / 270.9 MB, free: 3.586 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007039/0.04475, allocations: 0.5063 MB / 271.4 MB, free: 3.074 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1148/0.1595, allocations: 4.828 MB / 276.2 MB, free: 18.35 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005337/0.1601, allocations: 377.9 kB / 276.6 MB, free: 18.28 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002227/0.1603, allocations: 169.7 kB / 276.7 MB, free: 18.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001325/0.1604, allocations: 31.11 kB / 276.8 MB, free: 18.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.1605, allocations: 42.62 kB / 276.8 MB, free: 18.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 3.156e-06/0.1605, allocations: 0.8438 kB / 276.8 MB, free: 18.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.001758/0.1622, allocations: 0.9006 MB / 277.7 MB, free: 18.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.1622, allocations: 66.23 kB / 277.8 MB, free: 17.97 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009419/0.1632, allocations: 0.9373 MB / 278.7 MB, free: 17.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.1632, allocations: 36.83 kB / 278.7 MB, free: 17.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004718/0.1637, allocations: 0.9099 MB / 279.7 MB, free: 17.17 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.438e-05/0.1638, allocations: 206.8 kB / 279.9 MB, free: 17.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/0.164, allocations: 234.7 kB / 280.1 MB, free: 17.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.124e-05/0.164, allocations: 354.3 kB / 280.4 MB, free: 16.71 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.1642, allocations: 130.1 kB / 280.6 MB, free: 16.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003364/0.1645, allocations: 0.7807 MB / 281.3 MB, free: 15.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007462/0.1653, allocations: 1.089 MB / 282.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.661e-05/0.1653, allocations: 11.19 kB / 282.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00114/0.1665, allocations: 0.8666 MB / 283.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.1665, allocations: 15.28 kB / 283.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-05/0.1665, allocations: 22.25 kB / 283.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004052/0.1669, allocations: 145 kB / 283.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006105/0.1675, allocations: 335.3 kB / 283.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001024/0.1685, allocations: 1.769 MB / 285.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005225/0.1691, allocations: 84.31 kB / 285.7 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.446e-05/0.1691, allocations: 60.61 kB / 285.7 MB, free: 13.48 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (148): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002643/0.1694, allocations: 207.2 kB / 285.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.1695, allocations: 101.9 kB / 286 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004157/0.1699, allocations: 363.3 kB / 286.4 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.17, allocations: 5.156 kB / 286.4 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.17, allocations: 3.062 kB / 286.4 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.17, allocations: 4.703 kB / 286.4 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.1716, allocations: 1.485 MB / 287.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1716, allocations: 2.188 kB / 287.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002678/0.1719, allocations: 124.2 kB / 288 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001758/0.172, allocations: 130.6 kB / 288.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003138/0.1723, allocations: 124.9 kB / 288.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.1724, allocations: 13.38 kB / 288.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008253/0.1732, allocations: 1.779 MB / 290 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.1732, allocations: 8.156 kB / 290.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000535/0.1737, allocations: 0.6224 MB / 290.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.38e-05/0.1738, allocations: 17.78 kB / 290.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002342/0.174, allocations: 41.11 kB / 290.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.702e-05/0.1741, allocations: 44.92 kB / 290.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/0.1741, allocations: 14.81 kB / 290.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003747/0.1745, allocations: 446.3 kB / 291.2 MB, free: 10.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1745, allocations: 0 / 291.2 MB, free: 10.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008379/0.1753, allocations: 351.9 kB / 291.6 MB, free: 10.93 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].i) * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003297/0.1757, allocations: 188.2 kB / 291.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000645/0.1763, allocations: 0.6718 MB / 292.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.81e-05/0.1764, allocations: 22.88 kB / 292.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002634/0.1766, allocations: 333.5 kB / 292.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.1776, allocations: 2.716 MB / 295.5 MB, free: 7.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.1879, allocations: 2.932 MB / 298.4 MB, free: 6.512 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.1882, allocations: 444.1 kB / 298.9 MB, free: 6.406 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004664/0.1886, allocations: 158.7 kB / 299 MB, free: 6.367 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004125/0.1891, allocations: 315.6 kB / 299.3 MB, free: 6.316 MB / 266.7 MB Notification: Performance of SimCode: time 1.813e-06/0.1891, allocations: 0 / 299.3 MB, free: 6.316 MB / 266.7 MB Notification: Performance of Templates: time 0.02129/0.2104, allocations: 16.95 MB / 316.3 MB, free: 6.148 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0280084488913417]