Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.001285/0.001285, allocations: 76.81 kB / 22.29 MB, free: 2.191 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.001165/0.001165, allocations: 158.9 kB / 25.69 MB, free: 8.77 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.8354/0.8354, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 251.6 MB, free: 7.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.619e-05, allocations: 2.312 kB / 251.6 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01123/0.01126, allocations: 10.21 MB / 261.8 MB, free: 12.98 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006927/0.01819, allocations: 3.384 MB / 265.2 MB, free: 9.586 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001281/0.01947, allocations: 95.25 kB / 265.2 MB, free: 9.492 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.0208, allocations: 0.7449 MB / 266 MB, free: 8.742 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002412/0.02321, allocations: 1.222 MB / 267.2 MB, free: 7.512 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008565/0.02407, allocations: 0.4993 MB / 267.7 MB, free: 7.012 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004461/0.02853, allocations: 5.48 MB / 273.2 MB, free: 1.508 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00244/0.03097, allocations: 2.308 MB / 275.5 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004817/0.03579, allocations: 3.608 MB / 279.1 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003545/0.03933, allocations: 2.74 MB / 281.8 MB, free: 8.766 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001619/0.04095, allocations: 0.6211 MB / 282.5 MB, free: 8.145 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001451/0.0424, allocations: 0.7107 MB / 283.2 MB, free: 7.434 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001373/0.04378, allocations: 1.714 MB / 284.9 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003216/0.04699, allocations: 1.949 MB / 286.8 MB, free: 3.762 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005429/0.05242, allocations: 4.584 MB / 291.4 MB, free: 15.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.05243, allocations: 7.938 kB / 291.4 MB, free: 15.15 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.05243, allocations: 0 / 291.4 MB, free: 15.15 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001747/0.0526, allocations: 0 / 291.4 MB, free: 15.15 MB / 282.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.00783/0.06043, allocations: 4.794 MB / 296.2 MB, free: 10.31 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.06047, allocations: 12.03 kB / 296.2 MB, free: 10.3 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001571/0.06204, allocations: 0.7307 MB / 297 MB, free: 9.566 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002849/0.06489, allocations: 1.515 MB / 298.5 MB, free: 7.977 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001841/0.06508, allocations: 296.2 kB / 298.8 MB, free: 7.688 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005047/0.06558, allocations: 395.9 kB / 299.2 MB, free: 7.301 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004746/0.07033, allocations: 3.225 MB / 302.4 MB, free: 3.91 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.415e-05/0.07039, allocations: 7.938 kB / 302.4 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003264/0.07072, allocations: 152 kB / 302.5 MB, free: 3.754 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001893/0.07091, allocations: 208 kB / 302.7 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002544/0.07345, allocations: 1.194 MB / 303.9 MB, free: 2.324 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01398/0.08743, allocations: 9.073 MB / 313 MB, free: 9 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001915/0.08934, allocations: 1.945 MB / 315 MB, free: 7.047 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.09045, allocations: 1.072 MB / 316 MB, free: 5.973 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002093/0.09066, allocations: 69.92 kB / 316.1 MB, free: 5.906 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.8e-05/0.09071, allocations: 64.56 kB / 316.2 MB, free: 5.832 MB / 298.7 MB Notification: Performance of pre-optimization done (n=249): time 4.598e-06/0.09071, allocations: 4 kB / 316.2 MB, free: 5.828 MB / 298.7 MB Notification: Performance of matching and sorting (n=256): time 0.007755/0.09847, allocations: 4.108 MB / 320.3 MB, free: 1.645 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.09851, allocations: 77.42 kB / 320.4 MB, free: 1.555 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/0.09989, allocations: 1.43 MB / 321.8 MB, free: 88 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001205/0.1, allocations: 65.7 kB / 321.8 MB, free: 16 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007743/0.1008, allocations: 1.387 MB / 323.2 MB, free: 14.61 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008252/0.1016, allocations: 0.8751 MB / 324.1 MB, free: 13.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004084/0.102, allocations: 384.5 kB / 324.5 MB, free: 13.35 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.746e-05/0.1021, allocations: 301.1 kB / 324.8 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004617/0.1025, allocations: 296 kB / 325.1 MB, free: 12.76 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005331/0.1031, allocations: 0.5534 MB / 325.6 MB, free: 12.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.1042, allocations: 1.058 MB / 326.7 MB, free: 10.93 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.1042, allocations: 0 / 326.7 MB, free: 10.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.002352/0.1065, allocations: 1.654 MB / 328.3 MB, free: 9.195 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.1066, allocations: 8 kB / 328.3 MB, free: 9.188 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.1066, allocations: 8 kB / 328.3 MB, free: 9.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002319/0.1089, allocations: 1.026 MB / 329.4 MB, free: 8.113 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007776/0.1097, allocations: 371.5 kB / 329.7 MB, free: 7.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01128/0.1209, allocations: 17.34 MB / 347.1 MB, free: 5.477 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/0.122, allocations: 64 kB / 347.1 MB, free: 5.414 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/0.1221, allocations: 68.05 kB / 347.2 MB, free: 5.348 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.0008251/0.1229, allocations: 240.2 kB / 347.4 MB, free: 5.102 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003972/0.1233, allocations: 267.7 kB / 347.7 MB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002237/0.1256, allocations: 1.737 MB / 349.4 MB, free: 3.016 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.1256, allocations: 27.98 kB / 349.5 MB, free: 2.988 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/0.1256, allocations: 8 kB / 349.5 MB, free: 2.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/0.1256, allocations: 15.95 kB / 349.5 MB, free: 2.965 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1102/0.2358, allocations: 3.72 MB / 353.2 MB, free: 93.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.2358, allocations: 0.6094 kB / 353.2 MB, free: 93.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006997/0.2365, allocations: 270 kB / 353.5 MB, free: 93.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002179/0.2387, allocations: 1.025 MB / 354.5 MB, free: 93.19 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001265/0.2388, allocations: 59.73 kB / 354.6 MB, free: 93.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008467/0.2473, allocations: 17.54 MB / 372.1 MB, free: 79.64 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2473, allocations: 0 / 372.1 MB, free: 79.64 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002611/0.2499, allocations: 2.146 MB / 374.2 MB, free: 79.17 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006481/0.2505, allocations: 330.3 kB / 374.6 MB, free: 79.17 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002166/0.2508, allocations: 55.39 kB / 374.6 MB, free: 79.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005443/0.2513, allocations: 90.2 kB / 374.7 MB, free: 79.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003158/0.2516, allocations: 215.9 kB / 374.9 MB, free: 79.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.079e-05/0.2517, allocations: 46.5 kB / 375 MB, free: 79.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006645/0.2524, allocations: 0.7622 MB / 375.7 MB, free: 79.07 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2524, allocations: 4 kB / 375.7 MB, free: 79.07 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002103/0.2545, allocations: 0.9507 MB / 376.7 MB, free: 79.07 MB / 330.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.000457/0.2549, allocations: 234.7 kB / 376.9 MB, free: 78.92 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002316/0.2572, allocations: 2.787 MB / 379.7 MB, free: 76.59 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.243e-05/0.2573, allocations: 24.22 kB / 379.7 MB, free: 76.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001634/0.2589, allocations: 2.372 MB / 382.1 MB, free: 74.53 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001616/0.2605, allocations: 0.7435 MB / 382.8 MB, free: 73.92 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007744/0.2682, allocations: 6.892 MB / 389.7 MB, free: 67.13 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008783/0.2691, allocations: 1.015 MB / 390.7 MB, free: 66.09 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007861/0.2699, allocations: 285.6 kB / 391 MB, free: 65.8 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/0.271, allocations: 0.6747 MB / 391.7 MB, free: 65.11 MB / 330.7 MB Notification: Performance of SimCode: time 2.014e-06/0.271, allocations: 0 / 391.7 MB, free: 65.11 MB / 330.7 MB Notification: Performance of Templates: time 0.05599/0.327, allocations: 55.84 MB / 447.5 MB, free: 9.316 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.26028384687379]