Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.0009994/0.0009994, allocations: 82.28 kB / 22.21 MB, free: 2.293 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.001053/0.001053, allocations: 145.2 kB / 25.59 MB, free: 8.918 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.8856/0.8856, allocations: 173.4 MB / 202.3 MB, free: 8.273 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.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.[0-9,]+..i|transformer2.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.[0-9,]+..i|transformer2.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 3.984 kB / 269.2 MB, free: 9.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.233e-05/1.444e-05, allocations: 6.891 kB / 269.2 MB, free: 9.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.007475/0.007489, allocations: 10.24 MB / 279.5 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004236/0.01173, allocations: 3.17 MB / 282.6 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007342/0.01246, allocations: 107.2 kB / 282.8 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.01349, allocations: 0.7334 MB / 283.5 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001611/0.0151, allocations: 1.234 MB / 284.7 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005459/0.01564, allocations: 479.3 kB / 285.2 MB, free: 9.754 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00337/0.01901, allocations: 5.312 MB / 290.5 MB, free: 4.414 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002171/0.02118, allocations: 2.444 MB / 292.9 MB, free: 1.883 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003715/0.0249, allocations: 3.646 MB / 296.6 MB, free: 14.3 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002928/0.02783, allocations: 2.763 MB / 299.4 MB, free: 11.53 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007363/0.02856, allocations: 0.6211 MB / 300 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008571/0.02942, allocations: 0.703 MB / 300.7 MB, free: 10.21 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009784/0.0304, allocations: 1.722 MB / 302.4 MB, free: 8.48 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001711/0.03211, allocations: 1.953 MB / 304.4 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004223/0.03633, allocations: 4.604 MB / 309 MB, free: 1.906 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.03634, allocations: 0 / 309 MB, free: 1.906 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.03634, allocations: 0 / 309 MB, free: 1.906 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.979e-05/0.03644, allocations: 0 / 309 MB, free: 1.906 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.006123/0.04256, allocations: 5.264 MB / 314.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.04259, allocations: 12.03 kB / 314.2 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.0437, allocations: 0.8883 MB / 315.1 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002341/0.04604, allocations: 2.388 MB / 317.5 MB, free: 9.207 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001459/0.04619, allocations: 298.1 kB / 317.8 MB, free: 8.918 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003704/0.04656, allocations: 391.9 kB / 318.2 MB, free: 8.535 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003142/0.0497, allocations: 3.182 MB / 321.4 MB, free: 5.172 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.251e-05/0.04975, allocations: 3.938 kB / 321.4 MB, free: 5.168 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002345/0.04998, allocations: 156 kB / 321.5 MB, free: 5.016 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000132/0.05012, allocations: 200 kB / 321.7 MB, free: 4.816 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001678/0.05179, allocations: 1.116 MB / 322.8 MB, free: 3.672 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01156/0.06336, allocations: 11.72 MB / 334.6 MB, free: 7.684 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002002/0.06536, allocations: 2.122 MB / 336.7 MB, free: 5.664 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001153/0.06651, allocations: 1.165 MB / 337.8 MB, free: 4.504 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001654/0.06668, allocations: 69.92 kB / 337.9 MB, free: 4.438 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.06672, allocations: 63.39 kB / 338 MB, free: 4.363 MB / 314.7 MB Notification: Performance of pre-optimization done (n=249): time 3.436e-06/0.06672, allocations: 0 / 338 MB, free: 4.363 MB / 314.7 MB Notification: Performance of matching and sorting (n=256): time 0.1159/0.1826, allocations: 4.483 MB / 342.5 MB, free: 70.52 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.1826, allocations: 84.92 kB / 342.5 MB, free: 70.45 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00193/0.1846, allocations: 1.751 MB / 344.3 MB, free: 70.17 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002748/0.1848, allocations: 70.92 kB / 344.4 MB, free: 70.14 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008079/0.1857, allocations: 1.805 MB / 346.2 MB, free: 69.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005219/0.1862, allocations: 0.9236 MB / 347.1 MB, free: 69.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004459/0.1866, allocations: 449.5 kB / 347.5 MB, free: 69.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.511e-05/0.1867, allocations: 483.7 kB / 348 MB, free: 68.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004118/0.1871, allocations: 277.5 kB / 348.3 MB, free: 68.72 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006011/0.1877, allocations: 0.715 MB / 349 MB, free: 68.35 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.1887, allocations: 1.148 MB / 350.1 MB, free: 67.94 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.1887, allocations: 5.5 kB / 350.1 MB, free: 67.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.002435/0.1911, allocations: 1.994 MB / 352.1 MB, free: 67.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.1912, allocations: 15.19 kB / 352.1 MB, free: 67.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.1912, allocations: 4.5 kB / 352.1 MB, free: 67.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002102/0.1933, allocations: 1.067 MB / 353.2 MB, free: 67.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007194/0.194, allocations: 377.1 kB / 353.6 MB, free: 67.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009545/0.2035, allocations: 23.66 MB / 377.2 MB, free: 46.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/0.2048, allocations: 57.58 kB / 377.3 MB, free: 46.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001715/0.205, allocations: 60 kB / 377.4 MB, free: 46.52 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (diode4.idealDiode[3].off,diode4.idealDiode[2].off,diode4.idealDiode[1].off,diode3.idealDiode[3].off,diode3.idealDiode[2].off,diode3.idealDiode[1].off,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 (198): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,9,100.0%), (1,9,100.0%), (1,9,100.0%), (2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0008823/0.2059, allocations: 298.5 kB / 377.6 MB, free: 46.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004727/0.2063, allocations: 368.4 kB / 378 MB, free: 45.88 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002589/0.2089, allocations: 2.019 MB / 380 MB, free: 43.96 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.2089, allocations: 28 kB / 380.1 MB, free: 43.94 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/0.209, allocations: 11.98 kB / 380.1 MB, free: 43.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/0.209, allocations: 15.89 kB / 380.1 MB, free: 43.91 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006131/0.2151, allocations: 4.469 MB / 384.6 MB, free: 39.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.2151, allocations: 0 / 384.6 MB, free: 39.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006044/0.2157, allocations: 279.7 kB / 384.8 MB, free: 39.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002211/0.2179, allocations: 1.062 MB / 385.9 MB, free: 38.3 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001274/0.218, allocations: 59.97 kB / 385.9 MB, free: 38.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009119/0.2272, allocations: 23.52 MB / 409.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2272, allocations: 0 / 409.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003108/0.2303, allocations: 2.49 MB / 412 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009937/0.2313, allocations: 488 kB / 412.4 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002578/0.2315, allocations: 55.92 kB / 412.5 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006195/0.2321, allocations: 94.06 kB / 412.6 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003456/0.2325, allocations: 205.6 kB / 412.8 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.018e-05/0.2326, allocations: 44 kB / 412.8 MB, free: 10.14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008315/0.2334, allocations: 0.9716 MB / 413.8 MB, free: 9.148 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2334, allocations: 0 / 413.8 MB, free: 9.148 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002479/0.2359, allocations: 0.9511 MB / 414.7 MB, free: 8.199 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,29,100.0%), (1,9,100.0%), (1,9,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000409/0.2363, allocations: 252.2 kB / 415 MB, free: 7.961 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002612/0.2389, allocations: 3.489 MB / 418.5 MB, free: 4.281 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.2389, allocations: 0 / 418.5 MB, free: 4.281 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001842/0.2408, allocations: 3.028 MB / 421.5 MB, free: 1.062 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001979/0.2427, allocations: 0.76 MB / 422.3 MB, free: 308 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008788/0.2515, allocations: 7.091 MB / 429.4 MB, free: 9.176 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/0.2526, allocations: 1.245 MB / 430.6 MB, free: 7.902 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00083/0.2534, allocations: 278 kB / 430.9 MB, free: 7.625 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001204/0.2546, allocations: 0.7711 MB / 431.6 MB, free: 6.852 MB / 330.7 MB Notification: Performance of SimCode: time 1.553e-06/0.2546, allocations: 0 / 431.6 MB, free: 6.852 MB / 330.7 MB Notification: Performance of Templates: time 0.161/0.4156, allocations: 56.91 MB / 488.5 MB, free: 115.5 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.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: 4.728439670056105]