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.0009221/0.0009221, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0009905/0.0009905, allocations: 148.1 kB / 24.89 MB, free: 8.781 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 1.016/1.016, allocations: 173.3 MB / 201.5 MB, free: 8.762 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.182e-06/1.182e-06, allocations: 0 / 268.5 MB, free: 5.969 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.218e-05/1.337e-05, allocations: 2.312 kB / 268.5 MB, free: 5.965 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.007433/0.007446, allocations: 10.31 MB / 278.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004372/0.01182, allocations: 3.297 MB / 282.1 MB, free: 8.301 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006038/0.01242, allocations: 111.2 kB / 282.3 MB, free: 8.191 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.0135, allocations: 0.7451 MB / 283 MB, free: 7.441 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001685/0.01518, allocations: 1.23 MB / 284.2 MB, free: 6.203 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000584/0.01577, allocations: 479.3 kB / 284.7 MB, free: 5.734 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00316/0.01893, allocations: 5.328 MB / 290 MB, free: 388 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1118/0.1307, allocations: 2.505 MB / 292.5 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004861/0.1356, allocations: 3.627 MB / 296.2 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003842/0.1394, allocations: 2.739 MB / 298.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001254/0.1407, allocations: 0.6212 MB / 299.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.1418, allocations: 0.7068 MB / 300.2 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001016/0.1428, allocations: 1.723 MB / 302 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00136/0.1442, allocations: 1.958 MB / 303.9 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00285/0.147, allocations: 4.592 MB / 308.5 MB, free: 12.31 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.1471, allocations: 0 / 308.5 MB, free: 12.31 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1471, allocations: 1.719 kB / 308.5 MB, free: 12.31 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.076e-05/0.1471, allocations: 0 / 308.5 MB, free: 12.31 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.004488/0.1516, allocations: 4.825 MB / 313.3 MB, free: 9.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.1516, allocations: 10.89 kB / 313.3 MB, free: 9.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.1527, allocations: 0.7417 MB / 314.1 MB, free: 9.301 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001894/0.1546, allocations: 1.693 MB / 315.8 MB, free: 7.676 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.1547, allocations: 291.9 kB / 316.1 MB, free: 7.395 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003532/0.155, allocations: 391.4 kB / 316.4 MB, free: 7.016 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003041/0.1581, allocations: 3.229 MB / 319.7 MB, free: 3.801 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.471e-05/0.1581, allocations: 0 / 319.7 MB, free: 3.801 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002576/0.1584, allocations: 166.1 kB / 319.8 MB, free: 3.645 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001179/0.1585, allocations: 204 kB / 320 MB, free: 3.441 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001901/0.1604, allocations: 1.184 MB / 321.2 MB, free: 2.242 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01044/0.1708, allocations: 9.082 MB / 330.3 MB, free: 9.547 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/0.1726, allocations: 1.934 MB / 332.2 MB, free: 7.66 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001043/0.1737, allocations: 1.061 MB / 333.3 MB, free: 6.637 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001602/0.1738, allocations: 77.88 kB / 333.4 MB, free: 6.566 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.1739, allocations: 71.19 kB / 333.4 MB, free: 6.492 MB / 282.7 MB Notification: Performance of pre-optimization done (n=249): time 3.767e-06/0.1739, allocations: 4 kB / 333.4 MB, free: 6.488 MB / 282.7 MB Notification: Performance of matching and sorting (n=256): time 0.006239/0.1801, allocations: 4.098 MB / 337.5 MB, free: 2.406 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.1801, allocations: 81.42 kB / 337.6 MB, free: 2.312 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.1812, allocations: 1.428 MB / 339 MB, free: 1.117 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001086/0.1813, allocations: 69.7 kB / 339.1 MB, free: 1.043 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005681/0.1819, allocations: 1.382 MB / 340.5 MB, free: 15.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004219/0.1823, allocations: 0.8695 MB / 341.4 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000394/0.1827, allocations: 387.5 kB / 341.7 MB, free: 14.58 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.634e-05/0.1828, allocations: 301.1 kB / 342 MB, free: 14.28 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004133/0.1832, allocations: 300 kB / 342.3 MB, free: 13.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005342/0.1837, allocations: 0.5584 MB / 342.9 MB, free: 13.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.1848, allocations: 1.07 MB / 344 MB, free: 12.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.1848, allocations: 0 / 344 MB, free: 12.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.002083/0.1869, allocations: 1.644 MB / 345.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.1869, allocations: 11.98 kB / 345.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.1869, allocations: 8.781 kB / 345.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002117/0.189, allocations: 1.021 MB / 346.6 MB, free: 9.594 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009807/0.19, allocations: 478 kB / 347.1 MB, free: 9.145 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0115/0.2015, allocations: 17.39 MB / 364.5 MB, free: 7.148 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.2026, allocations: 72 kB / 364.6 MB, free: 7.078 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/0.2027, allocations: 56 kB / 364.6 MB, free: 7.023 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.001287/0.204, allocations: 241.4 kB / 364.9 MB, free: 6.797 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004239/0.2044, allocations: 267.7 kB / 365.1 MB, free: 6.535 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002236/0.2067, allocations: 1.739 MB / 366.9 MB, free: 4.777 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.2067, allocations: 24 kB / 366.9 MB, free: 4.754 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/0.2067, allocations: 12 kB / 366.9 MB, free: 4.742 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.2067, allocations: 11.95 kB / 366.9 MB, free: 4.73 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005062/0.2118, allocations: 3.727 MB / 370.6 MB, free: 1.297 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.2118, allocations: 7.984 kB / 370.6 MB, free: 1.289 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007271/0.2125, allocations: 322.8 kB / 371 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002088/0.2146, allocations: 1.025 MB / 372 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001277/0.2147, allocations: 55.98 kB / 372 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01104/0.2258, allocations: 17.59 MB / 389.6 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2258, allocations: 4 kB / 389.6 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00351/0.2293, allocations: 2.143 MB / 391.8 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007948/0.2301, allocations: 332.8 kB / 392.1 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002742/0.2304, allocations: 51.98 kB / 392.2 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007952/0.2312, allocations: 95.95 kB / 392.2 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004261/0.2316, allocations: 213.1 kB / 392.5 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/0.2317, allocations: 47.98 kB / 392.5 MB, free: 10.8 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009369/0.2326, allocations: 0.7611 MB / 393.3 MB, free: 10.1 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2326, allocations: 0 / 393.3 MB, free: 10.1 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003095/0.2357, allocations: 0.9491 MB / 394.2 MB, free: 9.152 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.0005416/0.2363, allocations: 229.5 kB / 394.4 MB, free: 8.949 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003422/0.2397, allocations: 2.786 MB / 397.2 MB, free: 6.094 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.078e-05/0.2397, allocations: 24.5 kB / 397.2 MB, free: 6.07 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002626/0.2424, allocations: 2.379 MB / 399.6 MB, free: 3.598 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002173/0.2445, allocations: 0.756 MB / 400.4 MB, free: 2.848 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.2549, allocations: 6.898 MB / 407.3 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/0.2561, allocations: 1.027 MB / 408.3 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008193/0.2569, allocations: 274 kB / 408.6 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001635/0.2586, allocations: 0.6825 MB / 409.3 MB, free: 9.898 MB / 362.7 MB Notification: Performance of SimCode: time 1.192e-06/0.2586, allocations: 0 / 409.3 MB, free: 9.898 MB / 362.7 MB Notification: Performance of Templates: time 0.196/0.4546, allocations: 55.89 MB / 465.1 MB, free: 106.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 -s gbode -gbm=radauIIA3 -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.235914772842079]