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.001084/0.001084, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001067/0.001067, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 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.036/1.036, allocations: 177 MB / 205.2 MB, free: 5.051 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.493e-06/1.493e-06, allocations: 0 / 273.5 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.511e-05/1.66e-05, allocations: 2.312 kB / 273.5 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.007609/0.007625, allocations: 10.38 MB / 283.8 MB, free: 6.566 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004559/0.01218, allocations: 3.383 MB / 287.2 MB, free: 3.172 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007559/0.01294, allocations: 115.2 kB / 287.3 MB, free: 3.059 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.01399, allocations: 0.7448 MB / 288.1 MB, free: 2.309 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001598/0.01559, allocations: 1.261 MB / 289.3 MB, free: 1.039 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005561/0.01615, allocations: 487.3 kB / 289.8 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1207/0.1369, allocations: 5.397 MB / 295.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004254/0.1411, allocations: 2.508 MB / 297.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007184/0.1483, allocations: 3.669 MB / 301.4 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005514/0.1538, allocations: 2.762 MB / 304.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00189/0.1557, allocations: 0.6259 MB / 304.8 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001914/0.1576, allocations: 0.7137 MB / 305.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001042/0.1587, allocations: 1.743 MB / 307.2 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002913/0.1616, allocations: 1.966 MB / 309.2 MB, free: 10.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003821/0.1654, allocations: 4.624 MB / 313.8 MB, free: 6.434 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1654, allocations: 0.875 kB / 313.8 MB, free: 6.434 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1654, allocations: 0 / 313.8 MB, free: 6.434 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001346/0.1655, allocations: 0.8438 kB / 313.8 MB, free: 6.434 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.005098/0.1706, allocations: 4.859 MB / 318.7 MB, free: 1.812 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.1707, allocations: 12.03 kB / 318.7 MB, free: 1.801 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.1718, allocations: 0.7616 MB / 319.5 MB, free: 1.047 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002184/0.174, allocations: 1.721 MB / 321.2 MB, free: 15.4 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/0.1741, allocations: 295.4 kB / 321.5 MB, free: 15.11 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004016/0.1745, allocations: 392.2 kB / 321.8 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003393/0.1779, allocations: 3.242 MB / 325.1 MB, free: 11.51 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.2e-05/0.178, allocations: 3.938 kB / 325.1 MB, free: 11.51 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002362/0.1782, allocations: 163 kB / 325.3 MB, free: 11.35 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001556/0.1784, allocations: 230.9 kB / 325.5 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/0.1802, allocations: 1.191 MB / 326.7 MB, free: 9.922 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01108/0.1913, allocations: 9.152 MB / 335.8 MB, free: 1.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001868/0.1931, allocations: 1.945 MB / 337.8 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001125/0.1942, allocations: 1.067 MB / 338.8 MB, free: 14.24 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002076/0.1945, allocations: 61.98 kB / 338.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.235e-05/0.1945, allocations: 68.56 kB / 339 MB, free: 14.11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=249): time 4.378e-06/0.1945, allocations: 0 / 339 MB, free: 14.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=256): time 0.007243/0.2018, allocations: 4.115 MB / 343.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.2018, allocations: 77.42 kB / 343.2 MB, free: 9.926 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/0.2031, allocations: 1.432 MB / 344.6 MB, free: 8.727 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001012/0.2032, allocations: 73.7 kB / 344.7 MB, free: 8.648 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005753/0.2037, allocations: 1.402 MB / 346.1 MB, free: 7.316 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000435/0.2042, allocations: 0.8734 MB / 346.9 MB, free: 6.496 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004122/0.2046, allocations: 383.7 kB / 347.3 MB, free: 6.164 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.769e-05/0.2047, allocations: 308 kB / 347.6 MB, free: 5.863 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004085/0.2051, allocations: 300 kB / 347.9 MB, free: 5.566 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005098/0.2056, allocations: 0.5515 MB / 348.5 MB, free: 4.969 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.2066, allocations: 1.059 MB / 349.5 MB, free: 3.859 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.2067, allocations: 4 kB / 349.5 MB, free: 3.855 MB / 298.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.002191/0.2088, allocations: 1.655 MB / 351.2 MB, free: 2.215 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.2089, allocations: 4.781 kB / 351.2 MB, free: 2.211 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.2089, allocations: 8 kB / 351.2 MB, free: 2.203 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00223/0.2111, allocations: 1.029 MB / 352.2 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009725/0.2121, allocations: 465.2 kB / 352.7 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01061/0.2227, allocations: 17.4 MB / 370.1 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.2238, allocations: 56 kB / 370.1 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.224, allocations: 59.98 kB / 370.2 MB, free: 14.64 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.0008526/0.2248, allocations: 245.4 kB / 370.4 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004272/0.2252, allocations: 271.6 kB / 370.7 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002184/0.2274, allocations: 1.725 MB / 372.4 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/0.2274, allocations: 28 kB / 372.4 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.2275, allocations: 8 kB / 372.4 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/0.2275, allocations: 19.55 kB / 372.5 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005224/0.2327, allocations: 3.741 MB / 376.2 MB, free: 8.898 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.555e-06/0.2327, allocations: 8.047 kB / 376.2 MB, free: 8.891 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007399/0.2334, allocations: 325.8 kB / 376.5 MB, free: 8.586 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002075/0.2355, allocations: 1.03 MB / 377.6 MB, free: 7.547 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/0.2356, allocations: 51.98 kB / 377.6 MB, free: 7.496 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0109/0.2465, allocations: 17.59 MB / 395.2 MB, free: 5.289 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.2465, allocations: 4 kB / 395.2 MB, free: 5.285 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003075/0.2496, allocations: 2.153 MB / 397.4 MB, free: 3.121 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008543/0.2505, allocations: 332.8 kB / 397.7 MB, free: 2.793 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002056/0.2507, allocations: 55.98 kB / 397.7 MB, free: 2.738 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005686/0.2512, allocations: 91.95 kB / 397.8 MB, free: 2.648 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003796/0.2516, allocations: 209.2 kB / 398 MB, free: 2.445 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-05/0.2517, allocations: 47.98 kB / 398.1 MB, free: 2.398 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009227/0.2526, allocations: 0.7655 MB / 398.8 MB, free: 1.695 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2526, allocations: 0 / 398.8 MB, free: 1.695 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002436/0.2551, allocations: 0.9531 MB / 399.8 MB, free: 0.7422 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.0004732/0.2555, allocations: 240 kB / 400 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003165/0.2587, allocations: 2.792 MB / 402.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.202e-05/0.2587, allocations: 24.5 kB / 402.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00209/0.2608, allocations: 2.374 MB / 405.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/0.2627, allocations: 0.7451 MB / 406 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.2734, allocations: 6.946 MB / 412.9 MB, free: 3.469 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001165/0.2745, allocations: 1.032 MB / 413.9 MB, free: 2.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000936/0.2755, allocations: 278.2 kB / 414.2 MB, free: 2.133 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001239/0.2767, allocations: 0.6748 MB / 414.9 MB, free: 1.441 MB / 362.7 MB Notification: Performance of SimCode: time 2.314e-06/0.2767, allocations: 4 kB / 414.9 MB, free: 1.438 MB / 362.7 MB Notification: Performance of Templates: time 0.1765/0.4532, allocations: 55.9 MB / 470.8 MB, free: 91 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 -s gbode -gbm=radauIIA3 -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.366061597596854]