Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.00127/0.00127, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002073/0.003343, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001191/0.001191, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001736/0.002928, allocations: 479.5 kB / 11.83 MB, free: 2.344 MB / 13.93 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.985/0.985, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0869/1.072, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.515e-05/1.653e-05, allocations: 10.25 kB / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.005694/0.005711, allocations: 6.755 MB / 251.5 MB, free: 7.422 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004385/0.0101, allocations: 2.402 MB / 253.9 MB, free: 5.012 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008546/0.01095, allocations: 63.56 kB / 253.9 MB, free: 4.949 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.01198, allocations: 464.9 kB / 254.4 MB, free: 4.492 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001572/0.01355, allocations: 0.7179 MB / 255.1 MB, free: 3.77 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005535/0.01411, allocations: 279.7 kB / 255.4 MB, free: 3.496 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00302/0.01713, allocations: 2.971 MB / 258.3 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001591/0.01872, allocations: 1.371 MB / 259.7 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002974/0.02169, allocations: 2.176 MB / 261.9 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002013/0.0237, allocations: 1.516 MB / 263.4 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005468/0.02425, allocations: 348 kB / 263.8 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009277/0.02518, allocations: 451.7 kB / 264.2 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005774/0.02576, allocations: 0.7638 MB / 265 MB, free: 9.832 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009405/0.0267, allocations: 0.8892 MB / 265.8 MB, free: 8.941 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002206/0.0289, allocations: 2.403 MB / 268.2 MB, free: 6.531 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-05/0.02892, allocations: 0 / 268.2 MB, free: 6.531 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.02892, allocations: 0 / 268.2 MB, free: 6.531 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.751e-05/0.02895, allocations: 0 / 268.2 MB, free: 6.531 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.003817/0.03276, allocations: 3.321 MB / 271.6 MB, free: 3.168 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.03279, allocations: 15.97 kB / 271.6 MB, free: 3.152 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009211/0.03372, allocations: 0.5016 MB / 272.1 MB, free: 2.633 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.03523, allocations: 1.002 MB / 273.1 MB, free: 1.586 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.03533, allocations: 160.8 kB / 273.2 MB, free: 1.426 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000268/0.0356, allocations: 231.8 kB / 273.5 MB, free: 1.199 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1222/0.1578, allocations: 1.781 MB / 275.3 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.838e-05/0.1578, allocations: 1.312 kB / 275.3 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001418/0.158, allocations: 88.88 kB / 275.3 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001033/0.1581, allocations: 107.9 kB / 275.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001595/0.1597, allocations: 0.6467 MB / 276.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008282/0.168, allocations: 5.02 MB / 281.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.1691, allocations: 0.9746 MB / 282.1 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006343/0.1697, allocations: 0.5172 MB / 282.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001578/0.1698, allocations: 54.48 kB / 282.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.1699, allocations: 56.91 kB / 282.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 3.727e-06/0.1699, allocations: 0 / 282.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.004245/0.1741, allocations: 2.248 MB / 285 MB, free: 13.42 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.1742, allocations: 67.7 kB / 285 MB, free: 13.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009173/0.1751, allocations: 0.8442 MB / 285.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.113e-05/0.1751, allocations: 49.2 kB / 285.9 MB, free: 13.17 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003/0.1754, allocations: 0.8185 MB / 286.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001987/0.1756, allocations: 459.4 kB / 287.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002235/0.1759, allocations: 209.8 kB / 287.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.739e-05/0.1759, allocations: 357.8 kB / 287.7 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002393/0.1762, allocations: 151.6 kB / 287.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.1764, allocations: 304.3 kB / 288.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005244/0.1769, allocations: 0.5784 MB / 288.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1769, allocations: 1.969 kB / 288.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001107/0.178, allocations: 0.8558 MB / 289.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.178, allocations: 8.75 kB / 289.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.1781, allocations: 7 kB / 289.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/0.1793, allocations: 0.5117 MB / 290.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005074/0.1798, allocations: 241.2 kB / 290.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003776/0.1836, allocations: 7.42 MB / 297.8 MB, free: 5.363 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005658/0.1841, allocations: 35.12 kB / 297.8 MB, free: 5.344 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.713e-05/0.1842, allocations: 28.33 kB / 297.9 MB, free: 5.336 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (diode2.idealDiode[3].off,diode2.idealDiode[2].off,diode2.idealDiode[1].off,diode1.idealDiode[3].off,diode1.idealDiode[2].off,diode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004525/0.1846, allocations: 183.7 kB / 298 MB, free: 5.176 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002039/0.1848, allocations: 147 kB / 298.2 MB, free: 5.152 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.1859, allocations: 0.8932 MB / 299.1 MB, free: 4.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.1859, allocations: 16.94 kB / 299.1 MB, free: 4.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1859, allocations: 3.75 kB / 299.1 MB, free: 4.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.1859, allocations: 5.625 kB / 299.1 MB, free: 4.746 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002663/0.1886, allocations: 2.377 MB / 301.5 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.1886, allocations: 4.031 kB / 301.5 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003925/0.189, allocations: 183.6 kB / 301.7 MB, free: 2.836 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003225/0.1893, allocations: 175.1 kB / 301.8 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001016/0.1903, allocations: 0.5137 MB / 302.4 MB, free: 2.148 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.917e-05/0.1903, allocations: 31.98 kB / 302.4 MB, free: 2.117 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004743/0.1951, allocations: 7.463 MB / 309.9 MB, free: 10.44 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.1951, allocations: 4 kB / 309.9 MB, free: 10.43 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.1967, allocations: 1.211 MB / 311.1 MB, free: 9.23 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/0.1969, allocations: 28 kB / 311.1 MB, free: 9.203 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003557/0.1973, allocations: 55.97 kB / 311.1 MB, free: 9.148 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/0.1974, allocations: 107 kB / 311.3 MB, free: 9.047 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.216e-05/0.1975, allocations: 31.97 kB / 311.3 MB, free: 9.016 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004645/0.1979, allocations: 440.7 kB / 311.7 MB, free: 8.629 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1979, allocations: 0 / 311.7 MB, free: 8.629 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001568/0.1995, allocations: 0.5117 MB / 312.2 MB, free: 8.117 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004527/0.2, allocations: 201.5 kB / 312.4 MB, free: 7.941 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001492/0.2015, allocations: 1.343 MB / 313.8 MB, free: 6.594 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.591e-05/0.2015, allocations: 30.61 kB / 313.8 MB, free: 6.562 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.2026, allocations: 1.153 MB / 314.9 MB, free: 5.398 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002737/0.2053, allocations: 4.323 MB / 319.3 MB, free: 204 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01443/0.2198, allocations: 4.137 MB / 323.4 MB, free: 12.05 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006573/0.2204, allocations: 0.5883 MB / 324 MB, free: 11.43 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0006187/0.221, allocations: 160.1 kB / 324.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006585/0.2217, allocations: 395.1 kB / 324.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of SimCode: time 1.764e-06/0.2217, allocations: 0 / 324.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of Templates: time 0.04053/0.2622, allocations: 32.83 MB / 357.4 MB, free: 10.6 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.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.582740742713213]