Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009445/0.0009445, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001109/0.001109, allocations: 163 kB / 24.99 MB, free: 9.32 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9948/0.9948, allocations: 177 MB / 205.2 MB, free: 5.191 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.[0-9,]+..i|transformer2.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_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.[0-9,]+..i|transformer2.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 273 MB, free: 1.586 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.678e-05, allocations: 2.312 kB / 273 MB, free: 1.582 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.0104/0.01042, allocations: 10.62 MB / 283.6 MB, free: 6.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004129/0.01455, allocations: 3.248 MB / 286.9 MB, free: 3.652 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005621/0.01511, allocations: 111.2 kB / 287 MB, free: 3.543 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.01614, allocations: 0.737 MB / 287.7 MB, free: 2.801 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.0176, allocations: 1.261 MB / 289 MB, free: 1.531 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004925/0.0181, allocations: 491.2 kB / 289.5 MB, free: 1.051 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1165/0.1346, allocations: 5.375 MB / 294.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002952/0.1376, allocations: 2.446 MB / 297.3 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004649/0.1422, allocations: 3.67 MB / 301 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002935/0.1451, allocations: 2.753 MB / 303.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006996/0.1458, allocations: 0.6239 MB / 304.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008994/0.1467, allocations: 0.706 MB / 305 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009861/0.1477, allocations: 1.748 MB / 306.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001588/0.1493, allocations: 1.964 MB / 308.8 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003362/0.1527, allocations: 4.627 MB / 313.4 MB, free: 6.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1527, allocations: 5.031 kB / 313.4 MB, free: 6.977 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1527, allocations: 0 / 313.4 MB, free: 6.977 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.457e-05/0.1527, allocations: 0 / 313.4 MB, free: 6.977 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: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.005856/0.1586, allocations: 5.47 MB / 318.9 MB, free: 1.488 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1586, allocations: 11.98 kB / 318.9 MB, free: 1.477 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001434/0.1601, allocations: 0.9236 MB / 319.8 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0033/0.1634, allocations: 2.631 MB / 322.4 MB, free: 14 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001914/0.1635, allocations: 298.7 kB / 322.7 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004817/0.164, allocations: 396.5 kB / 323.1 MB, free: 13.33 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00528/0.1693, allocations: 3.468 MB / 326.6 MB, free: 9.703 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.331e-05/0.1694, allocations: 7.688 kB / 326.6 MB, free: 9.699 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003171/0.1697, allocations: 163.8 kB / 326.7 MB, free: 9.543 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002091/0.1699, allocations: 228.1 kB / 327 MB, free: 9.316 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003692/0.1736, allocations: 1.48 MB / 328.4 MB, free: 7.824 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01359/0.1872, allocations: 12.91 MB / 341.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002538/0.1897, allocations: 2.328 MB / 343.7 MB, free: 8.836 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001556/0.1913, allocations: 1.309 MB / 345 MB, free: 7.531 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001846/0.1915, allocations: 69.97 kB / 345.1 MB, free: 7.465 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/0.1915, allocations: 68.33 kB / 345.1 MB, free: 7.387 MB / 298.7 MB Notification: Performance of pre-optimization done (n=249): time 3.537e-06/0.1915, allocations: 0 / 345.1 MB, free: 7.387 MB / 298.7 MB Notification: Performance of matching and sorting (n=256): time 0.008397/0.1999, allocations: 5.73 MB / 350.9 MB, free: 1.629 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.1999, allocations: 77.42 kB / 350.9 MB, free: 1.539 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/0.2017, allocations: 1.846 MB / 352.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.958e-05/0.2018, allocations: 77.27 kB / 352.9 MB, free: 15.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001169/0.203, allocations: 1.83 MB / 354.7 MB, free: 13.72 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008412/0.2038, allocations: 0.9106 MB / 355.6 MB, free: 12.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005179/0.2043, allocations: 446.8 kB / 356 MB, free: 12.38 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.705e-05/0.2044, allocations: 488.6 kB / 356.5 MB, free: 11.9 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000737/0.2052, allocations: 376.5 kB / 356.9 MB, free: 11.53 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/0.2062, allocations: 0.8091 MB / 357.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001798/0.208, allocations: 1.319 MB / 359 MB, free: 9.145 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.208, allocations: 0 / 359 MB, free: 9.145 MB / 314.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.003858/0.2119, allocations: 2.243 MB / 361.2 MB, free: 6.887 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.2119, allocations: 8 kB / 361.3 MB, free: 6.879 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/0.212, allocations: 8 kB / 361.3 MB, free: 6.871 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002849/0.2148, allocations: 1.116 MB / 362.4 MB, free: 5.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008477/0.2156, allocations: 388.6 kB / 362.8 MB, free: 5.371 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01582/0.2315, allocations: 24.28 MB / 387 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/0.233, allocations: 103.9 kB / 387.1 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/0.2331, allocations: 72.23 kB / 387.2 MB, free: 11.89 MB / 346.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.00102/0.2342, allocations: 296.8 kB / 387.5 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004913/0.2347, allocations: 374.2 kB / 387.9 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003522/0.2382, allocations: 2.271 MB / 390.1 MB, free: 8.926 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/0.2382, allocations: 28 kB / 390.2 MB, free: 8.898 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-05/0.2382, allocations: 15.98 kB / 390.2 MB, free: 8.883 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.717e-05/0.2382, allocations: 15.89 kB / 390.2 MB, free: 8.867 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009078/0.2473, allocations: 5.661 MB / 395.9 MB, free: 3.199 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.2473, allocations: 0 / 395.9 MB, free: 3.199 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006928/0.248, allocations: 289.7 kB / 396.1 MB, free: 2.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002805/0.2508, allocations: 1.114 MB / 397.3 MB, free: 1.789 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001686/0.251, allocations: 63.98 kB / 397.3 MB, free: 1.727 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01758/0.2686, allocations: 24.11 MB / 421.4 MB, free: 8.566 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2686, allocations: 0 / 421.4 MB, free: 8.566 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004904/0.2735, allocations: 2.819 MB / 424.2 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008292/0.2743, allocations: 0.5229 MB / 424.8 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002055/0.2745, allocations: 63.98 kB / 424.8 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000627/0.2751, allocations: 119.9 kB / 424.9 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000455/0.2756, allocations: 240.9 kB / 425.2 MB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.713e-05/0.2757, allocations: 67.98 kB / 425.2 MB, free: 4.656 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001259/0.277, allocations: 1.074 MB / 426.3 MB, free: 3.562 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.277, allocations: 0 / 426.3 MB, free: 3.562 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002461/0.2794, allocations: 0.957 MB / 427.3 MB, free: 2.605 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.0004988/0.2799, allocations: 261.7 kB / 427.5 MB, free: 2.363 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1129/0.3929, allocations: 3.656 MB / 431.2 MB, free: 118.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.33e-05/0.3929, allocations: 1.375 kB / 431.2 MB, free: 118.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003609/0.3965, allocations: 3.121 MB / 434.3 MB, free: 116.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003005/0.3995, allocations: 0.7486 MB / 435.1 MB, free: 116.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01211/0.4116, allocations: 7.207 MB / 442.3 MB, free: 113.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001545/0.4131, allocations: 1.261 MB / 443.5 MB, free: 113.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001506/0.4146, allocations: 429.8 kB / 443.9 MB, free: 113.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003513/0.415, allocations: 151.7 kB / 444.1 MB, free: 113.5 MB / 378.7 MB Notification: Performance of SimCode: time 2.144e-06/0.415, allocations: 0 / 444.1 MB, free: 113.5 MB / 378.7 MB Notification: Performance of Templates: time 0.05457/0.4696, allocations: 52.43 MB / 496.5 MB, free: 70.16 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.55649484298192]