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.00139/0.00139, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001508/0.001508, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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 1.02/1.02, allocations: 177 MB / 204.8 MB, free: 5.605 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.653e-06/1.653e-06, allocations: 0 / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.638e-05/2.803e-05, allocations: 2.312 kB / 272.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01304/0.01307, allocations: 10.68 MB / 283.6 MB, free: 6.711 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007135/0.0202, allocations: 3.252 MB / 286.9 MB, free: 3.449 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001276/0.02148, allocations: 111.2 kB / 287 MB, free: 3.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001591/0.02307, allocations: 0.737 MB / 287.7 MB, free: 2.598 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00291/0.02598, allocations: 1.265 MB / 289 MB, free: 1.324 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009786/0.02696, allocations: 487.3 kB / 289.5 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1346/0.1615, allocations: 5.375 MB / 294.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003384/0.1649, allocations: 2.446 MB / 297.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005509/0.1704, allocations: 3.676 MB / 301 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003692/0.1741, allocations: 2.758 MB / 303.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001258/0.1754, allocations: 0.624 MB / 304.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/0.1764, allocations: 0.716 MB / 305.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008881/0.1773, allocations: 1.737 MB / 306.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001969/0.1793, allocations: 1.969 MB / 308.8 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003294/0.1826, allocations: 4.627 MB / 313.4 MB, free: 6.809 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.1826, allocations: 1.594 kB / 313.4 MB, free: 6.809 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1826, allocations: 0 / 313.4 MB, free: 6.809 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000115/0.1827, allocations: 0 / 313.4 MB, free: 6.809 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.004632/0.1874, allocations: 5.469 MB / 318.9 MB, free: 1.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.1874, allocations: 16.02 kB / 318.9 MB, free: 1.305 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.1885, allocations: 0.9225 MB / 319.8 MB, free: 392 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002531/0.191, allocations: 2.584 MB / 322.4 MB, free: 13.87 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001406/0.1912, allocations: 291.3 kB / 322.7 MB, free: 13.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003712/0.1915, allocations: 399.3 kB / 323.1 MB, free: 13.2 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004099/0.1956, allocations: 3.466 MB / 326.5 MB, free: 9.578 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.067e-05/0.1957, allocations: 11.69 kB / 326.5 MB, free: 9.57 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002251/0.1959, allocations: 163.5 kB / 326.7 MB, free: 9.414 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001513/0.1961, allocations: 224.1 kB / 326.9 MB, free: 9.191 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002788/0.1988, allocations: 1.479 MB / 328.4 MB, free: 7.699 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01237/0.2112, allocations: 12.91 MB / 341.3 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002616/0.2138, allocations: 2.324 MB / 343.6 MB, free: 8.703 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/0.2153, allocations: 1.316 MB / 344.9 MB, free: 7.395 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000197/0.2155, allocations: 69.97 kB / 345 MB, free: 7.328 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.566e-05/0.2155, allocations: 67.39 kB / 345.1 MB, free: 7.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=249): time 4.578e-06/0.2155, allocations: 0 / 345.1 MB, free: 7.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=256): time 0.00915/0.2247, allocations: 5.721 MB / 350.8 MB, free: 1.492 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.2247, allocations: 77.42 kB / 350.9 MB, free: 1.402 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001826/0.2266, allocations: 1.854 MB / 352.7 MB, free: 15.5 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001012/0.2267, allocations: 69.7 kB / 352.8 MB, free: 15.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001015/0.2277, allocations: 1.822 MB / 354.6 MB, free: 13.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005058/0.2282, allocations: 0.916 MB / 355.5 MB, free: 12.7 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004549/0.2286, allocations: 454.8 kB / 356 MB, free: 12.24 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.2288, allocations: 480.7 kB / 356.4 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009596/0.2297, allocations: 376.5 kB / 356.8 MB, free: 11.4 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008607/0.2306, allocations: 0.813 MB / 357.6 MB, free: 10.46 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001586/0.2322, allocations: 1.322 MB / 358.9 MB, free: 9.012 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.367e-06/0.2322, allocations: 4 kB / 359 MB, free: 9.008 MB / 314.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.003081/0.2353, allocations: 2.233 MB / 361.2 MB, free: 6.758 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.2353, allocations: 11.98 kB / 361.2 MB, free: 6.746 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.2353, allocations: 4 kB / 361.2 MB, free: 6.742 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002482/0.2378, allocations: 1.125 MB / 362.3 MB, free: 5.594 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007969/0.2386, allocations: 385 kB / 362.7 MB, free: 5.238 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01408/0.2527, allocations: 24.28 MB / 387 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009895/0.2536, allocations: 99.86 kB / 387.1 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.2537, allocations: 72.23 kB / 387.2 MB, free: 11.76 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.0007705/0.2545, allocations: 293.4 kB / 387.4 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003709/0.2549, allocations: 374.3 kB / 387.8 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003007/0.2579, allocations: 2.286 MB / 390.1 MB, free: 8.777 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.2579, allocations: 24 kB / 390.1 MB, free: 8.754 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.2579, allocations: 8 kB / 390.1 MB, free: 8.746 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.2579, allocations: 11.95 kB / 390.1 MB, free: 8.734 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007206/0.2651, allocations: 5.662 MB / 395.8 MB, free: 3.066 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.2651, allocations: 0 / 395.8 MB, free: 3.066 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006246/0.2658, allocations: 289.7 kB / 396.1 MB, free: 2.797 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00239/0.2682, allocations: 1.115 MB / 397.2 MB, free: 1.652 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001188/0.2683, allocations: 55.98 kB / 397.2 MB, free: 1.598 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01335/0.2816, allocations: 24.12 MB / 421.4 MB, free: 8.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2816, allocations: 0 / 421.4 MB, free: 8.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00397/0.2856, allocations: 2.822 MB / 424.2 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008191/0.2864, allocations: 0.5277 MB / 424.7 MB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002244/0.2866, allocations: 51.98 kB / 424.8 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000641/0.2873, allocations: 127.8 kB / 424.9 MB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003768/0.2877, allocations: 244 kB / 425.1 MB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.203e-05/0.2878, allocations: 63.98 kB / 425.2 MB, free: 4.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001172/0.2889, allocations: 1.074 MB / 426.3 MB, free: 3.426 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2889, allocations: 0 / 426.3 MB, free: 3.426 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002512/0.2914, allocations: 0.9569 MB / 427.2 MB, free: 2.469 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.0004893/0.2919, allocations: 259.6 kB / 427.5 MB, free: 2.227 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1087/0.4006, allocations: 3.663 MB / 431.1 MB, free: 112.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.4006, allocations: 3 kB / 431.1 MB, free: 112.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002891/0.4035, allocations: 3.103 MB / 434.2 MB, free: 110.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002296/0.4058, allocations: 0.7406 MB / 435 MB, free: 110.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008904/0.4147, allocations: 7.218 MB / 442.2 MB, free: 108.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/0.4158, allocations: 1.261 MB / 443.5 MB, free: 108 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008618/0.4166, allocations: 428 kB / 443.9 MB, free: 108 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002964/0.4169, allocations: 154 kB / 444 MB, free: 108 MB / 378.7 MB Notification: Performance of SimCode: time 1.763e-06/0.4169, allocations: 0 / 444 MB, free: 108 MB / 378.7 MB Notification: Performance of Templates: time 0.05065/0.4676, allocations: 54.64 MB / 498.7 MB, free: 63.18 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.555959815625101]