Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.001843/0.001843, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002705/0.002705, allocations: 156.9 kB / 24.27 MB, free: 172 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.448/1.448, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.832e-05/3.026e-05, allocations: 2.312 kB / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.009614/0.009644, allocations: 6.192 MB / 278.4 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004921/0.01457, allocations: 2.239 MB / 280.6 MB, free: 9.312 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009902/0.01556, allocations: 63.56 kB / 280.7 MB, free: 9.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001502/0.01706, allocations: 464.9 kB / 281.2 MB, free: 8.793 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002185/0.01924, allocations: 0.7219 MB / 281.9 MB, free: 8.066 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007311/0.01997, allocations: 291.5 kB / 282.2 MB, free: 7.781 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00379/0.02376, allocations: 2.987 MB / 285.2 MB, free: 4.781 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002214/0.02598, allocations: 1.324 MB / 286.5 MB, free: 3.395 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004113/0.03009, allocations: 2.014 MB / 288.5 MB, free: 1.406 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002568/0.03266, allocations: 1.399 MB / 289.9 MB, free: 4 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.1113/0.1439, allocations: 352.5 kB / 290.2 MB, free: 17.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.145, allocations: 435.6 kB / 290.7 MB, free: 17.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007352/0.1458, allocations: 0.9365 MB / 291.6 MB, free: 17.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001621/0.1474, allocations: 1.07 MB / 292.7 MB, free: 17.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00531/0.1527, allocations: 4.728 MB / 297.4 MB, free: 17.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1527, allocations: 0.5625 kB / 297.4 MB, free: 17.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1527, allocations: 0 / 297.4 MB, free: 17.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001051/0.1528, allocations: 2.625 kB / 297.4 MB, free: 17.38 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: 585 * Number of variables: 585 Notification: Performance of Generate backend data structure: time 0.00728/0.1601, allocations: 2.958 MB / 300.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.1601, allocations: 8.75 kB / 300.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001638/0.1618, allocations: 0.525 MB / 300.9 MB, free: 15.74 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002813/0.1646, allocations: 1.68 MB / 302.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.1647, allocations: 159.8 kB / 302.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003585/0.1651, allocations: 224.2 kB / 302.9 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005083/0.1702, allocations: 3.388 MB / 306.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.221e-05/0.1702, allocations: 10.41 kB / 306.3 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000203/0.1704, allocations: 89.88 kB / 306.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-05/0.1705, allocations: 120.4 kB / 306.5 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003714/0.1742, allocations: 2.745 MB / 309.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01068/0.1849, allocations: 7.774 MB / 317.1 MB, free: 4.391 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002167/0.1871, allocations: 1.93 MB / 319 MB, free: 2.516 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001652/0.1887, allocations: 1.228 MB / 320.2 MB, free: 1.289 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002007/0.1889, allocations: 57.28 kB / 320.3 MB, free: 1.234 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.1889, allocations: 46.03 kB / 320.3 MB, free: 1.18 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 3.256e-06/0.189, allocations: 0 / 320.3 MB, free: 1.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.01176/0.2007, allocations: 5.361 MB / 325.7 MB, free: 11.82 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/0.2008, allocations: 64.72 kB / 325.7 MB, free: 11.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002185/0.203, allocations: 1.282 MB / 327 MB, free: 10.45 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001176/0.2031, allocations: 49.7 kB / 327.1 MB, free: 10.4 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009627/0.204, allocations: 0.9833 MB / 328.1 MB, free: 9.406 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004866/0.2045, allocations: 461 kB / 328.5 MB, free: 8.965 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004263/0.205, allocations: 218.9 kB / 328.7 MB, free: 8.746 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003621/0.2053, allocations: 353.9 kB / 329.1 MB, free: 8.395 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/0.2065, allocations: 0.7007 MB / 329.8 MB, free: 7.695 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/0.2079, allocations: 0.859 MB / 330.6 MB, free: 6.789 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002763/0.2107, allocations: 1.602 MB / 332.2 MB, free: 5.152 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.2107, allocations: 0 / 332.2 MB, free: 5.152 MB / 282.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004802/0.2155, allocations: 2.342 MB / 334.6 MB, free: 2.832 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.2155, allocations: 8 kB / 334.6 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.2156, allocations: 8.031 kB / 334.6 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003202/0.2188, allocations: 0.8474 MB / 335.4 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008866/0.2196, allocations: 198.3 kB / 335.6 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01491/0.2346, allocations: 10.92 MB / 346.6 MB, free: 6.527 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.2358, allocations: 51.95 kB / 346.6 MB, free: 6.477 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.2359, allocations: 44.06 kB / 346.7 MB, free: 6.434 MB / 298.7 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.001747/0.2377, allocations: 0.8201 MB / 347.5 MB, free: 5.613 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005631/0.2382, allocations: 199.1 kB / 347.7 MB, free: 5.418 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004487/0.2427, allocations: 2.24 MB / 349.9 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/0.2427, allocations: 12 kB / 349.9 MB, free: 3.164 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.2427, allocations: 4 kB / 349.9 MB, free: 3.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-05/0.2428, allocations: 11.91 kB / 349.9 MB, free: 3.148 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008508/0.2513, allocations: 4.158 MB / 354.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.2513, allocations: 4 kB / 354.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007007/0.252, allocations: 163.3 kB / 354.3 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003112/0.2551, allocations: 0.8397 MB / 355.1 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001183/0.2552, allocations: 35.48 kB / 355.1 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01447/0.2697, allocations: 10.81 MB / 365.9 MB, free: 2.801 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.2697, allocations: 0 / 365.9 MB, free: 2.801 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006048/0.2757, allocations: 3.255 MB / 369.2 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/0.2768, allocations: 319 kB / 369.5 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003729/0.2771, allocations: 35.98 kB / 369.5 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009524/0.2781, allocations: 63.91 kB / 369.6 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000358/0.2785, allocations: 121 kB / 369.7 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/0.2786, allocations: 35.98 kB / 369.8 MB, free: 14.97 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001634/0.2802, allocations: 0.9032 MB / 370.7 MB, free: 14.06 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2802, allocations: 4 kB / 370.7 MB, free: 14.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002105/0.2823, allocations: 0.5117 MB / 371.2 MB, free: 13.54 MB / 330.7 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.0005446/0.2828, allocations: 205.1 kB / 371.4 MB, free: 13.36 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004235/0.2871, allocations: 2.351 MB / 373.7 MB, free: 10.97 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.2871, allocations: 0.875 kB / 373.7 MB, free: 10.97 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002697/0.2898, allocations: 1.588 MB / 375.3 MB, free: 9.352 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002156/0.2919, allocations: 426.2 kB / 375.7 MB, free: 8.945 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009385/0.3013, allocations: 4.661 MB / 380.4 MB, free: 4.242 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00202/0.3033, allocations: 1.481 MB / 381.9 MB, free: 2.715 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009649/0.3043, allocations: 283.8 kB / 382.1 MB, free: 2.434 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002828/0.3046, allocations: 88.5 kB / 382.2 MB, free: 2.348 MB / 330.7 MB Notification: Performance of SimCode: time 1.423e-06/0.3046, allocations: 0 / 382.2 MB, free: 2.348 MB / 330.7 MB Notification: Performance of Templates: time 0.05512/0.3597, allocations: 29.09 MB / 411.3 MB, free: 5.668 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.487101820996031]