Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001164/0.001164, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001719/0.002883, allocations: 449.7 kB / 10.37 MB, free: 328 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.001177/0.001177, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001283/0.002459, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 1.002/1.002, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09315/1.096, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.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.1.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.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 3.938 kB / 244.6 MB, free: 14.29 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.829e-05/1.969e-05, allocations: 2.312 kB / 244.6 MB, free: 14.29 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.008494/0.008514, allocations: 10.38 MB / 254.9 MB, free: 3.855 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006158/0.01467, allocations: 3.371 MB / 258.3 MB, free: 484 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001452/0.01612, allocations: 111.2 kB / 258.4 MB, free: 372 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001339/0.01746, allocations: 0.7565 MB / 259.2 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002387/0.01985, allocations: 1.222 MB / 260.4 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000777/0.02063, allocations: 491.3 kB / 260.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004284/0.02491, allocations: 5.363 MB / 266.2 MB, free: 8.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002173/0.02708, allocations: 2.507 MB / 268.7 MB, free: 5.883 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005533/0.03262, allocations: 3.935 MB / 272.7 MB, free: 1.941 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1134/0.146, allocations: 2.73 MB / 275.4 MB, free: 6.023 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002022/0.148, allocations: 0.6219 MB / 276 MB, free: 6.023 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002438/0.1505, allocations: 0.7153 MB / 276.7 MB, free: 6.023 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002073/0.1525, allocations: 1.401 MB / 278.1 MB, free: 6.023 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004003/0.1565, allocations: 1.616 MB / 279.8 MB, free: 6.023 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005612/0.1621, allocations: 4.328 MB / 284.1 MB, free: 5.637 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.291e-05/0.1622, allocations: 0 / 284.1 MB, free: 5.637 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1622, allocations: 0 / 284.1 MB, free: 5.637 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002445/0.1624, allocations: 3.922 kB / 284.1 MB, free: 5.637 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.009063/0.1715, allocations: 5.798 MB / 289.9 MB, free: 3.746 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.1715, allocations: 9.625 kB / 289.9 MB, free: 3.746 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/0.1727, allocations: 0.8333 MB / 290.7 MB, free: 3.645 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002405/0.1751, allocations: 1.709 MB / 292.4 MB, free: 3.012 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/0.1753, allocations: 293.4 kB / 292.7 MB, free: 3.004 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003847/0.1757, allocations: 396 kB / 293.1 MB, free: 3 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004113/0.1798, allocations: 3.234 MB / 296.4 MB, free: 2.266 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.045e-05/0.1798, allocations: 4 kB / 296.4 MB, free: 2.262 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002608/0.1801, allocations: 159.8 kB / 296.5 MB, free: 2.262 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001372/0.1802, allocations: 208 kB / 296.7 MB, free: 2.242 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/0.1822, allocations: 1.183 MB / 297.9 MB, free: 1.477 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01415/0.1963, allocations: 9.142 MB / 307 MB, free: 9.523 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002145/0.1985, allocations: 1.943 MB / 309 MB, free: 7.633 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/0.1996, allocations: 1.066 MB / 310.1 MB, free: 6.613 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002272/0.1998, allocations: 64.83 kB / 310.1 MB, free: 6.551 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.622e-05/0.1999, allocations: 71.78 kB / 310.2 MB, free: 6.477 MB / 282.7 MB Notification: Performance of pre-optimization done (n=249): time 5.401e-06/0.1999, allocations: 0 / 310.2 MB, free: 6.477 MB / 282.7 MB Notification: Performance of matching and sorting (n=256): time 0.008375/0.2083, allocations: 4.111 MB / 314.3 MB, free: 2.391 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.2083, allocations: 81.41 kB / 314.4 MB, free: 2.297 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/0.21, allocations: 1.439 MB / 315.8 MB, free: 1.094 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001329/0.2102, allocations: 65.7 kB / 315.9 MB, free: 1.023 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005966/0.2108, allocations: 1.381 MB / 317.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004756/0.2113, allocations: 0.8765 MB / 318.1 MB, free: 14.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004123/0.2117, allocations: 387.8 kB / 318.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.674e-05/0.2117, allocations: 301.1 kB / 318.8 MB, free: 14.26 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004485/0.2122, allocations: 292 kB / 319.1 MB, free: 13.97 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009789/0.2132, allocations: 0.5517 MB / 319.6 MB, free: 13.37 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.2142, allocations: 1.062 MB / 320.7 MB, free: 12.26 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/0.2142, allocations: 0 / 320.7 MB, free: 12.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.002431/0.2167, allocations: 1.66 MB / 322.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.2167, allocations: 13.7 kB / 322.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.2167, allocations: 8 kB / 322.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002383/0.2191, allocations: 1.036 MB / 323.4 MB, free: 9.562 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.2202, allocations: 498.6 kB / 323.9 MB, free: 9.098 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01092/0.2311, allocations: 17.39 MB / 341.3 MB, free: 7.105 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.2323, allocations: 63.92 kB / 341.4 MB, free: 7.043 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/0.2324, allocations: 62.72 kB / 341.4 MB, free: 6.984 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.001424/0.2339, allocations: 241.8 kB / 341.7 MB, free: 6.758 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005372/0.2344, allocations: 271.7 kB / 341.9 MB, free: 6.492 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002959/0.2374, allocations: 1.744 MB / 343.7 MB, free: 4.734 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.2374, allocations: 28 kB / 343.7 MB, free: 4.707 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.73e-05/0.2374, allocations: 8.062 kB / 343.7 MB, free: 4.699 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.081e-05/0.2374, allocations: 19.94 kB / 343.7 MB, free: 4.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007052/0.2445, allocations: 3.727 MB / 347.5 MB, free: 1.246 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.2445, allocations: 4 kB / 347.5 MB, free: 1.242 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.2455, allocations: 345.7 kB / 347.8 MB, free: 0.918 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008972/0.2464, allocations: 336.9 kB / 348.1 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003068/0.2495, allocations: 1.035 MB / 349.2 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001387/0.2496, allocations: 55.97 kB / 349.2 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01367/0.2633, allocations: 17.6 MB / 366.8 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/0.2633, allocations: 0 / 366.8 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003989/0.2673, allocations: 2.138 MB / 369 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005158/0.2678, allocations: 59.98 kB / 369 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000886/0.2687, allocations: 91.95 kB / 369.1 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004258/0.2691, allocations: 209.4 kB / 369.3 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001285/0.2692, allocations: 47.98 kB / 369.4 MB, free: 10.73 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001185/0.2704, allocations: 0.7688 MB / 370.1 MB, free: 10.02 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.2704, allocations: 4 kB / 370.1 MB, free: 10.02 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003478/0.2739, allocations: 0.9492 MB / 371.1 MB, free: 9.07 MB / 346.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.0008157/0.2747, allocations: 237.2 kB / 371.3 MB, free: 8.863 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003677/0.2784, allocations: 2.795 MB / 374.1 MB, free: 5.996 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.715e-05/0.2785, allocations: 48.62 kB / 374.2 MB, free: 5.949 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002654/0.2811, allocations: 2.377 MB / 376.5 MB, free: 3.508 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002988/0.2841, allocations: 0.9704 MB / 377.5 MB, free: 2.547 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02891/0.313, allocations: 7.591 MB / 385.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001791/0.3148, allocations: 1.059 MB / 386.1 MB, free: 9.871 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001313/0.3161, allocations: 278.8 kB / 386.4 MB, free: 9.594 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001359/0.3175, allocations: 0.6787 MB / 387.1 MB, free: 8.895 MB / 362.7 MB Notification: Performance of SimCode: time 3.186e-06/0.3175, allocations: 0 / 387.1 MB, free: 8.895 MB / 362.7 MB Notification: Performance of Templates: time 0.1893/0.5068, allocations: 58.75 MB / 445.8 MB, free: 116.4 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.497797419317067]