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.002543/0.002543, allocations: 99.53 kB / 21.73 MB, free: 2.688 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.003184/0.003184, allocations: 169.7 kB / 25.03 MB, free: 8.414 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 1.371/1.371, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..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.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 250.4 MB, free: 7.809 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.951e-05/3.073e-05, allocations: 6.25 kB / 250.4 MB, free: 7.801 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.0149/0.01493, allocations: 10.43 MB / 260.8 MB, free: 13.32 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006915/0.02185, allocations: 3.257 MB / 264.1 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001138/0.02299, allocations: 99.19 kB / 264.2 MB, free: 9.953 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001964/0.02495, allocations: 0.7253 MB / 264.9 MB, free: 9.223 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003048/0.028, allocations: 1.226 MB / 266.1 MB, free: 7.988 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.02907, allocations: 0.507 MB / 266.6 MB, free: 7.48 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.006954/0.03603, allocations: 5.468 MB / 272.1 MB, free: 1.988 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003464/0.03949, allocations: 2.246 MB / 274.4 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007312/0.0468, allocations: 3.623 MB / 278 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005311/0.05212, allocations: 2.717 MB / 280.7 MB, free: 9.344 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00125/0.05337, allocations: 0.6211 MB / 281.3 MB, free: 8.723 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001834/0.0552, allocations: 0.7068 MB / 282 MB, free: 8.016 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001941/0.05714, allocations: 1.714 MB / 283.7 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003434/0.06057, allocations: 1.953 MB / 285.7 MB, free: 4.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01114/0.07171, allocations: 8.601 MB / 294.3 MB, free: 11.71 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.07172, allocations: 0 / 294.3 MB, free: 11.71 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.07172, allocations: 0 / 294.3 MB, free: 11.71 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001618/0.07188, allocations: 0 / 294.3 MB, free: 11.71 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.01275/0.08463, allocations: 5.809 MB / 300.1 MB, free: 5.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.08467, allocations: 11.98 kB / 300.1 MB, free: 5.828 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002317/0.08699, allocations: 0.8922 MB / 301 MB, free: 4.934 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005323/0.09231, allocations: 2.384 MB / 303.4 MB, free: 2.48 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002751/0.09259, allocations: 296.2 kB / 303.7 MB, free: 2.191 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000679/0.09326, allocations: 403.9 kB / 304.1 MB, free: 1.797 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01126/0.1045, allocations: 6.068 MB / 310.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.346e-05/0.1046, allocations: 0 / 310.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000411/0.105, allocations: 168 kB / 310.3 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002579/0.1053, allocations: 208 kB / 310.5 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009239/0.1145, allocations: 4.356 MB / 314.9 MB, free: 6.801 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03777/0.1523, allocations: 20.47 MB / 335.3 MB, free: 1.551 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006337/0.1586, allocations: 3.479 MB / 338.8 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003868/0.1625, allocations: 2.133 MB / 341 MB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003034/0.1628, allocations: 69.97 kB / 341 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.862e-05/0.1629, allocations: 67.39 kB / 341.1 MB, free: 11.9 MB / 330.7 MB Notification: Performance of pre-optimization done (n=249): time 4.899e-06/0.1629, allocations: 0 / 341.1 MB, free: 11.9 MB / 330.7 MB Notification: Performance of matching and sorting (n=256): time 0.02191/0.1848, allocations: 8.8 MB / 349.9 MB, free: 3.008 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.853e-05/0.1849, allocations: 81.36 kB / 350 MB, free: 2.914 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004722/0.1896, allocations: 2.537 MB / 352.5 MB, free: 340 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003671/0.19, allocations: 69.7 kB / 352.6 MB, free: 264 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1115/0.3015, allocations: 1.902 MB / 354.5 MB, free: 95.91 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009504/0.3024, allocations: 0.9772 MB / 355.5 MB, free: 95.46 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007739/0.3032, allocations: 0.5175 MB / 356 MB, free: 95.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.106e-05/0.3033, allocations: 478.3 kB / 356.4 MB, free: 94.96 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/0.3048, allocations: 1.046 MB / 357.5 MB, free: 94.95 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00171/0.3065, allocations: 1.557 MB / 359 MB, free: 94.58 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003147/0.3096, allocations: 2.781 MB / 361.8 MB, free: 93.86 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.3096, allocations: 5.125 kB / 361.8 MB, free: 93.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.005802/0.3154, allocations: 3.922 MB / 365.7 MB, free: 92.26 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.3154, allocations: 7.281 kB / 365.8 MB, free: 92.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.3155, allocations: 7.531 kB / 365.8 MB, free: 92.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005272/0.3207, allocations: 1.615 MB / 367.4 MB, free: 91.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/0.3222, allocations: 393.1 kB / 367.8 MB, free: 91.44 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01839/0.3406, allocations: 29.09 MB / 396.9 MB, free: 61.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001896/0.3425, allocations: 91.92 kB / 396.9 MB, free: 61.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002472/0.3427, allocations: 76 kB / 397 MB, free: 61.35 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.001673/0.3444, allocations: 1.222 MB / 398.2 MB, free: 60.12 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006775/0.3451, allocations: 370.4 kB / 398.6 MB, free: 59.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005766/0.3509, allocations: 3.746 MB / 402.3 MB, free: 55.92 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/0.3509, allocations: 28 kB / 402.4 MB, free: 55.89 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/0.3509, allocations: 11.98 kB / 402.4 MB, free: 55.88 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.921e-05/0.3509, allocations: 11.95 kB / 402.4 MB, free: 55.87 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01283/0.3637, allocations: 8.292 MB / 410.7 MB, free: 47.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.846e-06/0.3637, allocations: 8.062 kB / 410.7 MB, free: 47.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.3648, allocations: 283.6 kB / 411 MB, free: 47.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004988/0.3698, allocations: 1.549 MB / 412.5 MB, free: 45.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001698/0.37, allocations: 59.98 kB / 412.6 MB, free: 45.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0177/0.3877, allocations: 28.24 MB / 440.8 MB, free: 16.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3877, allocations: 0 / 440.8 MB, free: 16.18 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006854/0.3945, allocations: 4.913 MB / 445.7 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001654/0.3962, allocations: 0.5354 MB / 446.3 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003479/0.3965, allocations: 63.98 kB / 446.3 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/0.3978, allocations: 111.9 kB / 446.4 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004623/0.3982, allocations: 241.5 kB / 446.7 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/0.3984, allocations: 67.98 kB / 446.7 MB, free: 10.13 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001744/0.4001, allocations: 1.534 MB / 448.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4001, allocations: 0 / 448.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002899/0.403, allocations: 0.9529 MB / 449.2 MB, free: 7.633 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.0005375/0.4036, allocations: 240.4 kB / 449.5 MB, free: 7.395 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005312/0.4089, allocations: 4.94 MB / 454.4 MB, free: 2.258 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4089, allocations: 0 / 454.4 MB, free: 2.258 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004445/0.4133, allocations: 3.688 MB / 458.1 MB, free: 14.39 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003281/0.4166, allocations: 0.7511 MB / 458.8 MB, free: 13.64 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01444/0.431, allocations: 7.777 MB / 466.6 MB, free: 5.824 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003279/0.4343, allocations: 2.428 MB / 469.1 MB, free: 3.359 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001698/0.436, allocations: 417.7 kB / 469.5 MB, free: 2.945 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00048/0.4365, allocations: 156.4 kB / 469.6 MB, free: 2.793 MB / 346.7 MB Notification: Performance of SimCode: time 1.292e-06/0.4365, allocations: 0 / 469.6 MB, free: 2.793 MB / 346.7 MB Notification: Performance of Templates: time 0.1868/0.6233, allocations: 52.46 MB / 0.5098 GB, free: 86.37 MB / 362.7 MB " [Timeout remaining time 659] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.323214881005697]