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.001568/0.001568, allocations: 103.6 kB / 21.19 MB, free: 0.668 MB / 14.72 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.001714/0.001714, allocations: 205.2 kB / 24.48 MB, free: 3.969 MB / 14.72 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.446/1.446, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..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.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 47.86 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2264, allocations: 53.37 MB / 432.4 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01186/0.2383, allocations: 9.38 MB / 441.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00659/0.2449, allocations: 3.147 MB / 444.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001949/0.2468, allocations: 111.2 kB / 445 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001927/0.2488, allocations: 0.7293 MB / 445.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003541/0.2523, allocations: 1.185 MB / 446.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.2534, allocations: 479.4 kB / 447.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006209/0.2596, allocations: 5.143 MB / 452.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003425/0.2631, allocations: 2.499 MB / 455 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004465/0.2675, allocations: 2.451 MB / 457.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004802/0.2723, allocations: 2.837 MB / 460.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001142/0.2735, allocations: 0.6211 MB / 460.9 MB, free: 9.988 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001611/0.2751, allocations: 0.7108 MB / 461.6 MB, free: 9.277 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00161/0.2767, allocations: 1.644 MB / 463.3 MB, free: 7.629 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003449/0.2801, allocations: 2.249 MB / 465.5 MB, free: 5.371 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009375/0.2895, allocations: 8.495 MB / 474 MB, free: 12.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.2895, allocations: 0 / 474 MB, free: 12.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2895, allocations: 4 kB / 474 MB, free: 12.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002285/0.2897, allocations: 0 / 474 MB, free: 12.84 MB / 382.1 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.01202/0.3018, allocations: 5.15 MB / 479.2 MB, free: 7.637 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3018, allocations: 16.02 kB / 479.2 MB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001838/0.3037, allocations: 0.6031 MB / 479.8 MB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006476/0.3101, allocations: 2.834 MB / 482.6 MB, free: 4.113 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002845/0.3104, allocations: 291.8 kB / 482.9 MB, free: 3.828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00093/0.3113, allocations: 384 kB / 483.3 MB, free: 3.453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01185/0.3232, allocations: 6.131 MB / 489.4 MB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.543e-05/0.3233, allocations: 4 kB / 489.4 MB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004073/0.3237, allocations: 156 kB / 489.6 MB, free: 13 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002314/0.3239, allocations: 208 kB / 489.8 MB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009149/0.3331, allocations: 5.024 MB / 494.8 MB, free: 7.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02764/0.3607, allocations: 14.13 MB / 0.497 GB, free: 9.359 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005863/0.3666, allocations: 3.882 MB / 0.5008 GB, free: 5.586 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003792/0.3704, allocations: 2.446 MB / 0.5032 GB, free: 3.145 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002671/0.3706, allocations: 69.91 kB / 0.5033 GB, free: 3.078 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.41e-05/0.3707, allocations: 60.56 kB / 0.5033 GB, free: 3.008 MB / 414.1 MB Notification: Performance of pre-optimization done (n=249): time 5.119e-06/0.3707, allocations: 3.938 kB / 0.5033 GB, free: 3.004 MB / 414.1 MB Notification: Performance of matching and sorting (n=256): time 0.02097/0.3917, allocations: 9.998 MB / 0.5131 GB, free: 8.926 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.75e-05/0.3917, allocations: 81.42 kB / 0.5132 GB, free: 8.832 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003613/0.3953, allocations: 2.2 MB / 0.5153 GB, free: 6.594 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003714/0.3957, allocations: 69.7 kB / 0.5154 GB, free: 6.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00142/0.3971, allocations: 1.7 MB / 0.517 GB, free: 4.805 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001018/0.3982, allocations: 0.8908 MB / 0.5179 GB, free: 3.906 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007229/0.3989, allocations: 416.6 kB / 0.5183 GB, free: 3.492 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.399, allocations: 313.1 kB / 0.5186 GB, free: 3.184 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002226/0.4012, allocations: 1.336 MB / 0.5199 GB, free: 1.844 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002567/0.4038, allocations: 1.651 MB / 0.5215 GB, free: 96 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004865/0.4087, allocations: 3.079 MB / 0.5245 GB, free: 12.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/0.4087, allocations: 0 / 0.5245 GB, free: 12.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.008163/0.4168, allocations: 4.404 MB / 0.5288 GB, free: 8.406 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.4169, allocations: 8 kB / 0.5288 GB, free: 8.398 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.4169, allocations: 4 kB / 0.5288 GB, free: 8.395 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005691/0.4226, allocations: 1.647 MB / 0.5304 GB, free: 6.715 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001697/0.4243, allocations: 383.5 kB / 0.5308 GB, free: 6.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2105/0.6348, allocations: 24.25 MB / 0.5545 GB, free: 85.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/0.6365, allocations: 89.86 kB / 0.5546 GB, free: 85.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001887/0.6367, allocations: 80.67 kB / 0.5547 GB, free: 85.79 MB / 446.1 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.001799/0.6385, allocations: 1.406 MB / 0.556 GB, free: 85.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005128/0.639, allocations: 277.1 kB / 0.5563 GB, free: 85.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005657/0.6447, allocations: 4.315 MB / 0.5605 GB, free: 83.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.6447, allocations: 23.69 kB / 0.5605 GB, free: 83.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.6447, allocations: 10.34 kB / 0.5605 GB, free: 83.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.685e-05/0.6447, allocations: 13.17 kB / 0.5606 GB, free: 83.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01082/0.6555, allocations: 7.778 MB / 0.5682 GB, free: 76.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.6555, allocations: 3.938 kB / 0.5682 GB, free: 76.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.6566, allocations: 283.6 kB / 0.5684 GB, free: 75.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00449/0.6611, allocations: 1.616 MB / 0.57 GB, free: 74.28 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001374/0.6612, allocations: 55.98 kB / 0.5701 GB, free: 74.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01696/0.6782, allocations: 24.02 MB / 0.5935 GB, free: 49.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.6782, allocations: 3.938 kB / 0.5935 GB, free: 49.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007113/0.6853, allocations: 6.037 MB / 0.5994 GB, free: 43.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00162/0.6869, allocations: 0.5778 MB / 0.6 GB, free: 42.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004801/0.6874, allocations: 59.98 kB / 0.6 GB, free: 42.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/0.6887, allocations: 124 kB / 0.6002 GB, free: 42.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00046/0.6892, allocations: 225.5 kB / 0.6004 GB, free: 42.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/0.6893, allocations: 67.92 kB / 0.6004 GB, free: 42.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001746/0.691, allocations: 1.537 MB / 0.6019 GB, free: 40.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.691, allocations: 0 / 0.6019 GB, free: 40.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003256/0.6943, allocations: 0.9492 MB / 0.6029 GB, free: 39.82 MB / 446.1 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.00059/0.6949, allocations: 245 kB / 0.6031 GB, free: 39.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005504/0.7004, allocations: 4.769 MB / 0.6078 GB, free: 34.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.7004, allocations: 0 / 0.6078 GB, free: 34.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00364/0.704, allocations: 3.266 MB / 0.6109 GB, free: 31.28 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003128/0.7072, allocations: 0.7289 MB / 0.6117 GB, free: 30.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01146/0.7186, allocations: 8.531 MB / 0.62 GB, free: 22.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002044/0.7207, allocations: 2.569 MB / 0.6225 GB, free: 19.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006162/0.7213, allocations: 159.4 kB / 0.6226 GB, free: 19.26 MB / 446.1 MB Notification: Performance of SimCode: time 1.293e-06/0.7213, allocations: 0 / 0.6226 GB, free: 19.26 MB / 446.1 MB Notification: Performance of Templates: time 0.4172/1.138, allocations: 259.9 MB / 0.8765 GB, free: 49.74 MB / 0.5294 GB " [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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 17.920272802992258]