Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001331/0.001331, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001396/0.001396, allocations: 165.9 kB / 24.99 MB, free: 8.336 MB / 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 0.9706/0.9706, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.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.1.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.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 273.1 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.334e-05/1.478e-05, allocations: 2.312 kB / 273.1 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.008149/0.008164, allocations: 10.57 MB / 283.7 MB, free: 7.199 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004786/0.01295, allocations: 3.217 MB / 286.9 MB, free: 3.973 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.01397, allocations: 111.2 kB / 287 MB, free: 3.863 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.01515, allocations: 0.7332 MB / 287.7 MB, free: 3.125 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002131/0.01728, allocations: 1.23 MB / 288.9 MB, free: 1.887 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007096/0.01799, allocations: 495.3 kB / 289.4 MB, free: 1.402 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1183/0.1363, allocations: 5.31 MB / 294.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003884/0.1401, allocations: 2.443 MB / 297.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007026/0.1472, allocations: 3.632 MB / 300.8 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004606/0.1518, allocations: 2.733 MB / 303.5 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001575/0.1533, allocations: 0.6224 MB / 304.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001463/0.1548, allocations: 0.7091 MB / 304.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001079/0.1559, allocations: 1.726 MB / 306.6 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002469/0.1584, allocations: 1.955 MB / 308.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004561/0.1629, allocations: 4.603 MB / 313.2 MB, free: 7.652 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1629, allocations: 0 / 313.2 MB, free: 7.652 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1629, allocations: 0.625 kB / 313.2 MB, free: 7.652 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001933/0.1631, allocations: 2.219 kB / 313.2 MB, free: 7.652 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.007066/0.1702, allocations: 5.442 MB / 318.6 MB, free: 2.191 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.1702, allocations: 12.03 kB / 318.6 MB, free: 2.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001603/0.1718, allocations: 0.9212 MB / 319.5 MB, free: 1.262 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003705/0.1755, allocations: 2.625 MB / 322.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000207/0.1757, allocations: 287.6 kB / 322.4 MB, free: 14.43 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005387/0.1763, allocations: 395 kB / 322.8 MB, free: 14.05 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006175/0.1825, allocations: 3.447 MB / 326.3 MB, free: 10.44 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.018e-05/0.1825, allocations: 11.66 kB / 326.3 MB, free: 10.43 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000334/0.1829, allocations: 155.4 kB / 326.4 MB, free: 10.28 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002053/0.1831, allocations: 208 kB / 326.6 MB, free: 10.07 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004169/0.1872, allocations: 1.467 MB / 328.1 MB, free: 8.594 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01834/0.2056, allocations: 12.81 MB / 340.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002753/0.2083, allocations: 2.328 MB / 343.2 MB, free: 9.684 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001652/0.21, allocations: 1.304 MB / 344.6 MB, free: 8.383 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002177/0.2102, allocations: 81.47 kB / 344.6 MB, free: 8.309 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.924e-05/0.2102, allocations: 67.39 kB / 344.7 MB, free: 8.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=249): time 5.019e-06/0.2102, allocations: 0 / 344.7 MB, free: 8.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=256): time 0.01009/0.2203, allocations: 5.726 MB / 350.4 MB, free: 2.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.2204, allocations: 77.42 kB / 350.5 MB, free: 2.391 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002051/0.2224, allocations: 1.854 MB / 352.4 MB, free: 500 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001173/0.2225, allocations: 65.7 kB / 352.4 MB, free: 428 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009712/0.2235, allocations: 1.81 MB / 354.2 MB, free: 14.6 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006028/0.2241, allocations: 0.9201 MB / 355.1 MB, free: 13.7 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000472/0.2246, allocations: 446.9 kB / 355.6 MB, free: 13.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.2247, allocations: 476.8 kB / 356.1 MB, free: 12.78 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007366/0.2254, allocations: 376.5 kB / 356.4 MB, free: 12.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.2265, allocations: 0.8091 MB / 357.2 MB, free: 11.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001784/0.2282, allocations: 1.319 MB / 358.5 MB, free: 10.03 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.2282, allocations: 4 kB / 358.6 MB, free: 10.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.003774/0.232, allocations: 2.24 MB / 360.8 MB, free: 7.766 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/0.2321, allocations: 11.94 kB / 360.8 MB, free: 7.754 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.2321, allocations: 8 kB / 360.8 MB, free: 7.746 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002765/0.2348, allocations: 1.123 MB / 361.9 MB, free: 6.598 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008271/0.2357, allocations: 386.8 kB / 362.3 MB, free: 6.238 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01414/0.2498, allocations: 24.29 MB / 386.6 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/0.2513, allocations: 83.94 kB / 386.7 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001483/0.2514, allocations: 83.56 kB / 386.8 MB, free: 12.76 MB / 346.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.0009706/0.2524, allocations: 301.1 kB / 387.1 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004724/0.2529, allocations: 370.2 kB / 387.4 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003388/0.2563, allocations: 2.274 MB / 389.7 MB, free: 9.781 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.976e-05/0.2563, allocations: 24 kB / 389.7 MB, free: 9.758 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.65e-05/0.2563, allocations: 8 kB / 389.7 MB, free: 9.75 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/0.2563, allocations: 11.95 kB / 389.7 MB, free: 9.738 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007757/0.2641, allocations: 5.641 MB / 395.4 MB, free: 4.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.2641, allocations: 0 / 395.4 MB, free: 4.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006567/0.2647, allocations: 285.1 kB / 395.7 MB, free: 3.824 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002607/0.2673, allocations: 1.119 MB / 396.8 MB, free: 2.676 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001551/0.2675, allocations: 63.92 kB / 396.8 MB, free: 2.613 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.014/0.2815, allocations: 24.13 MB / 421 MB, free: 9.441 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2815, allocations: 4.031 kB / 421 MB, free: 9.438 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004602/0.2861, allocations: 2.823 MB / 423.8 MB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/0.2873, allocations: 0.5347 MB / 424.3 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002467/0.2875, allocations: 51.98 kB / 424.4 MB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006817/0.2882, allocations: 119.9 kB / 424.5 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004744/0.2887, allocations: 233.5 kB / 424.7 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.2888, allocations: 67.98 kB / 424.8 MB, free: 5.531 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001355/0.2901, allocations: 1.07 MB / 425.9 MB, free: 4.441 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2901, allocations: 0 / 425.9 MB, free: 4.441 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002705/0.2928, allocations: 0.9453 MB / 426.8 MB, free: 3.496 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.0005378/0.2934, allocations: 259.1 kB / 427.1 MB, free: 3.262 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1065/0.3999, allocations: 3.664 MB / 430.7 MB, free: 116.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/0.3999, allocations: 2.25 kB / 430.7 MB, free: 116.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003027/0.4029, allocations: 3.119 MB / 433.8 MB, free: 115.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002461/0.4054, allocations: 0.7491 MB / 434.6 MB, free: 115.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.4154, allocations: 7.152 MB / 441.7 MB, free: 112.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001402/0.4168, allocations: 1.256 MB / 443 MB, free: 112.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001267/0.4181, allocations: 423.8 kB / 443.4 MB, free: 112.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003527/0.4184, allocations: 151.8 kB / 443.6 MB, free: 112.3 MB / 378.7 MB Notification: Performance of SimCode: time 2.124e-06/0.4184, allocations: 1.5 kB / 443.6 MB, free: 112.3 MB / 378.7 MB Notification: Performance of Templates: time 0.05531/0.4738, allocations: 52.45 MB / 496 MB, free: 69.16 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.644762106938288]