Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.0009789/0.0009789, allocations: 85.95 kB / 23 MB, free: 1.504 MB / 18.57 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.001035/0.001035, allocations: 175.6 kB / 26.39 MB, free: 7.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.912/0.912, allocations: 158.6 MB / 188.3 MB, free: 2.801 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 3.984 kB / 252.3 MB, free: 7.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.358e-05, allocations: 6.25 kB / 252.3 MB, free: 7.215 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.008179/0.008203, allocations: 10.19 MB / 262.5 MB, free: 12.97 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005999/0.0142, allocations: 3.242 MB / 265.7 MB, free: 9.719 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.01527, allocations: 103.2 kB / 265.8 MB, free: 9.617 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.01628, allocations: 0.7331 MB / 266.6 MB, free: 8.879 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001684/0.01796, allocations: 1.23 MB / 267.8 MB, free: 7.641 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005694/0.01853, allocations: 0.4993 MB / 268.3 MB, free: 7.141 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003467/0.022, allocations: 5.457 MB / 273.7 MB, free: 1.66 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001817/0.02382, allocations: 2.25 MB / 276 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003538/0.02736, allocations: 3.623 MB / 279.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002412/0.02977, allocations: 2.76 MB / 282.4 MB, free: 8.969 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005741/0.03034, allocations: 0.6211 MB / 283 MB, free: 8.348 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007675/0.03111, allocations: 0.6991 MB / 283.7 MB, free: 7.648 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009364/0.03205, allocations: 1.726 MB / 285.4 MB, free: 5.918 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001822/0.03387, allocations: 1.953 MB / 287.4 MB, free: 3.961 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003044/0.03691, allocations: 4.58 MB / 292 MB, free: 15.37 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.03692, allocations: 3.984 kB / 292 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.03692, allocations: 0 / 292 MB, free: 15.36 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.504e-05/0.03696, allocations: 0 / 292 MB, free: 15.36 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.005198/0.04216, allocations: 5.234 MB / 297.2 MB, free: 10.06 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.0422, allocations: 12.03 kB / 297.2 MB, free: 10.05 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.04327, allocations: 0.8961 MB / 298.1 MB, free: 9.152 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002306/0.04557, allocations: 2.123 MB / 300.2 MB, free: 6.957 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.04571, allocations: 292.1 kB / 300.5 MB, free: 6.672 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003598/0.04607, allocations: 399.9 kB / 300.9 MB, free: 6.281 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003077/0.04915, allocations: 3.178 MB / 304.1 MB, free: 2.922 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.349e-05/0.0492, allocations: 0 / 304.1 MB, free: 2.922 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002358/0.04944, allocations: 160 kB / 304.2 MB, free: 2.766 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001316/0.04957, allocations: 208 kB / 304.4 MB, free: 2.559 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.05118, allocations: 1.112 MB / 305.6 MB, free: 1.418 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01143/0.06262, allocations: 11.73 MB / 317.3 MB, free: 5.422 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001925/0.06454, allocations: 2.144 MB / 319.4 MB, free: 3.383 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/0.06567, allocations: 1.165 MB / 320.6 MB, free: 2.219 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001591/0.06583, allocations: 65.98 kB / 320.7 MB, free: 2.156 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.06587, allocations: 67.39 kB / 320.7 MB, free: 2.078 MB / 298.7 MB Notification: Performance of pre-optimization done (n=249): time 3.757e-06/0.06587, allocations: 0 / 320.7 MB, free: 2.078 MB / 298.7 MB Notification: Performance of matching and sorting (n=256): time 0.007427/0.0733, allocations: 4.48 MB / 325.2 MB, free: 13.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.07334, allocations: 77.42 kB / 325.3 MB, free: 13.41 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/0.07475, allocations: 1.755 MB / 327 MB, free: 11.61 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.93e-05/0.07485, allocations: 73.7 kB / 327.1 MB, free: 11.54 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001288/0.07614, allocations: 1.807 MB / 328.9 MB, free: 9.711 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004741/0.07661, allocations: 0.9142 MB / 329.8 MB, free: 8.789 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004336/0.07704, allocations: 462.6 kB / 330.3 MB, free: 8.328 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.715e-05/0.07714, allocations: 480.8 kB / 330.7 MB, free: 7.855 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003904/0.07753, allocations: 280.5 kB / 331 MB, free: 7.578 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000615/0.07815, allocations: 0.7129 MB / 331.7 MB, free: 6.738 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.07924, allocations: 1.15 MB / 332.9 MB, free: 5.434 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.07924, allocations: 0 / 332.9 MB, free: 5.434 MB / 314.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.002336/0.08158, allocations: 1.987 MB / 334.9 MB, free: 3.355 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.0816, allocations: 11.75 kB / 334.9 MB, free: 3.348 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.08161, allocations: 11.94 kB / 334.9 MB, free: 3.336 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002525/0.08414, allocations: 1.07 MB / 336 MB, free: 2.223 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007477/0.08489, allocations: 375.4 kB / 336.3 MB, free: 1.855 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1291/0.2139, allocations: 23.64 MB / 360 MB, free: 86.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/0.2154, allocations: 64.88 kB / 360 MB, free: 86.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/0.2155, allocations: 57.59 kB / 360.1 MB, free: 86.28 MB / 330.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.001028/0.2165, allocations: 302 kB / 360.4 MB, free: 86.12 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006271/0.2172, allocations: 367.1 kB / 360.7 MB, free: 86.12 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002558/0.2197, allocations: 2.011 MB / 362.8 MB, free: 85.8 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-05/0.2198, allocations: 23.47 kB / 362.8 MB, free: 85.8 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.049e-05/0.2198, allocations: 16.36 kB / 362.8 MB, free: 85.8 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/0.2198, allocations: 11.25 kB / 362.8 MB, free: 85.8 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007474/0.2273, allocations: 4.488 MB / 367.3 MB, free: 85.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.2273, allocations: 0 / 367.3 MB, free: 85.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000591/0.2279, allocations: 271.2 kB / 367.6 MB, free: 85.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002257/0.2301, allocations: 1.061 MB / 368.6 MB, free: 85.13 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001291/0.2302, allocations: 58.45 kB / 368.7 MB, free: 85.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01004/0.2403, allocations: 23.52 MB / 392.2 MB, free: 64.3 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2403, allocations: 0 / 392.2 MB, free: 64.3 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003395/0.2437, allocations: 2.49 MB / 394.7 MB, free: 62.03 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00096/0.2446, allocations: 485.3 kB / 395.2 MB, free: 61.58 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002731/0.2449, allocations: 63.86 kB / 395.2 MB, free: 61.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006497/0.2456, allocations: 95.89 kB / 395.3 MB, free: 61.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003606/0.2459, allocations: 204.6 kB / 395.5 MB, free: 61.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.862e-05/0.246, allocations: 51.98 kB / 395.6 MB, free: 61.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009061/0.2469, allocations: 0.968 MB / 396.5 MB, free: 60.28 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.2469, allocations: 0 / 396.5 MB, free: 60.28 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002679/0.2496, allocations: 0.9529 MB / 397.5 MB, free: 59.33 MB / 330.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.0004548/0.2501, allocations: 238.8 kB / 397.7 MB, free: 59.1 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003009/0.2531, allocations: 3.491 MB / 401.2 MB, free: 55.47 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.2531, allocations: 4.062 kB / 401.2 MB, free: 55.46 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00215/0.2552, allocations: 3.019 MB / 404.2 MB, free: 52.3 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002267/0.2575, allocations: 0.7456 MB / 405 MB, free: 51.57 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009731/0.2672, allocations: 7.08 MB / 412.1 MB, free: 44.48 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001255/0.2685, allocations: 1.257 MB / 413.3 MB, free: 43.2 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001008/0.2695, allocations: 285.9 kB / 413.6 MB, free: 42.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001184/0.2707, allocations: 0.7711 MB / 414.4 MB, free: 42.14 MB / 330.7 MB Notification: Performance of SimCode: time 1.633e-06/0.2707, allocations: 0 / 414.4 MB, free: 42.14 MB / 330.7 MB Notification: Performance of Templates: time 0.06299/0.3337, allocations: 56.98 MB / 471.3 MB, free: 1.18 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.831528413109481]