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.001867/0.001867, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001616/0.001616, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.636/1.636, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.001788/0.001788, allocations: 55.84 kB / 378.2 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2923, allocations: 53.37 MB / 431.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01277/0.305, allocations: 9.395 MB / 441 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008527/0.3136, allocations: 3.131 MB / 444.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002768/0.3163, allocations: 115.2 kB / 444.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002858/0.3192, allocations: 0.7255 MB / 445 MB, free: 9.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007056/0.3262, allocations: 1.177 MB / 446.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001825/0.3281, allocations: 487.4 kB / 446.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008836/0.3369, allocations: 5.151 MB / 451.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00704/0.344, allocations: 2.421 MB / 454.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006791/0.3507, allocations: 2.441 MB / 456.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006745/0.3575, allocations: 2.794 MB / 459.4 MB, free: 10.74 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002181/0.3597, allocations: 0.6211 MB / 460.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003781/0.3634, allocations: 0.6991 MB / 460.8 MB, free: 9.422 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004221/0.3677, allocations: 1.648 MB / 462.4 MB, free: 7.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008274/0.3759, allocations: 2.249 MB / 464.7 MB, free: 5.512 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01628/0.3922, allocations: 8.495 MB / 473.1 MB, free: 12.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.252e-05/0.3922, allocations: 0 / 473.1 MB, free: 12.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.359e-06/0.3922, allocations: 0 / 473.1 MB, free: 12.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005107/0.3927, allocations: 0 / 473.1 MB, free: 12.99 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.02013/0.4129, allocations: 5.159 MB / 478.3 MB, free: 7.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.02e-05/0.413, allocations: 8.031 kB / 478.3 MB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003888/0.4168, allocations: 0.5993 MB / 478.9 MB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008836/0.4257, allocations: 2.838 MB / 481.8 MB, free: 4.254 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003069/0.426, allocations: 295.8 kB / 482 MB, free: 3.965 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001152/0.4271, allocations: 388 kB / 482.4 MB, free: 3.586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01257/0.4397, allocations: 6.127 MB / 488.5 MB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.416e-05/0.4398, allocations: 4 kB / 488.6 MB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003951/0.4402, allocations: 160 kB / 488.7 MB, free: 13.13 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002419/0.4404, allocations: 208 kB / 488.9 MB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01023/0.4506, allocations: 5.02 MB / 493.9 MB, free: 7.887 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03108/0.4817, allocations: 14.12 MB / 0.4961 GB, free: 9.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006786/0.4885, allocations: 3.886 MB / 0.4999 GB, free: 5.719 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004276/0.4928, allocations: 2.446 MB / 0.5023 GB, free: 3.277 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003175/0.4931, allocations: 69.89 kB / 0.5024 GB, free: 3.211 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.329e-05/0.4932, allocations: 60.56 kB / 0.5025 GB, free: 3.141 MB / 414.1 MB Notification: Performance of pre-optimization done (n=249): time 5.199e-06/0.4932, allocations: 4 kB / 0.5025 GB, free: 3.137 MB / 414.1 MB Notification: Performance of matching and sorting (n=256): time 0.02422/0.5174, allocations: 10 MB / 0.5122 GB, free: 9.055 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.655e-05/0.5175, allocations: 77.42 kB / 0.5123 GB, free: 8.965 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005282/0.5228, allocations: 2.204 MB / 0.5145 GB, free: 6.723 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005801/0.5234, allocations: 69.7 kB / 0.5145 GB, free: 6.648 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001636/0.525, allocations: 1.7 MB / 0.5162 GB, free: 4.934 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001319/0.5263, allocations: 0.8831 MB / 0.517 GB, free: 4.043 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007899/0.5271, allocations: 412.7 kB / 0.5174 GB, free: 3.633 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.5273, allocations: 305.1 kB / 0.5177 GB, free: 3.332 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002428/0.5297, allocations: 1.347 MB / 0.519 GB, free: 1.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002509/0.5322, allocations: 1.654 MB / 0.5207 GB, free: 232 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004859/0.5371, allocations: 3.079 MB / 0.5237 GB, free: 13.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.5371, allocations: 0 / 0.5237 GB, free: 13.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.008151/0.5452, allocations: 4.396 MB / 0.528 GB, free: 8.547 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.485e-05/0.5453, allocations: 10.97 kB / 0.528 GB, free: 8.539 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.208e-05/0.5453, allocations: 4 kB / 0.528 GB, free: 8.535 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005459/0.5508, allocations: 1.643 MB / 0.5296 GB, free: 6.859 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001814/0.5526, allocations: 387.5 kB / 0.5299 GB, free: 6.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2987/0.8513, allocations: 24.26 MB / 0.5536 GB, free: 86.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002028/0.8533, allocations: 91.91 kB / 0.5537 GB, free: 86.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002124/0.8535, allocations: 78.97 kB / 0.5538 GB, free: 86.09 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.002108/0.8556, allocations: 1.406 MB / 0.5552 GB, free: 85.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005774/0.8562, allocations: 278.9 kB / 0.5554 GB, free: 85.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005997/0.8622, allocations: 4.318 MB / 0.5597 GB, free: 83.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/0.8622, allocations: 24.41 kB / 0.5597 GB, free: 83.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/0.8622, allocations: 6.906 kB / 0.5597 GB, free: 83.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.932e-05/0.8622, allocations: 13.08 kB / 0.5597 GB, free: 83.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01109/0.8733, allocations: 7.775 MB / 0.5673 GB, free: 76.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.8733, allocations: 4 kB / 0.5673 GB, free: 76.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.8743, allocations: 283.6 kB / 0.5676 GB, free: 76.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004043/0.8784, allocations: 1.617 MB / 0.5691 GB, free: 74.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000142/0.8785, allocations: 55.98 kB / 0.5692 GB, free: 74.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01716/0.8957, allocations: 24.01 MB / 0.5926 GB, free: 49.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.8957, allocations: 0 / 0.5926 GB, free: 49.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007261/0.9029, allocations: 6.048 MB / 0.5986 GB, free: 43.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001627/0.9046, allocations: 0.5782 MB / 0.5991 GB, free: 43.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003313/0.9049, allocations: 60 kB / 0.5992 GB, free: 43.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/0.906, allocations: 123.9 kB / 0.5993 GB, free: 42.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004496/0.9065, allocations: 225.5 kB / 0.5995 GB, free: 42.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000119/0.9066, allocations: 63.98 kB / 0.5996 GB, free: 42.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001686/0.9083, allocations: 1.531 MB / 0.6011 GB, free: 41.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.9083, allocations: 0 / 0.6011 GB, free: 41.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002973/0.9113, allocations: 0.9494 MB / 0.602 GB, free: 40.15 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.0005452/0.9118, allocations: 261.7 kB / 0.6022 GB, free: 39.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005763/0.9176, allocations: 4.761 MB / 0.6069 GB, free: 35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/0.9176, allocations: 7.938 kB / 0.6069 GB, free: 34.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003917/0.9215, allocations: 3.269 MB / 0.6101 GB, free: 31.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003177/0.9247, allocations: 0.7248 MB / 0.6108 GB, free: 30.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/0.9369, allocations: 8.593 MB / 0.6192 GB, free: 22.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002257/0.9391, allocations: 2.647 MB / 0.6218 GB, free: 19.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001456/0.9406, allocations: 0.5173 MB / 0.6223 GB, free: 19.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000373/0.9409, allocations: 151.4 kB / 0.6224 GB, free: 18.92 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.941, allocations: 0 / 0.6224 GB, free: 18.92 MB / 446.1 MB Notification: Performance of Templates: time 0.08938/1.03, allocations: 57.18 MB / 0.6783 GB, free: 10.51 MB / 494.1 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=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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins/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: 7.685924496501684]