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.001318/0.001318, allocations: 80.8 kB / 22.28 MB, free: 2.203 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.001094/0.001094, allocations: 171.3 kB / 25.69 MB, free: 8.453 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.9596/0.9596, allocations: 158.6 MB / 187.6 MB, free: 2.785 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.222e-06/1.222e-06, allocations: 0 / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023e-05/1.145e-05, allocations: 2.312 kB / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.005239/0.00525, allocations: 6.609 MB / 258.1 MB, free: 0.6055 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002528/0.007778, allocations: 2.384 MB / 260.5 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002963/0.008074, allocations: 55.62 kB / 260.6 MB, free: 14.16 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007501/0.008825, allocations: 457.2 kB / 261 MB, free: 13.71 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009825/0.009807, allocations: 0.7296 MB / 261.8 MB, free: 12.98 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.01016, allocations: 279.7 kB / 262 MB, free: 12.7 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00193/0.01209, allocations: 3.037 MB / 265.1 MB, free: 9.652 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/0.01311, allocations: 1.295 MB / 266.4 MB, free: 8.277 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001707/0.01482, allocations: 1.981 MB / 268.3 MB, free: 6.309 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001233/0.01605, allocations: 1.516 MB / 269.9 MB, free: 4.789 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002702/0.01632, allocations: 348 kB / 270.2 MB, free: 4.449 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004427/0.01677, allocations: 431.8 kB / 270.6 MB, free: 4.027 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005632/0.01733, allocations: 0.9466 MB / 271.6 MB, free: 3.078 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007616/0.01809, allocations: 1.072 MB / 272.6 MB, free: 2.004 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001882/0.01997, allocations: 2.551 MB / 275.2 MB, free: 15.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.01998, allocations: 0 / 275.2 MB, free: 15.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.01998, allocations: 0 / 275.2 MB, free: 15.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.281e-05/0.02, allocations: 0 / 275.2 MB, free: 15.44 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.002665/0.02266, allocations: 2.758 MB / 277.9 MB, free: 12.64 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.0227, allocations: 11.98 kB / 278 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005692/0.02327, allocations: 420.5 kB / 278.4 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009719/0.02424, allocations: 0.8734 MB / 279.2 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-05/0.02431, allocations: 160.8 kB / 279.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002103/0.02452, allocations: 227.9 kB / 279.6 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.02617, allocations: 1.79 MB / 281.4 MB, free: 9 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/0.0262, allocations: 0 / 281.4 MB, free: 9 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/0.02633, allocations: 88 kB / 281.5 MB, free: 8.914 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.648e-05/0.02641, allocations: 108.4 kB / 281.6 MB, free: 8.805 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009041/0.02731, allocations: 0.6495 MB / 282.3 MB, free: 8.129 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005184/0.0325, allocations: 5.013 MB / 287.3 MB, free: 2.961 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009015/0.0334, allocations: 0.9702 MB / 288.2 MB, free: 1.984 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005757/0.03398, allocations: 0.521 MB / 288.8 MB, free: 1.461 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001427/0.03412, allocations: 49.28 kB / 288.8 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.03415, allocations: 47.88 kB / 288.9 MB, free: 1.359 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 4.158e-06/0.03416, allocations: 4 kB / 288.9 MB, free: 1.355 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.003397/0.03755, allocations: 2.181 MB / 291 MB, free: 15.14 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.03759, allocations: 64.72 kB / 291.1 MB, free: 15.06 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006073/0.03819, allocations: 0.8343 MB / 291.9 MB, free: 14.21 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.666e-05/0.03825, allocations: 49.7 kB / 292 MB, free: 14.16 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003283/0.03858, allocations: 0.8112 MB / 292.8 MB, free: 13.34 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002589/0.03884, allocations: 460 kB / 293.2 MB, free: 12.88 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002407/0.03908, allocations: 218.7 kB / 293.5 MB, free: 12.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.0392, allocations: 357.8 kB / 293.8 MB, free: 12.31 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.03943, allocations: 157.4 kB / 294 MB, free: 12.15 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/0.03971, allocations: 300.7 kB / 294.3 MB, free: 11.81 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005691/0.04028, allocations: 0.5681 MB / 294.8 MB, free: 11.19 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.04028, allocations: 0 / 294.8 MB, free: 11.19 MB / 282.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001109/0.04139, allocations: 0.8564 MB / 295.7 MB, free: 10.31 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.04141, allocations: 11.94 kB / 295.7 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.04142, allocations: 4 kB / 295.7 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/0.04253, allocations: 0.5057 MB / 296.2 MB, free: 9.773 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003914/0.04292, allocations: 199.7 kB / 296.4 MB, free: 9.578 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004666/0.04759, allocations: 7.389 MB / 303.8 MB, free: 1.816 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003275/0.04791, allocations: 39.92 kB / 303.8 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.142e-05/0.04796, allocations: 32 kB / 303.9 MB, free: 1.746 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.0003455/0.04831, allocations: 180.4 kB / 304 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000182/0.04849, allocations: 155.8 kB / 304.2 MB, free: 1.406 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.04958, allocations: 0.892 MB / 305.1 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.04959, allocations: 12 kB / 305.1 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.04959, allocations: 7.938 kB / 305.1 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.0496, allocations: 3.984 kB / 305.1 MB, free: 476 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002706/0.05231, allocations: 2.354 MB / 307.5 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.05231, allocations: 0 / 307.5 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000328/0.05264, allocations: 151.9 kB / 307.6 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001032/0.05367, allocations: 0.5081 MB / 308.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.973e-05/0.05372, allocations: 28 kB / 308.1 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004459/0.05818, allocations: 7.435 MB / 315.6 MB, free: 5.539 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.05818, allocations: 0 / 315.6 MB, free: 5.539 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.05947, allocations: 1.196 MB / 316.8 MB, free: 4.301 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002812/0.05975, allocations: 183.3 kB / 316.9 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.05986, allocations: 27.94 kB / 317 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003061/0.06016, allocations: 59.97 kB / 317 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.0603, allocations: 109 kB / 317.1 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.487e-05/0.06035, allocations: 24 kB / 317.2 MB, free: 3.906 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003355/0.06068, allocations: 431.5 kB / 317.6 MB, free: 3.477 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.06068, allocations: 0 / 317.6 MB, free: 3.477 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001031/0.06172, allocations: 0.5117 MB / 318.1 MB, free: 2.965 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.0003487/0.06206, allocations: 196.9 kB / 318.3 MB, free: 2.773 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001234/0.0633, allocations: 1.334 MB / 319.6 MB, free: 1.383 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/0.06331, allocations: 12 kB / 319.6 MB, free: 1.371 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008751/0.06419, allocations: 1.111 MB / 320.7 MB, free: 212 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008424/0.06503, allocations: 408 kB / 321.1 MB, free: 15.8 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003957/0.06899, allocations: 3.8 MB / 324.9 MB, free: 11.94 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004757/0.06946, allocations: 0.5765 MB / 325.5 MB, free: 11.33 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003042/0.06977, allocations: 151.9 kB / 325.7 MB, free: 11.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006011/0.07037, allocations: 395 kB / 326.1 MB, free: 10.79 MB / 314.7 MB Notification: Performance of SimCode: time 8.92e-07/0.07037, allocations: 4 kB / 326.1 MB, free: 10.79 MB / 314.7 MB Notification: Performance of Templates: time 0.1296/0.1999, allocations: 30.92 MB / 357 MB, free: 97.54 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 -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.3539603129029274]