Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.001558/0.001558, allocations: 112.2 kB / 21.19 MB, free: 0.7539 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.001789/0.001789, allocations: 213.7 kB / 24.49 MB, free: 4.137 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.396/1.396, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 43.92 kB / 379 MB, free: 2.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2376, allocations: 53.36 MB / 432.4 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008871/0.2465, allocations: 6.954 MB / 439.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004446/0.2509, allocations: 2.344 MB / 441.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007276/0.2516, allocations: 59.56 kB / 441.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.2527, allocations: 468.9 kB / 442.2 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.2541, allocations: 0.6915 MB / 442.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004936/0.2546, allocations: 287.6 kB / 443.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002699/0.2573, allocations: 2.844 MB / 446 MB, free: 9.227 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001735/0.2591, allocations: 1.367 MB / 447.4 MB, free: 7.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00226/0.2613, allocations: 1.35 MB / 448.7 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001954/0.2633, allocations: 1.576 MB / 450.3 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004175/0.2637, allocations: 356 kB / 450.7 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006827/0.2644, allocations: 447.8 kB / 451.1 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007906/0.2652, allocations: 0.8999 MB / 452 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001623/0.2668, allocations: 1.529 MB / 453.5 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004811/0.2716, allocations: 4.639 MB / 458.2 MB, free: 13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2716, allocations: 4 kB / 458.2 MB, free: 12.99 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2716, allocations: 0 / 458.2 MB, free: 12.99 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001024/0.2717, allocations: 3.938 kB / 458.2 MB, free: 12.99 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.005791/0.2775, allocations: 2.959 MB / 461.1 MB, free: 9.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.2775, allocations: 16.03 kB / 461.2 MB, free: 9.965 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.2785, allocations: 351.1 kB / 461.5 MB, free: 9.621 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002931/0.2815, allocations: 1.627 MB / 463.1 MB, free: 7.949 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/0.2816, allocations: 160.4 kB / 463.3 MB, free: 7.789 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003306/0.2819, allocations: 216 kB / 463.5 MB, free: 7.578 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005478/0.2874, allocations: 3.186 MB / 466.7 MB, free: 4.305 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-05/0.2875, allocations: 0 / 466.7 MB, free: 4.305 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003225/0.2878, allocations: 88 kB / 466.8 MB, free: 4.219 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001777/0.288, allocations: 108.4 kB / 466.9 MB, free: 4.109 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006247/0.2942, allocations: 2.73 MB / 469.6 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01446/0.3087, allocations: 8.695 MB / 478.3 MB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002988/0.3117, allocations: 1.942 MB / 480.2 MB, free: 6.578 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00232/0.314, allocations: 1.234 MB / 481.5 MB, free: 5.344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002873/0.3143, allocations: 49.22 kB / 481.5 MB, free: 5.297 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.432e-05/0.3143, allocations: 47.88 kB / 481.6 MB, free: 5.238 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 4.649e-06/0.3143, allocations: 3.938 kB / 481.6 MB, free: 5.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01617/0.3305, allocations: 5.31 MB / 486.9 MB, free: 15.89 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/0.3306, allocations: 64.72 kB / 486.9 MB, free: 15.81 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003336/0.3339, allocations: 1.499 MB / 488.4 MB, free: 14.3 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001806/0.3341, allocations: 53.7 kB / 488.5 MB, free: 14.24 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001164/0.3353, allocations: 0.9627 MB / 489.5 MB, free: 13.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006436/0.3359, allocations: 468 kB / 489.9 MB, free: 12.8 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005442/0.3364, allocations: 218.9 kB / 490.1 MB, free: 12.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002496/0.3367, allocations: 357.9 kB / 490.5 MB, free: 12.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0018/0.3385, allocations: 0.6896 MB / 491.2 MB, free: 11.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001904/0.3404, allocations: 0.8629 MB / 492 MB, free: 10.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003641/0.344, allocations: 1.601 MB / 493.6 MB, free: 8.977 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.096e-06/0.3441, allocations: 3.938 kB / 493.6 MB, free: 8.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.006187/0.3502, allocations: 2.303 MB / 495.9 MB, free: 6.648 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.3503, allocations: 8 kB / 495.9 MB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.3503, allocations: 4 kB / 496 MB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003984/0.3543, allocations: 0.8227 MB / 496.8 MB, free: 5.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.3555, allocations: 207.7 kB / 497 MB, free: 5.598 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01529/0.3708, allocations: 11.07 MB / 0.4961 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.3718, allocations: 51.95 kB / 0.4962 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.522e-05/0.3719, allocations: 40 kB / 0.4962 GB, free: 9.988 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (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 (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001345/0.3733, allocations: 0.8282 MB / 0.497 GB, free: 9.156 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003181/0.3736, allocations: 167 kB / 0.4972 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004066/0.3777, allocations: 2.253 MB / 0.4994 GB, free: 6.715 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.3777, allocations: 16 kB / 0.4994 GB, free: 6.699 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.3777, allocations: 8 kB / 0.4994 GB, free: 6.691 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/0.3777, allocations: 7.969 kB / 0.4994 GB, free: 6.684 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008093/0.3858, allocations: 4.683 MB / 0.504 GB, free: 1.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.3858, allocations: 4.125 kB / 0.504 GB, free: 1.906 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006702/0.3865, allocations: 155.8 kB / 0.5042 GB, free: 1.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002789/0.3892, allocations: 0.8077 MB / 0.5049 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/0.3894, allocations: 28 kB / 0.505 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0182/0.4076, allocations: 10.96 MB / 0.5157 GB, free: 5.484 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.4076, allocations: 3.938 kB / 0.5157 GB, free: 5.48 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008405/0.416, allocations: 3.228 MB / 0.5188 GB, free: 2.207 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001585/0.4175, allocations: 338.9 kB / 0.5192 GB, free: 1.875 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004131/0.418, allocations: 31.98 kB / 0.5192 GB, free: 1.844 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/0.4193, allocations: 60.42 kB / 0.5192 GB, free: 1.785 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000433/0.4197, allocations: 125 kB / 0.5194 GB, free: 1.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001458/0.4199, allocations: 39.98 kB / 0.5194 GB, free: 1.621 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002468/0.4223, allocations: 1.056 MB / 0.5204 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4223, allocations: 3.938 kB / 0.5204 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003066/0.4254, allocations: 0.5233 MB / 0.5209 GB, free: 36 kB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005516/0.426, allocations: 215.4 kB / 0.5212 GB, free: 15.83 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004008/0.43, allocations: 2.35 MB / 0.5234 GB, free: 13.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.43, allocations: 3.938 kB / 0.5235 GB, free: 13.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002507/0.4325, allocations: 1.578 MB / 0.525 GB, free: 11.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002191/0.4347, allocations: 0.5068 MB / 0.5255 GB, free: 11.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008523/0.4432, allocations: 4.72 MB / 0.5301 GB, free: 6.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001974/0.4452, allocations: 1.995 MB / 0.532 GB, free: 4.488 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004347/0.4456, allocations: 103.4 kB / 0.5321 GB, free: 4.387 MB / 446.1 MB Notification: Performance of SimCode: time 1.313e-06/0.4456, allocations: 0 / 0.5321 GB, free: 4.387 MB / 446.1 MB Notification: Performance of Templates: time 0.2717/0.7173, allocations: 75.98 MB / 0.6063 GB, free: 37.3 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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: 12.590329336002469]