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.001361/0.001361, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 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.001417/0.001417, allocations: 187.5 kB / 24.46 MB, free: 3.863 MB / 14.72 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.408/1.408, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] 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.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.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.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.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 43.92 kB / 371.7 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2302, allocations: 52.18 MB / 423.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01244/0.2426, allocations: 9.37 MB / 433.2 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006788/0.2494, allocations: 3.073 MB / 436.3 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001835/0.2512, allocations: 115.2 kB / 436.4 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002129/0.2534, allocations: 0.7177 MB / 437.1 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003486/0.2568, allocations: 1.189 MB / 438.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.258, allocations: 475.4 kB / 438.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006322/0.2643, allocations: 5.131 MB / 443.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00371/0.268, allocations: 2.429 MB / 446.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004645/0.2726, allocations: 2.441 MB / 448.8 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004689/0.2773, allocations: 2.783 MB / 451.6 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001312/0.2787, allocations: 0.625 MB / 452.2 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001703/0.2804, allocations: 0.6991 MB / 452.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001996/0.2824, allocations: 1.644 MB / 454.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003835/0.2862, allocations: 2.249 MB / 456.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01017/0.2964, allocations: 8.487 MB / 465.3 MB, free: 4.859 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.2964, allocations: 0 / 465.3 MB, free: 4.859 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2964, allocations: 4 kB / 465.3 MB, free: 4.855 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002309/0.2966, allocations: 0 / 465.3 MB, free: 4.855 MB / 366.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.0127/0.3093, allocations: 5.145 MB / 470.4 MB, free: 15.65 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.3093, allocations: 12.03 kB / 470.4 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0017/0.311, allocations: 0.5681 MB / 471 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006192/0.3172, allocations: 2.82 MB / 473.8 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002809/0.3175, allocations: 295.8 kB / 474.1 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009884/0.3185, allocations: 387.9 kB / 474.5 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01184/0.3303, allocations: 6.135 MB / 480.6 MB, free: 5.215 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.792e-05/0.3304, allocations: 3.938 kB / 480.6 MB, free: 5.211 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000411/0.3308, allocations: 156 kB / 480.8 MB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002251/0.3311, allocations: 204 kB / 481 MB, free: 4.855 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00964/0.3407, allocations: 5.016 MB / 486 MB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02574/0.3664, allocations: 14.12 MB / 0.4884 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005769/0.3722, allocations: 3.901 MB / 0.4922 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003765/0.376, allocations: 2.439 MB / 0.4946 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002686/0.3762, allocations: 65.91 kB / 0.4946 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.906e-05/0.3763, allocations: 60.5 kB / 0.4947 GB, free: 11.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=249): time 5.01e-06/0.3763, allocations: 0 / 0.4947 GB, free: 11.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=256): time 0.02039/0.3967, allocations: 10.02 MB / 0.5045 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.92e-05/0.3968, allocations: 81.36 kB / 0.5046 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003581/0.4003, allocations: 2.192 MB / 0.5067 GB, free: 14.65 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003003/0.4006, allocations: 73.7 kB / 0.5068 GB, free: 14.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00136/0.402, allocations: 1.696 MB / 0.5084 GB, free: 12.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000899/0.4029, allocations: 0.8831 MB / 0.5093 GB, free: 11.97 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006885/0.4036, allocations: 416.7 kB / 0.5097 GB, free: 11.55 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.4037, allocations: 301.1 kB / 0.51 GB, free: 11.26 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00214/0.4058, allocations: 1.332 MB / 0.5113 GB, free: 9.922 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002386/0.4082, allocations: 1.658 MB / 0.5129 GB, free: 8.164 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004557/0.4128, allocations: 3.087 MB / 0.5159 GB, free: 4.953 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.473e-06/0.4128, allocations: 0 / 0.5159 GB, free: 4.953 MB / 430.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007797/0.4206, allocations: 4.4 MB / 0.5202 GB, free: 484 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.4206, allocations: 10.97 kB / 0.5202 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.4206, allocations: 4 kB / 0.5202 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005265/0.4259, allocations: 1.639 MB / 0.5218 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00162/0.4275, allocations: 395.4 kB / 0.5222 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2115/0.639, allocations: 24.25 MB / 0.5459 GB, free: 98.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/0.6408, allocations: 91.02 kB / 0.546 GB, free: 98.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/0.641, allocations: 77.7 kB / 0.5461 GB, free: 98.08 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.002393/0.6434, allocations: 1.405 MB / 0.5474 GB, free: 97.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006641/0.644, allocations: 283.8 kB / 0.5477 GB, free: 97.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006008/0.65, allocations: 4.311 MB / 0.5519 GB, free: 95.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.6501, allocations: 23.09 kB / 0.5519 GB, free: 95.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.771e-05/0.6501, allocations: 8.656 kB / 0.5519 GB, free: 95.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.035e-05/0.6501, allocations: 15.75 kB / 0.552 GB, free: 95.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01139/0.6615, allocations: 7.761 MB / 0.5595 GB, free: 90.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.168e-06/0.6615, allocations: 5.453 kB / 0.5595 GB, free: 90.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/0.6626, allocations: 289.9 kB / 0.5598 GB, free: 90.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004359/0.6669, allocations: 1.61 MB / 0.5614 GB, free: 88.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002122/0.6672, allocations: 59.92 kB / 0.5614 GB, free: 88.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01778/0.6849, allocations: 24.01 MB / 0.5849 GB, free: 63.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.6849, allocations: 4.031 kB / 0.5849 GB, free: 63.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007585/0.6925, allocations: 6.026 MB / 0.5908 GB, free: 57.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001702/0.6942, allocations: 0.5826 MB / 0.5913 GB, free: 57.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003941/0.6946, allocations: 63.86 kB / 0.5914 GB, free: 57.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/0.6959, allocations: 123.9 kB / 0.5915 GB, free: 57.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004522/0.6963, allocations: 228.9 kB / 0.5917 GB, free: 56.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001307/0.6965, allocations: 63.98 kB / 0.5918 GB, free: 56.83 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001771/0.6982, allocations: 1.523 MB / 0.5933 GB, free: 55.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6982, allocations: 4 kB / 0.5933 GB, free: 55.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003067/0.7013, allocations: 0.9472 MB / 0.5942 GB, free: 54.34 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.0005538/0.7018, allocations: 250.9 kB / 0.5945 GB, free: 54.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005508/0.7074, allocations: 4.756 MB / 0.5991 GB, free: 49.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.7074, allocations: 7.75 kB / 0.5991 GB, free: 49.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003681/0.711, allocations: 3.268 MB / 0.6023 GB, free: 45.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00343/0.7145, allocations: 0.7326 MB / 0.603 GB, free: 45.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01328/0.7278, allocations: 8.526 MB / 0.6113 GB, free: 36.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002601/0.7304, allocations: 2.557 MB / 0.6138 GB, free: 33.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006675/0.731, allocations: 159.4 kB / 0.614 GB, free: 33.79 MB / 446.1 MB Notification: Performance of SimCode: time 9.12e-07/0.731, allocations: 3.938 kB / 0.614 GB, free: 33.79 MB / 446.1 MB Notification: Performance of Templates: time 0.4221/1.153, allocations: 259.4 MB / 0.8673 GB, free: 72.86 MB / 0.5294 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 18.384275780059397]