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.00111/0.00111, allocations: 91.5 kB / 21.19 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.0009797/0.0009797, allocations: 160.5 kB / 24.55 MB, free: 16 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.026/1.026, allocations: 177 MB / 204.8 MB, free: 5.559 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.363e-06/1.363e-06, allocations: 0 / 272.9 MB, free: 1.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.164e-05, allocations: 2.312 kB / 272.9 MB, free: 1.391 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.008316/0.008338, allocations: 10.67 MB / 283.6 MB, free: 6.668 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004913/0.01325, allocations: 3.252 MB / 286.9 MB, free: 3.406 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008023/0.01405, allocations: 107.2 kB / 287 MB, free: 3.301 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.01535, allocations: 0.7371 MB / 287.7 MB, free: 2.559 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002091/0.01744, allocations: 1.269 MB / 289 MB, free: 1.281 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006528/0.01809, allocations: 487.3 kB / 289.5 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1579/0.176, allocations: 5.375 MB / 294.8 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003305/0.1793, allocations: 2.441 MB / 297.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005585/0.1849, allocations: 3.677 MB / 300.9 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004247/0.1891, allocations: 2.75 MB / 303.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001388/0.1905, allocations: 0.626 MB / 304.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/0.1917, allocations: 0.7111 MB / 305 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008994/0.1926, allocations: 1.746 MB / 306.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001643/0.1942, allocations: 1.962 MB / 308.7 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00291/0.1971, allocations: 4.63 MB / 313.4 MB, free: 6.934 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1971, allocations: 0 / 313.4 MB, free: 6.934 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1971, allocations: 0.5312 kB / 313.4 MB, free: 6.934 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.291e-05/0.1972, allocations: 0 / 313.4 MB, free: 6.934 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.006862/0.204, allocations: 5.47 MB / 318.8 MB, free: 1.445 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.2041, allocations: 12.03 kB / 318.9 MB, free: 1.434 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001645/0.2057, allocations: 0.9239 MB / 319.8 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003653/0.2094, allocations: 2.632 MB / 322.4 MB, free: 13.95 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/0.2095, allocations: 291.3 kB / 322.7 MB, free: 13.67 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004201/0.21, allocations: 398.9 kB / 323.1 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005172/0.2151, allocations: 3.463 MB / 326.5 MB, free: 9.668 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.928e-05/0.2152, allocations: 6.938 kB / 326.6 MB, free: 9.664 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002643/0.2155, allocations: 163.4 kB / 326.7 MB, free: 9.508 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001652/0.2156, allocations: 232.1 kB / 326.9 MB, free: 9.277 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003276/0.2189, allocations: 1.472 MB / 328.4 MB, free: 7.793 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01753/0.2364, allocations: 12.92 MB / 341.3 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002616/0.239, allocations: 2.339 MB / 343.7 MB, free: 8.785 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001617/0.2407, allocations: 1.301 MB / 345 MB, free: 7.488 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002236/0.2409, allocations: 73.97 kB / 345 MB, free: 7.418 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.532e-05/0.2409, allocations: 67.39 kB / 345.1 MB, free: 7.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=249): time 5.811e-06/0.2409, allocations: 4 kB / 345.1 MB, free: 7.336 MB / 298.7 MB Notification: Performance of matching and sorting (n=256): time 0.01009/0.251, allocations: 5.715 MB / 350.8 MB, free: 1.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.2511, allocations: 81.41 kB / 350.9 MB, free: 1.496 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002439/0.2535, allocations: 1.854 MB / 352.8 MB, free: 15.6 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001761/0.2537, allocations: 69.7 kB / 352.8 MB, free: 15.52 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009811/0.2547, allocations: 1.823 MB / 354.7 MB, free: 13.69 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005971/0.2553, allocations: 0.9173 MB / 355.6 MB, free: 12.79 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004673/0.2557, allocations: 446.8 kB / 356 MB, free: 12.34 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.2558, allocations: 484.7 kB / 356.5 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007001/0.2565, allocations: 380.5 kB / 356.8 MB, free: 11.49 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009908/0.2575, allocations: 0.8091 MB / 357.7 MB, free: 10.55 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001767/0.2593, allocations: 1.319 MB / 359 MB, free: 9.109 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/0.2593, allocations: 0 / 359 MB, free: 9.109 MB / 314.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.003523/0.2628, allocations: 2.24 MB / 361.2 MB, free: 6.852 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.2629, allocations: 8 kB / 361.2 MB, free: 6.844 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.2629, allocations: 7.938 kB / 361.2 MB, free: 6.836 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002627/0.2655, allocations: 1.123 MB / 362.4 MB, free: 5.691 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008226/0.2663, allocations: 388.6 kB / 362.7 MB, free: 5.332 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01496/0.2813, allocations: 24.29 MB / 387 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.2827, allocations: 91.94 kB / 387.1 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001854/0.2829, allocations: 80.22 kB / 387.2 MB, free: 11.85 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.001016/0.2839, allocations: 292.9 kB / 387.5 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005609/0.2845, allocations: 370.3 kB / 387.8 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003246/0.2877, allocations: 2.286 MB / 390.1 MB, free: 8.871 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/0.2878, allocations: 24 kB / 390.2 MB, free: 8.848 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.2878, allocations: 8 kB / 390.2 MB, free: 8.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/0.2878, allocations: 11.95 kB / 390.2 MB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007874/0.2957, allocations: 5.662 MB / 395.8 MB, free: 3.156 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.2957, allocations: 0 / 395.8 MB, free: 3.156 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006363/0.2963, allocations: 289.2 kB / 396.1 MB, free: 2.887 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002422/0.2987, allocations: 1.119 MB / 397.2 MB, free: 1.738 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/0.2988, allocations: 55.98 kB / 397.3 MB, free: 1.684 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01317/0.312, allocations: 24.11 MB / 421.4 MB, free: 8.531 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.312, allocations: 0 / 421.4 MB, free: 8.531 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004061/0.3161, allocations: 2.826 MB / 424.2 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/0.3171, allocations: 0.5316 MB / 424.8 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002357/0.3174, allocations: 51.98 kB / 424.8 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006704/0.318, allocations: 123.9 kB / 424.9 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003798/0.3184, allocations: 241 kB / 425.2 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.3185, allocations: 71.98 kB / 425.2 MB, free: 4.609 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001255/0.3198, allocations: 1.066 MB / 426.3 MB, free: 3.523 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3198, allocations: 0 / 426.3 MB, free: 3.523 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002544/0.3223, allocations: 0.9531 MB / 427.3 MB, free: 2.57 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.0005239/0.3228, allocations: 270.8 kB / 427.5 MB, free: 2.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1206/0.4434, allocations: 3.666 MB / 431.2 MB, free: 112.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/0.4434, allocations: 2.5 kB / 431.2 MB, free: 112.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003065/0.4465, allocations: 3.104 MB / 434.3 MB, free: 110.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002741/0.4492, allocations: 0.7395 MB / 435 MB, free: 110.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009876/0.4591, allocations: 7.209 MB / 442.2 MB, free: 108.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001346/0.4604, allocations: 1.269 MB / 443.5 MB, free: 107.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001246/0.4617, allocations: 421 kB / 443.9 MB, free: 107.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003443/0.462, allocations: 157.1 kB / 444.1 MB, free: 107.9 MB / 378.7 MB Notification: Performance of SimCode: time 2.474e-06/0.462, allocations: 0 / 444.1 MB, free: 107.9 MB / 378.7 MB Notification: Performance of Templates: time 0.0597/0.5217, allocations: 52.44 MB / 496.5 MB, free: 65.27 MB / 378.7 MB " [Timeout remaining time 659] 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.794589879922569]