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.001652/0.001652, allocations: 117 kB / 18.41 MB, free: 4.664 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.001713/0.001714, allocations: 186.9 kB / 21.34 MB, free: 1.738 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.432/1.432, allocations: 222.9 MB / 247 MB, free: 4.207 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.00158/0.00158, allocations: 55.92 kB / 358.7 MB, free: 8.32 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09297/0.09456, allocations: 49.43 MB / 408.1 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01251/0.1071, allocations: 10.71 MB / 418.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006638/0.1138, allocations: 3.178 MB / 422 MB, free: 8.898 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001832/0.1156, allocations: 87.62 kB / 422.1 MB, free: 8.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00182/0.1175, allocations: 0.6982 MB / 422.8 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003046/0.1206, allocations: 1.13 MB / 423.9 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009539/0.1215, allocations: 467.4 kB / 424.4 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005895/0.1274, allocations: 5.135 MB / 429.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1882/0.3157, allocations: 4.776 MB / 434.3 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004505/0.3202, allocations: 2.39 MB / 436.7 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004423/0.3246, allocations: 2.765 MB / 439.5 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001554/0.3262, allocations: 0.6227 MB / 440.1 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002387/0.3286, allocations: 0.7065 MB / 440.8 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001838/0.3305, allocations: 1.639 MB / 442.4 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005847/0.3363, allocations: 2.763 MB / 445.2 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01136/0.3477, allocations: 8.428 MB / 453.6 MB, free: 2.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.3477, allocations: 1.344 kB / 453.6 MB, free: 2.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3478, allocations: 2.625 kB / 453.6 MB, free: 2.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002665/0.348, allocations: 4 kB / 453.6 MB, free: 2.113 MB / 350.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.01574/0.3638, allocations: 5.247 MB / 458.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.3638, allocations: 13.41 kB / 458.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00199/0.3658, allocations: 0.5654 MB / 459.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00636/0.3722, allocations: 2.865 MB / 462.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002372/0.3725, allocations: 299.7 kB / 462.6 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001011/0.3735, allocations: 389.1 kB / 463 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01131/0.3848, allocations: 5.799 MB / 468.8 MB, free: 9.121 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.088e-05/0.3849, allocations: 3.375 kB / 468.8 MB, free: 9.121 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004442/0.3854, allocations: 159.8 kB / 469 MB, free: 9 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001789/0.3856, allocations: 207.6 kB / 469.2 MB, free: 8.961 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01009/0.3956, allocations: 5.029 MB / 474.2 MB, free: 4.238 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03188/0.4276, allocations: 16.22 MB / 490.4 MB, free: 4.105 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008251/0.4359, allocations: 6.803 MB / 497.2 MB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004591/0.4405, allocations: 2.619 MB / 499.8 MB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004185/0.4409, allocations: 139.1 kB / 500 MB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.469e-05/0.441, allocations: 60.31 kB / 0.4883 GB, free: 9.922 MB / 398.1 MB Notification: Performance of pre-optimization done (n=249): time 4.489e-06/0.441, allocations: 0 / 0.4883 GB, free: 9.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=256): time 0.02438/0.4654, allocations: 10.77 MB / 0.4988 GB, free: 14.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.396e-05/0.4655, allocations: 77.42 kB / 0.4989 GB, free: 14.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00572/0.4713, allocations: 2.632 MB / 0.5015 GB, free: 12.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000551/0.4718, allocations: 69.7 kB / 0.5015 GB, free: 12.15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00157/0.4734, allocations: 1.675 MB / 0.5032 GB, free: 10.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001228/0.4747, allocations: 0.878 MB / 0.504 GB, free: 9.598 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001195/0.4759, allocations: 412.7 kB / 0.5044 GB, free: 9.188 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.4761, allocations: 309.1 kB / 0.5047 GB, free: 8.883 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002489/0.4786, allocations: 1.336 MB / 0.506 GB, free: 7.543 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00276/0.4813, allocations: 1.653 MB / 0.5076 GB, free: 5.797 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005263/0.4866, allocations: 3.09 MB / 0.5107 GB, free: 2.609 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/0.4866, allocations: 0 / 0.5107 GB, free: 2.609 MB / 414.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.009085/0.4957, allocations: 4.472 MB / 0.515 GB, free: 14.13 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.4958, allocations: 8 kB / 0.515 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/0.4958, allocations: 8 kB / 0.515 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005694/0.5015, allocations: 1.645 MB / 0.5166 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001856/0.5034, allocations: 397.4 kB / 0.517 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03138/0.5348, allocations: 25.75 MB / 0.5422 GB, free: 1.109 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002379/0.5372, allocations: 95.88 kB / 0.5423 GB, free: 1.016 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004719/0.5377, allocations: 80.06 kB / 0.5423 GB, free: 0.9375 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.003349/0.5411, allocations: 1.415 MB / 0.5437 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009638/0.542, allocations: 310.1 kB / 0.544 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009106/0.5512, allocations: 4.383 MB / 0.5483 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-05/0.5512, allocations: 28 kB / 0.5483 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.427e-05/0.5512, allocations: 8 kB / 0.5483 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.612e-05/0.5513, allocations: 11.95 kB / 0.5483 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01882/0.5701, allocations: 8.776 MB / 0.5569 GB, free: 1.984 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.5701, allocations: 4 kB / 0.5569 GB, free: 1.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/0.5714, allocations: 289 kB / 0.5572 GB, free: 1.711 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005584/0.577, allocations: 1.61 MB / 0.5588 GB, free: 84 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000316/0.5774, allocations: 67.97 kB / 0.5588 GB, free: 16 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02927/0.6067, allocations: 25.48 MB / 0.5837 GB, free: 5.297 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/0.6067, allocations: 10.62 kB / 0.5837 GB, free: 5.289 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01132/0.618, allocations: 6.104 MB / 0.5897 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001944/0.62, allocations: 0.6904 MB / 0.5904 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008467/0.6209, allocations: 51.98 kB / 0.5904 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0019/0.6228, allocations: 123.9 kB / 0.5905 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005911/0.6234, allocations: 212.5 kB / 0.5907 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001992/0.6236, allocations: 71.92 kB / 0.5908 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003339/0.6269, allocations: 1.848 MB / 0.5926 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.81e-07/0.627, allocations: 0 / 0.5926 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004225/0.6312, allocations: 0.957 MB / 0.5935 GB, free: 11.14 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.0006796/0.6319, allocations: 263.1 kB / 0.5938 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008165/0.6401, allocations: 4.879 MB / 0.5985 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.6401, allocations: 0 / 0.5985 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00564/0.6457, allocations: 3.368 MB / 0.6018 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00514/0.6509, allocations: 0.9635 MB / 0.6028 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01667/0.6676, allocations: 8.539 MB / 0.6111 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003399/0.671, allocations: 3.091 MB / 0.6141 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007873/0.6718, allocations: 175.4 kB / 0.6143 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of SimCode: time 5.91e-07/0.6718, allocations: 0 / 0.6143 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of Templates: time 0.5385/1.21, allocations: 261.5 MB / 0.8697 GB, free: 150 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.542135040974244]