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.002693/0.002693, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.003211/0.003211, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 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 1.571/1.571, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..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.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.081e-05/3.265e-05, allocations: 6.25 kB / 272.3 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.0153/0.01533, allocations: 10.52 MB / 282.9 MB, free: 7.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008459/0.02379, allocations: 3.225 MB / 286.1 MB, free: 3.996 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002557/0.02635, allocations: 107.2 kB / 286.2 MB, free: 3.891 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002395/0.02874, allocations: 0.737 MB / 286.9 MB, free: 3.148 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004228/0.03297, allocations: 1.234 MB / 288.2 MB, free: 1.906 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.03435, allocations: 487.3 kB / 288.6 MB, free: 1.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1298/0.1642, allocations: 5.314 MB / 294 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003307/0.1675, allocations: 2.443 MB / 296.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00774/0.1752, allocations: 3.63 MB / 300 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005397/0.1806, allocations: 2.73 MB / 302.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001864/0.1825, allocations: 0.6242 MB / 303.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002445/0.1849, allocations: 0.7099 MB / 304.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001314/0.1862, allocations: 1.721 MB / 305.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003457/0.1897, allocations: 1.955 MB / 307.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007457/0.1971, allocations: 8.623 MB / 316.4 MB, free: 3.617 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1971, allocations: 4 kB / 316.4 MB, free: 3.613 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1971, allocations: 0 / 316.4 MB, free: 3.613 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002138/0.1974, allocations: 0.625 kB / 316.4 MB, free: 3.613 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.01188/0.2092, allocations: 5.844 MB / 322.2 MB, free: 13.75 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.2093, allocations: 8.031 kB / 322.3 MB, free: 13.74 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002529/0.2118, allocations: 0.9207 MB / 323.2 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006625/0.2184, allocations: 2.651 MB / 325.8 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003097/0.2187, allocations: 295.8 kB / 326.1 MB, free: 9.961 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000934/0.2197, allocations: 391.5 kB / 326.5 MB, free: 9.582 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01326/0.2329, allocations: 6.08 MB / 332.6 MB, free: 3.34 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.708e-05/0.233, allocations: 0 / 332.6 MB, free: 3.34 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004672/0.2335, allocations: 168.5 kB / 332.7 MB, free: 3.18 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002502/0.2337, allocations: 204 kB / 332.9 MB, free: 2.977 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01042/0.2442, allocations: 4.37 MB / 337.3 MB, free: 14.6 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04012/0.2843, allocations: 20.45 MB / 357.8 MB, free: 9.801 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006013/0.2903, allocations: 3.453 MB / 361.2 MB, free: 6.461 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004031/0.2943, allocations: 2.14 MB / 363.4 MB, free: 4.332 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003109/0.2946, allocations: 81.97 kB / 363.4 MB, free: 4.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.861e-05/0.2947, allocations: 59.39 kB / 363.5 MB, free: 4.184 MB / 314.7 MB Notification: Performance of pre-optimization done (n=249): time 4.739e-06/0.2947, allocations: 0 / 363.5 MB, free: 4.184 MB / 314.7 MB Notification: Performance of matching and sorting (n=256): time 0.021/0.3157, allocations: 8.794 MB / 372.3 MB, free: 11.36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.424e-05/0.3158, allocations: 81.42 kB / 372.4 MB, free: 11.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004159/0.3199, allocations: 2.549 MB / 374.9 MB, free: 8.672 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002079/0.3201, allocations: 69.7 kB / 375 MB, free: 8.598 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001819/0.322, allocations: 1.912 MB / 376.9 MB, free: 6.672 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001142/0.3231, allocations: 0.9801 MB / 377.9 MB, free: 5.711 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009169/0.324, allocations: 0.5184 MB / 378.4 MB, free: 5.184 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002483/0.3243, allocations: 476.8 kB / 378.9 MB, free: 4.715 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001886/0.3262, allocations: 1.043 MB / 379.9 MB, free: 3.668 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002443/0.3286, allocations: 1.559 MB / 381.5 MB, free: 1.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00469/0.3333, allocations: 2.785 MB / 384.2 MB, free: 15.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/0.3333, allocations: 0 / 384.2 MB, free: 15.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007641/0.3409, allocations: 3.929 MB / 388.2 MB, free: 11.12 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.341, allocations: 8 kB / 388.2 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.221e-05/0.341, allocations: 12 kB / 388.2 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006075/0.3471, allocations: 1.633 MB / 389.8 MB, free: 9.438 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/0.3486, allocations: 384.5 kB / 390.2 MB, free: 9.082 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03376/0.3824, allocations: 29.1 MB / 419.3 MB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/0.3843, allocations: 91.88 kB / 419.4 MB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001989/0.3845, allocations: 80 kB / 419.5 MB, free: 10.77 MB / 378.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.002455/0.3869, allocations: 1.227 MB / 420.7 MB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000757/0.3877, allocations: 370.2 kB / 421.1 MB, free: 9.191 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007746/0.3954, allocations: 3.745 MB / 424.8 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.652e-05/0.3954, allocations: 27.94 kB / 424.8 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/0.3955, allocations: 8 kB / 424.8 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.747e-05/0.3955, allocations: 19.94 kB / 424.9 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1329/0.5284, allocations: 8.267 MB / 433.1 MB, free: 109.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.5284, allocations: 2.906 kB / 433.1 MB, free: 109.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/0.5296, allocations: 289.5 kB / 433.4 MB, free: 109.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005547/0.5351, allocations: 1.554 MB / 435 MB, free: 109.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001852/0.5353, allocations: 57.94 kB / 435 MB, free: 109.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01928/0.5546, allocations: 28.23 MB / 463.3 MB, free: 89.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.5546, allocations: 0 / 463.3 MB, free: 89.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006762/0.5613, allocations: 4.926 MB / 468.2 MB, free: 87.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00149/0.5628, allocations: 0.529 MB / 468.7 MB, free: 87.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003446/0.5632, allocations: 57.59 kB / 468.8 MB, free: 87.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/0.5644, allocations: 115.7 kB / 468.9 MB, free: 87.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004955/0.5649, allocations: 236.4 kB / 469.1 MB, free: 87.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000134/0.5651, allocations: 64.53 kB / 469.2 MB, free: 87.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001755/0.5668, allocations: 1.533 MB / 470.7 MB, free: 86.74 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.5668, allocations: 4 kB / 470.7 MB, free: 86.74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002907/0.5697, allocations: 0.947 MB / 471.7 MB, free: 86.65 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.0005639/0.5703, allocations: 248.6 kB / 471.9 MB, free: 86.51 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005224/0.5755, allocations: 4.957 MB / 476.9 MB, free: 83.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.5755, allocations: 2.125 kB / 476.9 MB, free: 83.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003629/0.5791, allocations: 3.682 MB / 480.5 MB, free: 80.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002916/0.5821, allocations: 0.7573 MB / 481.3 MB, free: 79.92 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/0.5924, allocations: 7.794 MB / 489.1 MB, free: 72.15 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001972/0.5944, allocations: 2.421 MB / 491.5 MB, free: 69.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001353/0.5957, allocations: 433.7 kB / 491.9 MB, free: 69.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004063/0.5962, allocations: 152.5 kB / 492.1 MB, free: 69.12 MB / 378.7 MB Notification: Performance of SimCode: time 1.423e-06/0.5962, allocations: 0 / 492.1 MB, free: 69.12 MB / 378.7 MB Notification: Performance of Templates: time 0.06816/0.6643, allocations: 52.39 MB / 0.5317 GB, free: 17.45 MB / 378.7 MB " [Timeout remaining time 659] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.661346198990941]