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.001708/0.001708, allocations: 84.66 kB / 20.95 MB, free: 3.453 MB / 18.57 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.001524/0.001524, allocations: 149.1 kB / 24.25 MB, free: 160 kB / 18.57 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.455/1.455, allocations: 173.4 MB / 200.8 MB, free: 9.309 MB / 186.7 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 1.964e-06/1.964e-06, allocations: 0 / 267.3 MB, free: 6.695 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.036e-05/3.232e-05, allocations: 2.312 kB / 267.4 MB, free: 6.691 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01298/0.01301, allocations: 9.387 MB / 276.7 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006862/0.01987, allocations: 3.104 MB / 279.8 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001227/0.0211, allocations: 115.2 kB / 280 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001667/0.02277, allocations: 0.7331 MB / 280.7 MB, free: 9.293 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003201/0.02597, allocations: 1.226 MB / 281.9 MB, free: 8.059 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.027, allocations: 475.4 kB / 282.4 MB, free: 7.594 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00661/0.03361, allocations: 5.316 MB / 287.7 MB, free: 2.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1105/0.1441, allocations: 2.432 MB / 290.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006554/0.1506, allocations: 3.582 MB / 293.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004376/0.155, allocations: 2.512 MB / 296.2 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001562/0.1566, allocations: 0.6264 MB / 296.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001925/0.1585, allocations: 0.7009 MB / 297.5 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001601/0.1601, allocations: 1.695 MB / 299.2 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003185/0.1633, allocations: 1.931 MB / 301.2 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006601/0.1699, allocations: 8.56 MB / 309.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1699, allocations: 3.688 kB / 309.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1699, allocations: 0.6875 kB / 309.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002054/0.1701, allocations: 0 / 309.7 MB, free: 10.57 MB / 266.7 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.009992/0.1801, allocations: 5.102 MB / 314.8 MB, free: 7.191 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.1801, allocations: 13.8 kB / 314.9 MB, free: 7.191 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001779/0.1819, allocations: 0.8946 MB / 315.7 MB, free: 6.781 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004594/0.1865, allocations: 2.917 MB / 318.7 MB, free: 4.148 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001489/0.1867, allocations: 298 kB / 319 MB, free: 3.863 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005826/0.1872, allocations: 395.9 kB / 319.3 MB, free: 3.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01006/0.1973, allocations: 6.131 MB / 325.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.804e-05/0.1974, allocations: 3.281 kB / 325.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004487/0.1978, allocations: 164.5 kB / 325.6 MB, free: 13.04 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002568/0.1981, allocations: 208 kB / 325.8 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01/0.2081, allocations: 5.01 MB / 330.9 MB, free: 7.82 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02936/0.2374, allocations: 14.34 MB / 345.2 MB, free: 9.613 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006643/0.2441, allocations: 3.893 MB / 349.1 MB, free: 5.844 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004609/0.2487, allocations: 2.464 MB / 351.5 MB, free: 3.391 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002886/0.249, allocations: 69.97 kB / 351.6 MB, free: 3.324 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.288e-05/0.249, allocations: 60.56 kB / 351.7 MB, free: 3.254 MB / 298.7 MB Notification: Performance of pre-optimization done (n=249): time 5.66e-06/0.249, allocations: 0 / 351.7 MB, free: 3.254 MB / 298.7 MB Notification: Performance of matching and sorting (n=256): time 0.02325/0.2723, allocations: 10.11 MB / 361.8 MB, free: 9.117 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.539e-05/0.2724, allocations: 77.42 kB / 361.9 MB, free: 9.027 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003888/0.2762, allocations: 2.2 MB / 364.1 MB, free: 6.789 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002488/0.2765, allocations: 65.7 kB / 364.1 MB, free: 6.719 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001876/0.2784, allocations: 1.692 MB / 365.8 MB, free: 5.016 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001006/0.2794, allocations: 0.872 MB / 366.7 MB, free: 4.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008145/0.2802, allocations: 412.7 kB / 367.1 MB, free: 3.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.2804, allocations: 305.1 kB / 367.4 MB, free: 3.449 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002435/0.2828, allocations: 1.34 MB / 368.7 MB, free: 2.105 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002677/0.2855, allocations: 1.657 MB / 370.4 MB, free: 364 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00546/0.2909, allocations: 3.081 MB / 373.5 MB, free: 13.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/0.291, allocations: 0 / 373.5 MB, free: 13.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.009205/0.3002, allocations: 4.512 MB / 378 MB, free: 8.656 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.463e-05/0.3002, allocations: 10.66 kB / 378 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-05/0.3002, allocations: 11.94 kB / 378 MB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006851/0.3071, allocations: 1.697 MB / 379.7 MB, free: 6.922 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001832/0.3089, allocations: 393.6 kB / 380.1 MB, free: 6.559 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03375/0.3427, allocations: 24.36 MB / 404.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002026/0.3447, allocations: 95.92 kB / 404.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004586/0.3451, allocations: 76 kB / 404.6 MB, free: 13.19 MB / 362.7 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.003062/0.3482, allocations: 1.408 MB / 406 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001116/0.3493, allocations: 374.2 kB / 406.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009228/0.3585, allocations: 4.306 MB / 410.7 MB, free: 7.074 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.642e-05/0.3586, allocations: 27.94 kB / 410.7 MB, free: 7.047 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.672e-05/0.3586, allocations: 12 kB / 410.7 MB, free: 7.035 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-05/0.3586, allocations: 11.95 kB / 410.7 MB, free: 7.023 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0176/0.3762, allocations: 7.763 MB / 418.5 MB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/0.3763, allocations: 4.031 kB / 418.5 MB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/0.3776, allocations: 285.3 kB / 418.8 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006355/0.3839, allocations: 1.682 MB / 420.5 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002592/0.3842, allocations: 59.92 kB / 420.5 MB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1407/0.5249, allocations: 24.11 MB / 444.6 MB, free: 114.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5249, allocations: 1.672 kB / 444.6 MB, free: 114.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008672/0.5336, allocations: 6.122 MB / 450.8 MB, free: 112.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00139/0.535, allocations: 0.585 MB / 451.3 MB, free: 112 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003182/0.5353, allocations: 57.09 kB / 451.4 MB, free: 112 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/0.5365, allocations: 126.4 kB / 451.5 MB, free: 111.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005241/0.5371, allocations: 223.9 kB / 451.7 MB, free: 111.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000148/0.5372, allocations: 65.11 kB / 451.8 MB, free: 111.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001887/0.5391, allocations: 1.53 MB / 453.3 MB, free: 111.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5391, allocations: 0 / 453.3 MB, free: 111.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002868/0.542, allocations: 0.9458 MB / 454.3 MB, free: 111.2 MB / 378.7 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.0005213/0.5425, allocations: 250.8 kB / 454.5 MB, free: 111.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005419/0.5479, allocations: 4.77 MB / 459.3 MB, free: 108.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.5479, allocations: 1.312 kB / 459.3 MB, free: 108.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003509/0.5514, allocations: 3.284 MB / 462.6 MB, free: 106.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002789/0.5542, allocations: 0.7428 MB / 463.3 MB, free: 106.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.5648, allocations: 8.534 MB / 471.9 MB, free: 99.81 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002255/0.567, allocations: 2.633 MB / 474.5 MB, free: 97.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001433/0.5685, allocations: 0.5156 MB / 475 MB, free: 97.47 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004586/0.5689, allocations: 159.8 kB / 475.2 MB, free: 97.32 MB / 378.7 MB Notification: Performance of SimCode: time 1.693e-06/0.5689, allocations: 0 / 475.2 MB, free: 97.32 MB / 378.7 MB Notification: Performance of Templates: time 0.06962/0.6385, allocations: 52.18 MB / 0.515 GB, free: 45.88 MB / 378.7 MB " [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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins/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: 7.201479651033878]