Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009035/0.0009035, allocations: 141.1 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8899/0.8899, allocations: 173.3 MB / 201.1 MB, free: 9.328 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 268 MB, free: 6.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.287e-05, allocations: 2.312 kB / 268 MB, free: 6.395 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.008758/0.00878, allocations: 10.59 MB / 278.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006008/0.01479, allocations: 3.17 MB / 281.8 MB, free: 8.574 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001986/0.01677, allocations: 111.2 kB / 281.9 MB, free: 8.465 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00186/0.01864, allocations: 0.7374 MB / 282.6 MB, free: 7.723 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003242/0.02188, allocations: 1.226 MB / 283.9 MB, free: 6.488 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009822/0.02286, allocations: 475.4 kB / 284.3 MB, free: 6.023 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00502/0.02788, allocations: 5.316 MB / 289.6 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1143/0.1422, allocations: 2.436 MB / 292.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005399/0.1476, allocations: 3.633 MB / 295.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004288/0.1519, allocations: 2.741 MB / 298.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001732/0.1536, allocations: 0.6214 MB / 299.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001741/0.1553, allocations: 0.7021 MB / 299.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001072/0.1564, allocations: 1.723 MB / 301.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001966/0.1584, allocations: 1.955 MB / 303.4 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003261/0.1616, allocations: 4.594 MB / 308 MB, free: 12.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1616, allocations: 1.25 kB / 308 MB, free: 12.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1616, allocations: 0 / 308 MB, free: 12.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.866e-05/0.1617, allocations: 3.375 kB / 308 MB, free: 12.57 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.004818/0.1665, allocations: 5.437 MB / 313.5 MB, free: 9.344 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.1666, allocations: 11.3 kB / 313.5 MB, free: 9.344 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000965/0.1675, allocations: 0.8879 MB / 314.4 MB, free: 8.938 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002041/0.1696, allocations: 2.568 MB / 316.9 MB, free: 6.449 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.956e-05/0.1697, allocations: 295 kB / 317.2 MB, free: 6.168 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002836/0.1699, allocations: 395.6 kB / 317.6 MB, free: 5.789 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003447/0.1734, allocations: 3.454 MB / 321.1 MB, free: 2.168 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.006e-05/0.1734, allocations: 3.375 kB / 321.1 MB, free: 2.168 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002162/0.1737, allocations: 159.3 kB / 321.2 MB, free: 2.016 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001099/0.1738, allocations: 204 kB / 321.4 MB, free: 1.812 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002519/0.1763, allocations: 1.47 MB / 322.9 MB, free: 336 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01433/0.1906, allocations: 12.81 MB / 335.7 MB, free: 3.641 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002488/0.1931, allocations: 2.324 MB / 338 MB, free: 1.434 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001524/0.1946, allocations: 1.314 MB / 339.4 MB, free: 136 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002004/0.1948, allocations: 73.97 kB / 339.4 MB, free: 64 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.139e-05/0.1949, allocations: 66.39 kB / 339.5 MB, free: 15.99 MB / 298.7 MB Notification: Performance of pre-optimization done (n=249): time 4.298e-06/0.1949, allocations: 0 / 339.5 MB, free: 15.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=256): time 0.0107/0.2056, allocations: 5.717 MB / 345.2 MB, free: 10.24 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.2056, allocations: 81.36 kB / 345.3 MB, free: 10.15 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002289/0.2079, allocations: 1.846 MB / 347.1 MB, free: 8.258 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001196/0.208, allocations: 65.7 kB / 347.2 MB, free: 8.188 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001377/0.2094, allocations: 1.806 MB / 349 MB, free: 6.367 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006235/0.21, allocations: 0.9183 MB / 349.9 MB, free: 5.461 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005868/0.2106, allocations: 446.9 kB / 350.4 MB, free: 5.016 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.2107, allocations: 480.8 kB / 350.8 MB, free: 4.543 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008221/0.2116, allocations: 372.5 kB / 351.2 MB, free: 4.176 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/0.2127, allocations: 0.8087 MB / 352 MB, free: 3.242 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002034/0.2147, allocations: 1.32 MB / 353.3 MB, free: 1.797 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/0.2147, allocations: 4 kB / 353.3 MB, free: 1.793 MB / 298.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.004294/0.219, allocations: 2.245 MB / 355.6 MB, free: 15.53 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.219, allocations: 12 kB / 355.6 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.219, allocations: 7.938 kB / 355.6 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003163/0.2222, allocations: 1.118 MB / 356.7 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.2233, allocations: 394.3 kB / 357.1 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01733/0.2406, allocations: 24.29 MB / 381.4 MB, free: 4.672 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.2421, allocations: 92 kB / 381.5 MB, free: 4.582 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001826/0.2423, allocations: 87.92 kB / 381.6 MB, free: 4.496 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.001001/0.2433, allocations: 293.3 kB / 381.8 MB, free: 4.223 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005456/0.2438, allocations: 374.2 kB / 382.2 MB, free: 3.855 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003271/0.2471, allocations: 2.266 MB / 384.5 MB, free: 1.535 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.2471, allocations: 27.94 kB / 384.5 MB, free: 1.508 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/0.2471, allocations: 8 kB / 384.5 MB, free: 1.5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/0.2471, allocations: 15.95 kB / 384.5 MB, free: 1.484 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007476/0.2546, allocations: 5.625 MB / 390.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.2546, allocations: 3.984 kB / 390.2 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006732/0.2553, allocations: 293 kB / 390.4 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002763/0.258, allocations: 1.111 MB / 391.5 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001634/0.2582, allocations: 63.92 kB / 391.6 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01393/0.2721, allocations: 24.12 MB / 415.7 MB, free: 1.211 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.2721, allocations: 8.062 kB / 415.7 MB, free: 1.203 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004188/0.2763, allocations: 2.826 MB / 418.6 MB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009195/0.2773, allocations: 0.5274 MB / 419.1 MB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001927/0.2774, allocations: 55.98 kB / 419.1 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005943/0.278, allocations: 119.9 kB / 419.3 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003955/0.2784, allocations: 236.9 kB / 419.5 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.374e-05/0.2785, allocations: 67.98 kB / 419.6 MB, free: 13.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001457/0.28, allocations: 1.066 MB / 420.6 MB, free: 12.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.28, allocations: 0 / 420.6 MB, free: 12.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002343/0.2823, allocations: 0.953 MB / 421.6 MB, free: 11.25 MB / 378.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.0004982/0.2828, allocations: 249.1 kB / 421.8 MB, free: 11.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003311/0.2861, allocations: 3.667 MB / 425.5 MB, free: 7.164 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2861, allocations: 0 / 425.5 MB, free: 7.164 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002515/0.2887, allocations: 3.111 MB / 428.6 MB, free: 3.863 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/0.2904, allocations: 0.7537 MB / 429.4 MB, free: 3.113 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1135/0.4039, allocations: 7.167 MB / 436.5 MB, free: 115.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002265/0.4061, allocations: 1.249 MB / 437.8 MB, free: 114.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001815/0.4079, allocations: 420.7 kB / 438.2 MB, free: 114.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005616/0.4085, allocations: 151.6 kB / 438.3 MB, free: 114.9 MB / 378.7 MB Notification: Performance of SimCode: time 3.085e-06/0.4085, allocations: 1.094 kB / 438.3 MB, free: 114.9 MB / 378.7 MB Notification: Performance of Templates: time 0.06249/0.471, allocations: 54.62 MB / 492.9 MB, free: 75.56 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.543052650056779]