Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 80.92 kB / 21.49 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 167.3 kB / 24.92 MB, free: 9.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.102/1.102, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 273.5 MB, free: 1.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.231e-05/2.38e-05, allocations: 2.312 kB / 273.5 MB, free: 1.215 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.008147/0.008171, allocations: 10.33 MB / 283.9 MB, free: 6.836 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006365/0.01454, allocations: 3.352 MB / 287.2 MB, free: 3.473 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.0156, allocations: 107.2 kB / 287.3 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.01677, allocations: 0.7448 MB / 288.1 MB, free: 2.617 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002097/0.01886, allocations: 1.222 MB / 289.3 MB, free: 1.387 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006768/0.01954, allocations: 487.4 kB / 289.8 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1172/0.1367, allocations: 5.336 MB / 295.1 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00314/0.1399, allocations: 2.503 MB / 297.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006942/0.1468, allocations: 3.638 MB / 301.2 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004568/0.1514, allocations: 2.743 MB / 304 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001496/0.1529, allocations: 0.6219 MB / 304.6 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001406/0.1543, allocations: 0.7059 MB / 305.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001025/0.1553, allocations: 1.723 MB / 307 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002041/0.1574, allocations: 1.96 MB / 309 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003548/0.1609, allocations: 4.6 MB / 313.6 MB, free: 6.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.1609, allocations: 0.9062 kB / 313.6 MB, free: 6.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1609, allocations: 0 / 313.6 MB, free: 6.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.912e-05/0.161, allocations: 0 / 313.6 MB, free: 6.82 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.004876/0.1659, allocations: 4.839 MB / 318.4 MB, free: 2.219 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1659, allocations: 8.531 kB / 318.4 MB, free: 2.211 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.1671, allocations: 0.7529 MB / 319.2 MB, free: 1.469 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002034/0.1692, allocations: 1.718 MB / 320.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001527/0.1693, allocations: 299.6 kB / 321.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003832/0.1697, allocations: 391.1 kB / 321.6 MB, free: 15.16 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003578/0.1733, allocations: 3.225 MB / 324.8 MB, free: 11.95 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.371e-05/0.1733, allocations: 7.734 kB / 324.8 MB, free: 11.94 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000239/0.1736, allocations: 160 kB / 325 MB, free: 11.79 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000146/0.1737, allocations: 200 kB / 325.2 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002008/0.1757, allocations: 1.183 MB / 326.3 MB, free: 10.39 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01203/0.1878, allocations: 9.09 MB / 335.4 MB, free: 1.684 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/0.1897, allocations: 1.937 MB / 337.4 MB, free: 15.81 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001318/0.191, allocations: 1.066 MB / 338.4 MB, free: 14.78 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001718/0.1911, allocations: 69.97 kB / 338.5 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.265e-05/0.1912, allocations: 64.5 kB / 338.6 MB, free: 14.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=249): time 4.819e-06/0.1912, allocations: 0 / 338.6 MB, free: 14.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=256): time 0.007326/0.1985, allocations: 4.11 MB / 342.7 MB, free: 10.55 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.1986, allocations: 77.42 kB / 342.8 MB, free: 10.46 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/0.1999, allocations: 1.436 MB / 344.2 MB, free: 9.258 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.2, allocations: 73.7 kB / 344.3 MB, free: 9.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009068/0.2009, allocations: 1.378 MB / 345.6 MB, free: 7.871 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004795/0.2014, allocations: 0.8746 MB / 346.5 MB, free: 7.051 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004063/0.2018, allocations: 387.2 kB / 346.9 MB, free: 6.715 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.435e-05/0.2018, allocations: 301.1 kB / 347.2 MB, free: 6.418 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004409/0.2023, allocations: 296 kB / 347.5 MB, free: 6.125 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005452/0.2028, allocations: 0.5515 MB / 348 MB, free: 5.531 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/0.204, allocations: 1.064 MB / 349.1 MB, free: 4.414 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.204, allocations: 0 / 349.1 MB, free: 4.414 MB / 298.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.002359/0.2064, allocations: 1.649 MB / 350.7 MB, free: 2.781 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.2064, allocations: 10.03 kB / 350.8 MB, free: 2.773 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.2064, allocations: 4 kB / 350.8 MB, free: 2.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002406/0.2088, allocations: 1.044 MB / 351.8 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.2099, allocations: 465 kB / 352.3 MB, free: 1.289 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01237/0.2223, allocations: 17.4 MB / 369.7 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.2234, allocations: 63.89 kB / 369.7 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/0.2235, allocations: 64.05 kB / 369.8 MB, free: 15.17 MB / 330.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.0008383/0.2244, allocations: 245.6 kB / 370 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004158/0.2248, allocations: 267.7 kB / 370.3 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002264/0.227, allocations: 1.734 MB / 372 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/0.2271, allocations: 27.09 kB / 372 MB, free: 12.9 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/0.2271, allocations: 12 kB / 372.1 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.2271, allocations: 15.95 kB / 372.1 MB, free: 12.87 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005511/0.2326, allocations: 3.727 MB / 375.8 MB, free: 9.441 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.2326, allocations: 4 kB / 375.8 MB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007441/0.2333, allocations: 329.2 kB / 376.1 MB, free: 9.129 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002193/0.2355, allocations: 1.031 MB / 377.2 MB, free: 8.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000143/0.2357, allocations: 51.98 kB / 377.2 MB, free: 8.039 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01123/0.2469, allocations: 17.59 MB / 394.8 MB, free: 5.828 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.2469, allocations: 0 / 394.8 MB, free: 5.828 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003227/0.2501, allocations: 2.137 MB / 396.9 MB, free: 3.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/0.2513, allocations: 340.8 kB / 397.3 MB, free: 3.344 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002593/0.2515, allocations: 55.98 kB / 397.3 MB, free: 3.289 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006161/0.2521, allocations: 91.95 kB / 397.4 MB, free: 3.199 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000402/0.2525, allocations: 209.2 kB / 397.6 MB, free: 2.996 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.804e-05/0.2526, allocations: 56 kB / 397.7 MB, free: 2.941 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008856/0.2535, allocations: 0.765 MB / 398.4 MB, free: 2.238 MB / 346.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2535, allocations: 0 / 398.4 MB, free: 2.238 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002611/0.2561, allocations: 0.9453 MB / 399.4 MB, free: 1.293 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.0004961/0.2566, allocations: 250.7 kB / 399.6 MB, free: 1.074 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002924/0.2596, allocations: 2.791 MB / 402.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.229e-05/0.2596, allocations: 24.5 kB / 402.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002333/0.2619, allocations: 2.375 MB / 404.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001945/0.2639, allocations: 0.7519 MB / 405.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008817/0.2727, allocations: 6.903 MB / 412.5 MB, free: 4.039 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/0.2739, allocations: 1.019 MB / 413.5 MB, free: 2.992 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009588/0.2748, allocations: 274.2 kB / 413.8 MB, free: 2.719 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00122/0.2761, allocations: 0.6748 MB / 414.4 MB, free: 2.027 MB / 362.7 MB Notification: Performance of SimCode: time 1.833e-06/0.2761, allocations: 0 / 414.4 MB, free: 2.027 MB / 362.7 MB Notification: Performance of Templates: time 0.1769/0.453, allocations: 55.92 MB / 470.3 MB, free: 91.96 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.400220382027328]