Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.001086/0.001086, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001145/0.001145, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.02/1.02, allocations: 177.1 MB / 205 MB, free: 5.645 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.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_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.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.404e-05, allocations: 2.312 kB / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.006538/0.006562, allocations: 6.839 MB / 279.8 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003118/0.00968, allocations: 2.302 MB / 282.1 MB, free: 8.363 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004588/0.01014, allocations: 63.56 kB / 282.2 MB, free: 8.301 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007978/0.01094, allocations: 469.1 kB / 282.6 MB, free: 7.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001116/0.01205, allocations: 0.7141 MB / 283.4 MB, free: 7.121 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003643/0.01242, allocations: 283.6 kB / 283.6 MB, free: 6.844 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002092/0.01451, allocations: 2.944 MB / 286.6 MB, free: 3.883 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001286/0.01579, allocations: 1.344 MB / 287.9 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002256/0.01805, allocations: 2.001 MB / 289.9 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1354/0.1535, allocations: 1.508 MB / 291.4 MB, free: 17.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001394/0.1549, allocations: 348.9 kB / 291.8 MB, free: 17.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.1561, allocations: 443.5 kB / 292.2 MB, free: 17.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008732/0.157, allocations: 0.9429 MB / 293.2 MB, free: 17.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002538/0.1595, allocations: 1.078 MB / 294.2 MB, free: 17.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003928/0.1635, allocations: 2.563 MB / 296.8 MB, free: 16.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.1635, allocations: 1.188 kB / 296.8 MB, free: 16.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1635, allocations: 0.7812 kB / 296.8 MB, free: 16.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001689/0.1636, allocations: 0 / 296.8 MB, free: 16.84 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.01029/0.1739, allocations: 3.163 MB / 300 MB, free: 15.06 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.604e-05/0.174, allocations: 10.25 kB / 300 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001809/0.1758, allocations: 0.5201 MB / 300.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00387/0.1797, allocations: 1.495 MB / 302 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/0.1798, allocations: 164.2 kB / 302.1 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003912/0.1802, allocations: 223.5 kB / 302.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00412/0.1843, allocations: 1.904 MB / 304.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.302e-05/0.1844, allocations: 0.75 kB / 304.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001491/0.1845, allocations: 96.05 kB / 304.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.724e-05/0.1846, allocations: 111.1 kB / 304.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00176/0.1864, allocations: 0.8026 MB / 305.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007843/0.1942, allocations: 6.969 MB / 312.2 MB, free: 8.559 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.1954, allocations: 1.129 MB / 313.4 MB, free: 8.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007767/0.1962, allocations: 0.6413 MB / 314 MB, free: 7.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001629/0.1964, allocations: 49.28 kB / 314.1 MB, free: 7.633 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.1964, allocations: 54.7 kB / 314.1 MB, free: 7.566 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 3.106e-06/0.1964, allocations: 6.406 kB / 314.1 MB, free: 7.566 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.004797/0.2012, allocations: 3.064 MB / 317.2 MB, free: 4.496 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.2012, allocations: 64.72 kB / 317.2 MB, free: 4.422 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009642/0.2022, allocations: 1.091 MB / 318.3 MB, free: 3.316 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.423e-05/0.2023, allocations: 49.7 kB / 318.4 MB, free: 3.262 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003314/0.2026, allocations: 1.054 MB / 319.4 MB, free: 2.195 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/0.2028, allocations: 482.7 kB / 319.9 MB, free: 1.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.203, allocations: 240.5 kB / 320.1 MB, free: 1.488 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.438e-05/0.2031, allocations: 0.5434 MB / 320.7 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003132/0.2034, allocations: 194.5 kB / 320.9 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003678/0.2038, allocations: 432.4 kB / 321.3 MB, free: 264 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008341/0.2046, allocations: 0.6886 MB / 322 MB, free: 15.52 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.2046, allocations: 0 / 322 MB, free: 15.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00176/0.2064, allocations: 1.164 MB / 323.2 MB, free: 14.38 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.2064, allocations: 8 kB / 323.2 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.2064, allocations: 7.938 kB / 323.2 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001403/0.2078, allocations: 0.5634 MB / 323.7 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005175/0.2083, allocations: 205.3 kB / 323.9 MB, free: 13.6 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007025/0.2154, allocations: 10.29 MB / 334.2 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007554/0.2161, allocations: 51.91 kB / 334.3 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.023e-05/0.2162, allocations: 40 kB / 334.3 MB, free: 2.816 MB / 282.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.0007403/0.2169, allocations: 228.1 kB / 334.5 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002624/0.2172, allocations: 207 kB / 334.7 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001607/0.2188, allocations: 1.174 MB / 335.9 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.2188, allocations: 12 kB / 335.9 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2188, allocations: 4 kB / 335.9 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.2188, allocations: 3.984 kB / 335.9 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004371/0.2232, allocations: 3.09 MB / 339 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.2232, allocations: 4 kB / 339 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003574/0.2235, allocations: 150.9 kB / 339.2 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00143/0.225, allocations: 0.5564 MB / 339.7 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.494e-05/0.2251, allocations: 31.98 kB / 339.8 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006603/0.2317, allocations: 10.22 MB / 350 MB, free: 2.711 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2317, allocations: 32 / 350 MB, free: 2.711 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002272/0.2339, allocations: 1.568 MB / 351.5 MB, free: 1.113 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000591/0.2345, allocations: 290.9 kB / 351.8 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.2346, allocations: 28 kB / 351.9 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003843/0.235, allocations: 63.94 kB / 351.9 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000235/0.2353, allocations: 129.1 kB / 352 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.697e-05/0.2353, allocations: 39.94 kB / 352.1 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007661/0.2361, allocations: 0.6541 MB / 352.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2361, allocations: 0 / 352.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001498/0.2376, allocations: 0.5117 MB / 353.3 MB, free: 15.4 MB / 314.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.0005176/0.2381, allocations: 210 kB / 353.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001922/0.24, allocations: 1.708 MB / 355.2 MB, free: 13.45 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.24, allocations: 0.875 kB / 355.2 MB, free: 13.45 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001212/0.2412, allocations: 1.42 MB / 356.6 MB, free: 11.97 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.2424, allocations: 418.8 kB / 357 MB, free: 11.57 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005646/0.248, allocations: 3.928 MB / 360.9 MB, free: 7.598 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006947/0.2487, allocations: 0.7053 MB / 361.6 MB, free: 6.859 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006146/0.2494, allocations: 227.8 kB / 361.8 MB, free: 6.633 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.2496, allocations: 88.48 kB / 361.9 MB, free: 6.547 MB / 314.7 MB Notification: Performance of SimCode: time 2.455e-06/0.2496, allocations: 0 / 361.9 MB, free: 6.547 MB / 314.7 MB Notification: Performance of Templates: time 0.03833/0.2879, allocations: 29.22 MB / 391.2 MB, free: 9.777 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",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.008880543988198]