Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001375/0.001375, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.001073/0.001073, allocations: 166.1 kB / 25.7 MB, free: 8.32 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9309/0.9309, allocations: 158.6 MB / 187.6 MB, free: 2.777 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 251.6 MB, free: 7.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.343e-05, allocations: 6.312 kB / 251.6 MB, free: 7.215 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.006195/0.006219, allocations: 6.651 MB / 258.2 MB, free: 0.5273 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004153/0.01037, allocations: 2.376 MB / 260.6 MB, free: 14.14 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007541/0.01113, allocations: 55.56 kB / 260.7 MB, free: 14.09 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009507/0.01208, allocations: 469.1 kB / 261.1 MB, free: 13.63 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001523/0.0136, allocations: 0.7257 MB / 261.8 MB, free: 12.9 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005132/0.01411, allocations: 283.6 kB / 262.1 MB, free: 12.62 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002446/0.01656, allocations: 3.03 MB / 265.2 MB, free: 9.578 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001375/0.01793, allocations: 1.303 MB / 266.5 MB, free: 8.195 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002687/0.02062, allocations: 1.977 MB / 268.4 MB, free: 6.23 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001966/0.02259, allocations: 1.52 MB / 270 MB, free: 4.707 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007518/0.02334, allocations: 348 kB / 270.3 MB, free: 4.367 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007743/0.02411, allocations: 431.9 kB / 270.7 MB, free: 3.945 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006536/0.02477, allocations: 0.9388 MB / 271.7 MB, free: 3.004 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001041/0.02581, allocations: 1.076 MB / 272.7 MB, free: 1.926 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002018/0.02783, allocations: 2.559 MB / 275.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.02783, allocations: 0 / 275.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.02783, allocations: 0 / 275.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.416e-05/0.02787, allocations: 4 kB / 275.3 MB, free: 15.35 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.002961/0.03084, allocations: 2.746 MB / 278 MB, free: 12.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.03087, allocations: 15.98 kB / 278.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006563/0.03153, allocations: 420.5 kB / 278.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.0327, allocations: 0.8734 MB / 279.3 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.422e-05/0.03279, allocations: 172.7 kB / 279.5 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002183/0.03301, allocations: 223.9 kB / 279.7 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/0.03492, allocations: 1.79 MB / 281.5 MB, free: 8.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.311e-05/0.03496, allocations: 0 / 281.5 MB, free: 8.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.03509, allocations: 91.98 kB / 281.6 MB, free: 8.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001023/0.0352, allocations: 108.4 kB / 281.7 MB, free: 8.711 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.03621, allocations: 0.6495 MB / 282.4 MB, free: 8.035 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005741/0.04195, allocations: 4.993 MB / 287.4 MB, free: 2.887 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009518/0.04291, allocations: 0.978 MB / 288.3 MB, free: 1.902 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005606/0.04347, allocations: 0.5249 MB / 288.9 MB, free: 1.375 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001288/0.0436, allocations: 49.3 kB / 288.9 MB, free: 1.328 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.04363, allocations: 43.88 kB / 288.9 MB, free: 1.277 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 2.575e-06/0.04363, allocations: 4 kB / 288.9 MB, free: 1.273 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.003497/0.04713, allocations: 2.173 MB / 291.1 MB, free: 15.07 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.04716, allocations: 68.72 kB / 291.2 MB, free: 14.98 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006454/0.0478, allocations: 0.8382 MB / 292 MB, free: 14.13 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.412e-05/0.04786, allocations: 49.7 kB / 292.1 MB, free: 14.08 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003178/0.04818, allocations: 0.8151 MB / 292.9 MB, free: 13.25 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002181/0.04839, allocations: 467.9 kB / 293.3 MB, free: 12.79 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002036/0.0486, allocations: 202.8 kB / 293.5 MB, free: 12.59 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.077e-05/0.04869, allocations: 361.8 kB / 293.9 MB, free: 12.23 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.0489, allocations: 161.4 kB / 294.1 MB, free: 12.07 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002653/0.04916, allocations: 300.7 kB / 294.4 MB, free: 11.72 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005513/0.04971, allocations: 0.5682 MB / 294.9 MB, free: 11.1 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.04972, allocations: 0 / 294.9 MB, free: 11.1 MB / 282.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001097/0.05081, allocations: 0.8525 MB / 295.8 MB, free: 10.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.05083, allocations: 7.938 kB / 295.8 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/0.05084, allocations: 4.438 kB / 295.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/0.052, allocations: 0.5131 MB / 296.3 MB, free: 9.688 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005036/0.0525, allocations: 223.7 kB / 296.5 MB, free: 9.469 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004902/0.0574, allocations: 7.409 MB / 303.9 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004445/0.05785, allocations: 39.92 kB / 304 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.856e-05/0.0579, allocations: 28 kB / 304 MB, free: 1.621 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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.0004269/0.05832, allocations: 192.4 kB / 304.2 MB, free: 1.422 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/0.05852, allocations: 147.7 kB / 304.3 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/0.05964, allocations: 0.8882 MB / 305.2 MB, free: 372 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.05965, allocations: 15.94 kB / 305.2 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.05966, allocations: 8 kB / 305.2 MB, free: 348 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.05967, allocations: 3.984 kB / 305.2 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002831/0.0625, allocations: 2.354 MB / 307.6 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.0625, allocations: 8 kB / 307.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004153/0.06292, allocations: 175.9 kB / 307.8 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001085/0.064, allocations: 0.5081 MB / 308.3 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.763e-05/0.06406, allocations: 31.98 kB / 308.3 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00473/0.06879, allocations: 7.454 MB / 315.8 MB, free: 5.355 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.06879, allocations: 0 / 315.8 MB, free: 5.355 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00156/0.07035, allocations: 1.196 MB / 317 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000357/0.07071, allocations: 183.3 kB / 317.1 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.07082, allocations: 31.98 kB / 317.2 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000323/0.07114, allocations: 44.03 kB / 317.2 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/0.07133, allocations: 117 kB / 317.3 MB, free: 3.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.927e-05/0.07138, allocations: 28 kB / 317.4 MB, free: 3.723 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003881/0.07177, allocations: 435.5 kB / 317.8 MB, free: 3.289 MB / 298.7 MB Notification: Performance of sort global known variables: time 2e-08/0.07177, allocations: 4 kB / 317.8 MB, free: 3.285 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001212/0.07298, allocations: 0.5078 MB / 318.3 MB, free: 2.777 MB / 298.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.0003872/0.07337, allocations: 189 kB / 318.5 MB, free: 2.594 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00138/0.07475, allocations: 1.334 MB / 319.8 MB, free: 1.203 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.461e-05/0.07476, allocations: 12 kB / 319.8 MB, free: 1.191 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00095/0.07571, allocations: 1.111 MB / 320.9 MB, free: 28 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009122/0.07663, allocations: 415.9 kB / 321.3 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004511/0.08114, allocations: 3.807 MB / 325.1 MB, free: 11.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005038/0.08164, allocations: 0.5687 MB / 325.7 MB, free: 11.15 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003944/0.08204, allocations: 155.9 kB / 325.9 MB, free: 10.99 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006559/0.08269, allocations: 399 kB / 326.3 MB, free: 10.6 MB / 314.7 MB Notification: Performance of SimCode: time 1.362e-06/0.08269, allocations: 0 / 326.3 MB, free: 10.6 MB / 314.7 MB Notification: Performance of Templates: time 0.1302/0.2129, allocations: 31.01 MB / 357.3 MB, free: 97.63 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 3.3886432079598308]