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.0009438/0.0009438, allocations: 78.19 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.001006/0.001006, allocations: 150.9 kB / 24.81 MB, free: 9.285 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.9294/0.9294, allocations: 173.4 MB / 201.5 MB, free: 9.219 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 1.753e-06/1.753e-06, allocations: 0 / 268.4 MB, free: 6.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.614e-05/1.789e-05, allocations: 6.25 kB / 268.4 MB, free: 6.176 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.00788/0.007897, allocations: 10.26 MB / 278.7 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003698/0.0116, allocations: 3.162 MB / 281.9 MB, free: 8.699 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005154/0.01211, allocations: 111.2 kB / 282 MB, free: 8.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009388/0.01305, allocations: 0.7451 MB / 282.7 MB, free: 7.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001628/0.01468, allocations: 1.226 MB / 283.9 MB, free: 6.605 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004581/0.01514, allocations: 475.3 kB / 284.4 MB, free: 6.141 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00283/0.01797, allocations: 5.316 MB / 289.7 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.109/0.127, allocations: 2.438 MB / 292.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005625/0.1326, allocations: 3.625 MB / 295.8 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004077/0.1367, allocations: 2.766 MB / 298.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001532/0.1382, allocations: 0.6228 MB / 299.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001313/0.1396, allocations: 0.6979 MB / 299.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001049/0.1406, allocations: 1.725 MB / 301.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002217/0.1428, allocations: 1.956 MB / 303.6 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003319/0.1461, allocations: 4.594 MB / 308.1 MB, free: 12.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1461, allocations: 0 / 308.1 MB, free: 12.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1461, allocations: 0.5312 kB / 308.1 MB, free: 12.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001609/0.1463, allocations: 0.6875 kB / 308.1 MB, free: 12.68 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.005107/0.1514, allocations: 5.269 MB / 313.4 MB, free: 9.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.1515, allocations: 7.797 kB / 313.4 MB, free: 9.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009801/0.1524, allocations: 0.8951 MB / 314.3 MB, free: 9.191 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002072/0.1545, allocations: 2.382 MB / 316.7 MB, free: 6.875 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.159e-05/0.1546, allocations: 296.4 kB / 317 MB, free: 6.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003052/0.1549, allocations: 399 kB / 317.4 MB, free: 6.203 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002846/0.1578, allocations: 3.174 MB / 320.6 MB, free: 3.027 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.09e-05/0.1578, allocations: 4 kB / 320.6 MB, free: 3.023 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002197/0.158, allocations: 162.8 kB / 320.7 MB, free: 2.867 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001024/0.1581, allocations: 208 kB / 320.9 MB, free: 2.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/0.1596, allocations: 1.103 MB / 322 MB, free: 1.543 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01828/0.1779, allocations: 11.72 MB / 333.7 MB, free: 6.273 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003311/0.1812, allocations: 2.128 MB / 335.9 MB, free: 4.32 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001954/0.1831, allocations: 1.16 MB / 337 MB, free: 3.203 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002355/0.1834, allocations: 71.41 kB / 337.1 MB, free: 3.137 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.018e-05/0.1834, allocations: 67.33 kB / 337.2 MB, free: 3.059 MB / 282.7 MB Notification: Performance of pre-optimization done (n=249): time 6.352e-06/0.1834, allocations: 0 / 337.2 MB, free: 3.059 MB / 282.7 MB Notification: Performance of matching and sorting (n=256): time 0.01079/0.1942, allocations: 4.488 MB / 341.7 MB, free: 14.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.1942, allocations: 81.42 kB / 341.7 MB, free: 14.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001777/0.196, allocations: 1.751 MB / 343.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001312/0.1962, allocations: 65.7 kB / 343.6 MB, free: 12.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009206/0.1971, allocations: 1.815 MB / 345.4 MB, free: 11.13 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000591/0.1977, allocations: 0.9239 MB / 346.3 MB, free: 10.27 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004857/0.1982, allocations: 449.3 kB / 346.7 MB, free: 9.867 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.1983, allocations: 476.8 kB / 347.2 MB, free: 9.398 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004237/0.1987, allocations: 276.5 kB / 347.5 MB, free: 9.125 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006532/0.1993, allocations: 0.7164 MB / 348.2 MB, free: 8.328 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.2005, allocations: 1.154 MB / 349.3 MB, free: 7.098 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.2005, allocations: 4 kB / 349.3 MB, free: 7.094 MB / 298.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.002807/0.2033, allocations: 2.011 MB / 351.4 MB, free: 5.086 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.2033, allocations: 8 kB / 351.4 MB, free: 5.078 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.2033, allocations: 4 kB / 351.4 MB, free: 5.074 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002374/0.2057, allocations: 1.081 MB / 352.4 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007796/0.2065, allocations: 377.9 kB / 352.8 MB, free: 3.633 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01252/0.219, allocations: 23.65 MB / 376.5 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.2203, allocations: 59.98 kB / 376.5 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.2204, allocations: 63.98 kB / 376.6 MB, free: 11.1 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.000946/0.2214, allocations: 301.8 kB / 376.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004062/0.2218, allocations: 370.2 kB / 377.2 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002589/0.2244, allocations: 2.007 MB / 379.3 MB, free: 8.41 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/0.2244, allocations: 31.94 kB / 379.3 MB, free: 8.379 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.2244, allocations: 8 kB / 379.3 MB, free: 8.371 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.2244, allocations: 15.7 kB / 379.3 MB, free: 8.359 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005861/0.2303, allocations: 4.483 MB / 383.8 MB, free: 4.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.2303, allocations: 3.562 kB / 383.8 MB, free: 4.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000576/0.2308, allocations: 270.5 kB / 384.1 MB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002105/0.2329, allocations: 1.06 MB / 385.1 MB, free: 2.836 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-05/0.233, allocations: 63.97 kB / 385.2 MB, free: 2.773 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01196/0.245, allocations: 23.53 MB / 408.7 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.245, allocations: 0 / 408.7 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003217/0.2482, allocations: 2.5 MB / 411.2 MB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009866/0.2492, allocations: 488 kB / 411.7 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/0.2494, allocations: 48 kB / 411.7 MB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000576/0.25, allocations: 91.95 kB / 411.8 MB, free: 7.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003174/0.2503, allocations: 209.2 kB / 412 MB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.343e-05/0.2504, allocations: 51.98 kB / 412.1 MB, free: 7.086 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008655/0.2512, allocations: 0.9688 MB / 413 MB, free: 6.184 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2512, allocations: 0 / 413 MB, free: 6.184 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002556/0.2538, allocations: 0.9453 MB / 414 MB, free: 5.238 MB / 362.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.000502/0.2543, allocations: 257.5 kB / 414.2 MB, free: 5.004 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00392/0.2582, allocations: 3.472 MB / 417.7 MB, free: 1.379 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.2582, allocations: 8.125 kB / 417.7 MB, free: 1.371 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002957/0.2612, allocations: 3.036 MB / 420.8 MB, free: 14.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002158/0.2633, allocations: 0.7447 MB / 421.5 MB, free: 13.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/0.2744, allocations: 7.089 MB / 428.6 MB, free: 6.332 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001263/0.2757, allocations: 1.253 MB / 429.8 MB, free: 5.051 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009638/0.2766, allocations: 274 kB / 430.1 MB, free: 4.777 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001454/0.2781, allocations: 0.7672 MB / 430.9 MB, free: 4.008 MB / 378.7 MB Notification: Performance of SimCode: time 1.423e-06/0.2781, allocations: 4 kB / 430.9 MB, free: 4.004 MB / 378.7 MB Notification: Performance of Templates: time 0.1802/0.4583, allocations: 55.84 MB / 486.7 MB, free: 81.75 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.42502369498834]