Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 148.2 kB / 24.81 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9394/0.9394, allocations: 173.3 MB / 201.4 MB, free: 9.23 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 268.4 MB, free: 6.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.298e-05, allocations: 6.25 kB / 268.4 MB, free: 6.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.007354/0.007377, allocations: 6.644 MB / 275.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003974/0.01135, allocations: 2.239 MB / 277.3 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007301/0.01208, allocations: 59.56 kB / 277.4 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008626/0.01294, allocations: 464.8 kB / 277.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001471/0.01441, allocations: 0.7258 MB / 278.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007547/0.01517, allocations: 263.7 kB / 278.8 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00248/0.01765, allocations: 2.94 MB / 281.7 MB, free: 8.824 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001518/0.01917, allocations: 1.348 MB / 283.1 MB, free: 7.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003457/0.02262, allocations: 2.003 MB / 285.1 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002314/0.02494, allocations: 1.528 MB / 286.6 MB, free: 3.902 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007033/0.02564, allocations: 348 kB / 287 MB, free: 3.562 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006974/0.02634, allocations: 435.8 kB / 287.4 MB, free: 3.137 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005579/0.0269, allocations: 0.9349 MB / 288.3 MB, free: 2.199 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001183/0.02808, allocations: 1.084 MB / 289.4 MB, free: 1.113 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1063/0.1344, allocations: 2.548 MB / 291.9 MB, free: 21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.1344, allocations: 1.125 kB / 291.9 MB, free: 21 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.1344, allocations: 0 / 291.9 MB, free: 21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001191/0.1345, allocations: 0 / 291.9 MB, free: 21 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.005065/0.1396, allocations: 3.078 MB / 295 MB, free: 19.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.1397, allocations: 10.05 kB / 295 MB, free: 19.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008842/0.1405, allocations: 0.4888 MB / 295.5 MB, free: 19.55 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001778/0.1423, allocations: 1.358 MB / 296.9 MB, free: 19.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.1424, allocations: 168.2 kB / 297 MB, free: 19.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002455/0.1427, allocations: 221.2 kB / 297.3 MB, free: 19.13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002345/0.145, allocations: 1.761 MB / 299 MB, free: 18.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.28e-05/0.145, allocations: 1.281 kB / 299 MB, free: 18.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001359/0.1452, allocations: 94.03 kB / 299.1 MB, free: 18.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001081/0.1453, allocations: 110.9 kB / 299.2 MB, free: 18.65 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.1465, allocations: 0.601 MB / 299.8 MB, free: 18.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007767/0.1543, allocations: 6.427 MB / 306.2 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009069/0.1552, allocations: 1.026 MB / 307.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005615/0.1558, allocations: 0.5796 MB / 307.9 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001338/0.1559, allocations: 42.5 kB / 307.9 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.1559, allocations: 51.73 kB / 307.9 MB, free: 15 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 3.727e-06/0.1559, allocations: 0 / 307.9 MB, free: 15 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.003795/0.1597, allocations: 2.422 MB / 310.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.086e-05/0.1597, allocations: 68.31 kB / 310.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00081/0.1605, allocations: 1.046 MB / 311.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.243e-05/0.1606, allocations: 45.92 kB / 311.5 MB, free: 13.7 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003328/0.1609, allocations: 1.07 MB / 312.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001777/0.1611, allocations: 481.3 kB / 313.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.1613, allocations: 240.1 kB / 313.3 MB, free: 12.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.591e-05/0.1614, allocations: 0.556 MB / 313.9 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.1616, allocations: 138.6 kB / 314 MB, free: 11.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.1618, allocations: 395.1 kB / 314.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005086/0.1623, allocations: 0.6079 MB / 315 MB, free: 11.17 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1623, allocations: 4 kB / 315 MB, free: 11.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00109/0.1634, allocations: 1.042 MB / 316 MB, free: 10.15 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1634, allocations: 4.438 kB / 316 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.1634, allocations: 8 kB / 316 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/0.1645, allocations: 0.5423 MB / 316.6 MB, free: 9.594 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003742/0.1649, allocations: 190.5 kB / 316.8 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00415/0.169, allocations: 9.992 MB / 326.8 MB, free: 15.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005696/0.1696, allocations: 32 kB / 326.8 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.396e-05/0.1697, allocations: 36.03 kB / 326.8 MB, free: 15.08 MB / 282.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.0006157/0.1703, allocations: 227.8 kB / 327.1 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002425/0.1705, allocations: 199 kB / 327.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.1718, allocations: 1.055 MB / 328.3 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.1718, allocations: 15.98 kB / 328.3 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1718, allocations: 4 kB / 328.3 MB, free: 13.6 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.445e-06/0.1718, allocations: 7.969 kB / 328.3 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003981/0.1758, allocations: 2.904 MB / 331.2 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1758, allocations: 0 / 331.2 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003294/0.1761, allocations: 151.3 kB / 331.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001117/0.1773, allocations: 0.532 MB / 331.9 MB, free: 10.26 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.38e-05/0.1773, allocations: 35.98 kB / 331.9 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005459/0.1828, allocations: 9.915 MB / 341.9 MB, free: 28 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1828, allocations: 4 kB / 341.9 MB, free: 24 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/0.1846, allocations: 1.388 MB / 343.3 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005392/0.1851, allocations: 266.9 kB / 343.5 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.1852, allocations: 28.12 kB / 343.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003603/0.1856, allocations: 55.97 kB / 343.6 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/0.1858, allocations: 112.7 kB / 343.7 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.018e-05/0.1858, allocations: 31.98 kB / 343.7 MB, free: 14.15 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007982/0.1866, allocations: 0.5894 MB / 344.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1866, allocations: 0 / 344.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001438/0.1881, allocations: 0.5078 MB / 344.8 MB, free: 13.1 MB / 298.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.0003692/0.1884, allocations: 206.4 kB / 345 MB, free: 12.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001467/0.1899, allocations: 1.629 MB / 346.7 MB, free: 11.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1899, allocations: 3.047 kB / 346.7 MB, free: 11.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.1909, allocations: 1.372 MB / 348 MB, free: 9.84 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009784/0.1919, allocations: 405 kB / 348.4 MB, free: 9.449 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005554/0.1974, allocations: 3.903 MB / 352.3 MB, free: 5.512 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005935/0.198, allocations: 0.6975 MB / 353 MB, free: 4.785 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004959/0.1985, allocations: 147.9 kB / 353.2 MB, free: 4.637 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006473/0.1992, allocations: 457.9 kB / 353.6 MB, free: 4.188 MB / 298.7 MB Notification: Performance of SimCode: time 1.222e-06/0.1992, allocations: 0 / 353.6 MB, free: 4.188 MB / 298.7 MB Notification: Performance of Templates: time 0.03841/0.2376, allocations: 30.97 MB / 384.6 MB, free: 5.758 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.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.4454115759581327]