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.001492/0.001492, allocations: 120.8 kB / 18.46 MB, free: 4.473 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.001549/0.001549, allocations: 190.9 kB / 21.4 MB, free: 1.535 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.407/1.407, allocations: 225.6 MB / 249.8 MB, free: 3.621 MB / 190.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.001528/0.001528, allocations: 51.91 kB / 366.8 MB, free: 288 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08991/0.09143, allocations: 52.13 MB / 419 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01266/0.1041, allocations: 10.77 MB / 429.8 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00631/0.1104, allocations: 3.174 MB / 432.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001586/0.112, allocations: 87.62 kB / 433 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001862/0.1139, allocations: 0.741 MB / 433.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003275/0.1171, allocations: 1.173 MB / 434.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.1182, allocations: 463.4 kB / 435.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006144/0.1243, allocations: 5.132 MB / 440.5 MB, free: 6.434 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004395/0.1287, allocations: 3.452 MB / 444 MB, free: 2.895 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004789/0.1335, allocations: 2.386 MB / 446.4 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1816/0.3151, allocations: 2.831 MB / 449.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001112/0.3162, allocations: 0.6232 MB / 449.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00155/0.3178, allocations: 0.7035 MB / 450.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001409/0.3192, allocations: 1.648 MB / 452.2 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0042/0.3234, allocations: 2.768 MB / 454.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009467/0.3329, allocations: 8.428 MB / 463.4 MB, free: 9.961 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.3329, allocations: 0 / 463.4 MB, free: 9.961 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3329, allocations: 1.062 kB / 463.4 MB, free: 9.961 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002106/0.3331, allocations: 0 / 463.4 MB, free: 9.961 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.01216/0.3452, allocations: 5.227 MB / 468.6 MB, free: 6.957 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.3453, allocations: 8.781 kB / 468.6 MB, free: 6.957 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001665/0.3469, allocations: 0.576 MB / 469.2 MB, free: 6.672 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004703/0.3516, allocations: 2.87 MB / 472 MB, free: 4.855 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001813/0.3518, allocations: 297 kB / 472.3 MB, free: 4.723 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006856/0.3525, allocations: 382.1 kB / 472.7 MB, free: 4.602 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009739/0.3622, allocations: 5.796 MB / 478.5 MB, free: 1.199 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.092e-05/0.3623, allocations: 1.094 kB / 478.5 MB, free: 1.199 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004064/0.3627, allocations: 166 kB / 478.7 MB, free: 1.074 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001848/0.3629, allocations: 206.5 kB / 478.9 MB, free: 1.035 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008917/0.3718, allocations: 5.027 MB / 483.9 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03098/0.4028, allocations: 16.22 MB / 0.4884 GB, free: 1.824 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007989/0.4108, allocations: 6.609 MB / 0.4948 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004448/0.4152, allocations: 2.454 MB / 0.4972 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003637/0.4156, allocations: 138.8 kB / 0.4974 GB, free: 8.098 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.647e-05/0.4157, allocations: 64.12 kB / 0.4974 GB, free: 8.027 MB / 398.1 MB Notification: Performance of pre-optimization done (n=249): time 4.849e-06/0.4157, allocations: 0.6562 kB / 0.4974 GB, free: 8.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=256): time 0.02426/0.4399, allocations: 10.73 MB / 0.5079 GB, free: 13.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.378e-05/0.44, allocations: 77.42 kB / 0.508 GB, free: 13.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005105/0.4451, allocations: 2.632 MB / 0.5106 GB, free: 10.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003734/0.4455, allocations: 65.7 kB / 0.5106 GB, free: 10.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001555/0.447, allocations: 1.678 MB / 0.5123 GB, free: 8.605 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00103/0.4481, allocations: 0.8867 MB / 0.5131 GB, free: 7.734 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009409/0.449, allocations: 419.6 kB / 0.5135 GB, free: 7.324 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.4491, allocations: 305.1 kB / 0.5138 GB, free: 7.023 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002426/0.4516, allocations: 1.347 MB / 0.5151 GB, free: 5.676 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002587/0.4542, allocations: 1.646 MB / 0.5167 GB, free: 3.938 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00493/0.4591, allocations: 3.078 MB / 0.5197 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/0.4591, allocations: 0 / 0.5197 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.008719/0.4678, allocations: 4.438 MB / 0.5241 GB, free: 12.32 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.4678, allocations: 8 kB / 0.5241 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/0.4679, allocations: 4 kB / 0.5241 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005785/0.4737, allocations: 1.652 MB / 0.5257 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/0.4754, allocations: 388 kB / 0.5261 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03052/0.5059, allocations: 25.74 MB / 0.5512 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002667/0.5086, allocations: 104 kB / 0.5513 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005641/0.5091, allocations: 80 kB / 0.5514 GB, free: 15.13 MB / 462.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.003307/0.5125, allocations: 1.404 MB / 0.5528 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001017/0.5135, allocations: 314.1 kB / 0.5531 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008719/0.5222, allocations: 4.345 MB / 0.5573 GB, free: 9.039 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/0.5222, allocations: 24 kB / 0.5573 GB, free: 9.016 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-05/0.5222, allocations: 8 kB / 0.5573 GB, free: 9.008 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.1e-05/0.5223, allocations: 15.94 kB / 0.5573 GB, free: 8.992 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01732/0.5396, allocations: 8.737 MB / 0.5659 GB, free: 260 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.5396, allocations: 0 / 0.5659 GB, free: 260 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/0.5409, allocations: 293.9 kB / 0.5662 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005493/0.5464, allocations: 1.618 MB / 0.5677 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002655/0.5467, allocations: 55.98 kB / 0.5678 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02905/0.5757, allocations: 25.5 MB / 0.5927 GB, free: 3.562 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.5757, allocations: 3.984 kB / 0.5927 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01078/0.5865, allocations: 6.068 MB / 0.5986 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0019/0.5884, allocations: 0.6826 MB / 0.5993 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005189/0.5889, allocations: 63.98 kB / 0.5994 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001499/0.5904, allocations: 115.9 kB / 0.5995 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005636/0.591, allocations: 216.4 kB / 0.5997 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001704/0.5911, allocations: 67.98 kB / 0.5997 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00308/0.5942, allocations: 1.848 MB / 0.6015 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.5942, allocations: 0 / 0.6015 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004157/0.5984, allocations: 0.957 MB / 0.6025 GB, free: 9.445 MB / 0.4981 GB 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.0006826/0.599, allocations: 252 kB / 0.6027 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007787/0.6068, allocations: 4.762 MB / 0.6074 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.6068, allocations: 2.906 kB / 0.6074 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005251/0.6121, allocations: 3.271 MB / 0.6106 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004454/0.6165, allocations: 0.9599 MB / 0.6115 GB, free: 16 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01604/0.6326, allocations: 8.547 MB / 0.6198 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003511/0.6361, allocations: 3.091 MB / 0.6229 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008728/0.637, allocations: 179.4 kB / 0.623 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of SimCode: time 1.272e-06/0.637, allocations: 0 / 0.623 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of Templates: time 0.5719/1.209, allocations: 261.8 MB / 0.8786 GB, free: 147.6 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 19.759668287122622]