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.0007851/0.0007851, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001121/0.001906, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.000712/0.000712, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008596/0.001572, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.044/1.044, allocations: 177.4 MB / 189.9 MB, free: 4.848 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08423/1.128, allocations: 53.87 MB / 243.7 MB, free: 14.92 MB / 250.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.773e-06/1.773e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.874e-05/2.051e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01183/0.01185, allocations: 10.44 MB / 255.5 MB, free: 3.148 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005598/0.01744, allocations: 3.406 MB / 258.9 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.01866, allocations: 107.2 kB / 259 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.01987, allocations: 0.7604 MB / 259.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002178/0.02205, allocations: 1.254 MB / 261 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007171/0.02277, allocations: 487.3 kB / 261.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004068/0.02683, allocations: 5.43 MB / 266.9 MB, free: 7.668 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002651/0.02948, allocations: 2.511 MB / 269.4 MB, free: 5.047 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005055/0.03454, allocations: 3.968 MB / 273.4 MB, free: 1.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1157/0.1502, allocations: 2.755 MB / 276.1 MB, free: 5.953 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001809/0.152, allocations: 0.6241 MB / 276.8 MB, free: 5.953 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002009/0.154, allocations: 0.7122 MB / 277.5 MB, free: 5.953 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001541/0.1556, allocations: 1.42 MB / 278.9 MB, free: 5.953 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002991/0.1586, allocations: 1.626 MB / 280.5 MB, free: 5.953 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004744/0.1633, allocations: 4.349 MB / 284.9 MB, free: 5.566 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.006e-05/0.1633, allocations: 3.438 kB / 284.9 MB, free: 5.566 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1633, allocations: 0 / 284.9 MB, free: 5.566 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001158/0.1635, allocations: 0 / 284.9 MB, free: 5.566 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.006212/0.1697, allocations: 5.832 MB / 290.7 MB, free: 3.664 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.1697, allocations: 10.22 kB / 290.7 MB, free: 3.664 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.1708, allocations: 0.8309 MB / 291.6 MB, free: 3.566 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002005/0.1728, allocations: 1.728 MB / 293.3 MB, free: 2.926 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.1729, allocations: 289.1 kB / 293.6 MB, free: 2.918 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003422/0.1733, allocations: 394 kB / 293.9 MB, free: 2.918 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003023/0.1763, allocations: 3.249 MB / 297.2 MB, free: 1.941 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.074e-05/0.1764, allocations: 11.94 kB / 297.2 MB, free: 1.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002316/0.1766, allocations: 155 kB / 297.4 MB, free: 1.781 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001226/0.1767, allocations: 228.2 kB / 297.6 MB, free: 1.574 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/0.1783, allocations: 1.192 MB / 298.8 MB, free: 0.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01194/0.1903, allocations: 9.415 MB / 308.2 MB, free: 8.539 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001897/0.1922, allocations: 1.937 MB / 310.1 MB, free: 6.656 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/0.1932, allocations: 1.067 MB / 311.2 MB, free: 5.641 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001871/0.1934, allocations: 69.98 kB / 311.3 MB, free: 5.57 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/0.1935, allocations: 64.22 kB / 311.3 MB, free: 5.504 MB / 282.7 MB Notification: Performance of pre-optimization done (n=249): time 4.238e-06/0.1935, allocations: 0 / 311.3 MB, free: 5.504 MB / 282.7 MB Notification: Performance of matching and sorting (n=256): time 0.007029/0.2005, allocations: 4.113 MB / 315.4 MB, free: 1.41 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.2005, allocations: 81.42 kB / 315.5 MB, free: 1.316 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.2018, allocations: 1.433 MB / 316.9 MB, free: 120 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.2019, allocations: 73.7 kB / 317 MB, free: 40 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005923/0.2025, allocations: 1.397 MB / 318.4 MB, free: 14.71 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000441/0.203, allocations: 0.8663 MB / 319.3 MB, free: 13.9 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003877/0.2034, allocations: 393.5 kB / 319.7 MB, free: 13.56 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.84e-05/0.2034, allocations: 309.1 kB / 320 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004262/0.2039, allocations: 298.7 kB / 320.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005032/0.2044, allocations: 0.5461 MB / 320.8 MB, free: 12.37 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.2054, allocations: 1.06 MB / 321.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.2054, allocations: 7.562 kB / 321.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.002097/0.2075, allocations: 1.653 MB / 323.5 MB, free: 9.613 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.2075, allocations: 8 kB / 323.5 MB, free: 9.605 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.2076, allocations: 4 kB / 323.5 MB, free: 9.602 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002148/0.2097, allocations: 1.037 MB / 324.6 MB, free: 8.566 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000998/0.2107, allocations: 495.3 kB / 325.1 MB, free: 8.102 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/0.221, allocations: 17.4 MB / 342.5 MB, free: 6.113 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/0.2222, allocations: 59.98 kB / 342.5 MB, free: 6.055 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.2223, allocations: 60 kB / 342.6 MB, free: 5.996 MB / 314.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.001071/0.2234, allocations: 245.5 kB / 342.8 MB, free: 5.766 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004309/0.2238, allocations: 278.8 kB / 343.1 MB, free: 5.496 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002265/0.226, allocations: 1.741 MB / 344.8 MB, free: 3.734 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/0.2261, allocations: 24 kB / 344.9 MB, free: 3.711 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/0.2261, allocations: 8 kB / 344.9 MB, free: 3.703 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/0.2261, allocations: 15.89 kB / 344.9 MB, free: 3.688 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005556/0.2316, allocations: 3.744 MB / 348.6 MB, free: 252 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.2317, allocations: 0 / 348.6 MB, free: 252 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007758/0.2324, allocations: 345.9 kB / 349 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007075/0.2331, allocations: 344 kB / 349.3 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002353/0.2355, allocations: 1.031 MB / 350.3 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001249/0.2356, allocations: 59.97 kB / 350.4 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0106/0.2462, allocations: 17.59 MB / 368 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.2462, allocations: 4 kB / 368 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003076/0.2493, allocations: 2.148 MB / 370.1 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003872/0.2497, allocations: 55.98 kB / 370.2 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000632/0.2503, allocations: 91.95 kB / 370.3 MB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003576/0.2507, allocations: 205.3 kB / 370.5 MB, free: 9.766 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.384e-05/0.2508, allocations: 47.98 kB / 370.5 MB, free: 9.719 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008661/0.2516, allocations: 0.7659 MB / 371.3 MB, free: 9.016 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2516, allocations: 0 / 371.3 MB, free: 9.016 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002674/0.2543, allocations: 0.957 MB / 372.2 MB, free: 8.059 MB / 346.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.0004916/0.2548, allocations: 237.9 kB / 372.5 MB, free: 7.852 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002776/0.2576, allocations: 2.8 MB / 375.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.905e-05/0.2576, allocations: 48.62 kB / 375.3 MB, free: 4.938 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002015/0.2597, allocations: 2.379 MB / 377.7 MB, free: 2.492 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/0.2616, allocations: 0.966 MB / 378.7 MB, free: 1.531 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02582/0.2874, allocations: 7.642 MB / 386.3 MB, free: 9.879 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/0.2885, allocations: 1.072 MB / 387.4 MB, free: 8.789 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008988/0.2894, allocations: 278.2 kB / 387.7 MB, free: 8.512 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001169/0.2906, allocations: 0.6748 MB / 388.3 MB, free: 7.816 MB / 362.7 MB Notification: Performance of SimCode: time 1.513e-06/0.2906, allocations: 0 / 388.3 MB, free: 7.816 MB / 362.7 MB Notification: Performance of Templates: time 0.1759/0.4665, allocations: 58.73 MB / 447.1 MB, free: 114.9 MB / 394.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 -ignoreHideResult -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.527105371467769]