Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002603/0.002603, allocations: 99.53 kB / 20.96 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003067/0.003067, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.573/1.573, allocations: 177 MB / 204.5 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.41e-07/9.41e-07, allocations: 0 / 272.2 MB, free: 1.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.4e-05, allocations: 2.312 kB / 272.2 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01469/0.01471, allocations: 10.58 MB / 282.8 MB, free: 7.129 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007005/0.02172, allocations: 3.247 MB / 286.1 MB, free: 3.871 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001212/0.02293, allocations: 107.2 kB / 286.2 MB, free: 3.766 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001726/0.02466, allocations: 0.7409 MB / 286.9 MB, free: 3.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003079/0.02774, allocations: 1.258 MB / 288.2 MB, free: 1.754 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.0288, allocations: 495.3 kB / 288.7 MB, free: 1.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1154/0.1442, allocations: 5.379 MB / 294 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002978/0.1471, allocations: 2.446 MB / 296.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006332/0.1535, allocations: 3.668 MB / 300.1 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003985/0.1574, allocations: 2.748 MB / 302.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001487/0.1589, allocations: 0.6229 MB / 303.5 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001632/0.1606, allocations: 0.7138 MB / 304.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001148/0.1617, allocations: 1.744 MB / 306 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002474/0.1642, allocations: 1.969 MB / 307.9 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006096/0.1703, allocations: 8.658 MB / 316.6 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.096e-06/0.1703, allocations: 3.984 kB / 316.6 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1703, allocations: 0.5938 kB / 316.6 MB, free: 3.234 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002083/0.1705, allocations: 0.8438 kB / 316.6 MB, free: 3.234 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: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.01293/0.1834, allocations: 5.862 MB / 322.5 MB, free: 13.35 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.1835, allocations: 11.98 kB / 322.5 MB, free: 13.34 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002537/0.186, allocations: 0.9299 MB / 323.4 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006055/0.1921, allocations: 2.661 MB / 326.1 MB, free: 9.828 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002827/0.1924, allocations: 296 kB / 326.4 MB, free: 9.543 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007585/0.1931, allocations: 397.8 kB / 326.7 MB, free: 9.16 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01263/0.2057, allocations: 6.093 MB / 332.8 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-05/0.2058, allocations: 8.672 kB / 332.9 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004488/0.2063, allocations: 167.5 kB / 333 MB, free: 2.742 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002945/0.2066, allocations: 228.1 kB / 333.2 MB, free: 2.516 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009621/0.2162, allocations: 4.375 MB / 337.6 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04036/0.2566, allocations: 20.69 MB / 358.3 MB, free: 9.105 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00629/0.2628, allocations: 3.452 MB / 361.8 MB, free: 5.773 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003876/0.2667, allocations: 2.129 MB / 363.9 MB, free: 3.645 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003034/0.267, allocations: 77.97 kB / 364 MB, free: 3.566 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.021e-05/0.2671, allocations: 63.39 kB / 364 MB, free: 3.496 MB / 314.7 MB Notification: Performance of pre-optimization done (n=249): time 4.799e-06/0.2671, allocations: 0 / 364 MB, free: 3.496 MB / 314.7 MB Notification: Performance of matching and sorting (n=256): time 0.02262/0.2897, allocations: 8.806 MB / 372.8 MB, free: 10.66 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.061e-05/0.2898, allocations: 77.42 kB / 372.9 MB, free: 10.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004877/0.2947, allocations: 2.549 MB / 375.5 MB, free: 7.977 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004015/0.2951, allocations: 69.7 kB / 375.5 MB, free: 7.902 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001952/0.297, allocations: 1.931 MB / 377.5 MB, free: 5.961 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00132/0.2984, allocations: 0.9649 MB / 378.4 MB, free: 5.008 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009861/0.2993, allocations: 0.5223 MB / 378.9 MB, free: 4.477 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000303/0.2996, allocations: 488.7 kB / 379.4 MB, free: 3.996 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00217/0.3018, allocations: 1.043 MB / 380.5 MB, free: 2.949 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002618/0.3044, allocations: 1.56 MB / 382 MB, free: 1.262 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005039/0.3095, allocations: 2.793 MB / 384.8 MB, free: 14.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/0.3095, allocations: 0 / 384.8 MB, free: 14.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.008279/0.3178, allocations: 3.927 MB / 388.7 MB, free: 10.4 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.378e-05/0.3178, allocations: 14.72 kB / 388.8 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/0.3178, allocations: 4 kB / 388.8 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00666/0.3245, allocations: 1.625 MB / 390.4 MB, free: 8.734 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001863/0.3263, allocations: 388.5 kB / 390.8 MB, free: 8.375 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03493/0.3613, allocations: 29.1 MB / 419.9 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002047/0.3633, allocations: 91.92 kB / 420 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002246/0.3635, allocations: 80.06 kB / 420 MB, free: 10.06 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.002561/0.3661, allocations: 1.23 MB / 421.3 MB, free: 8.844 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000959/0.3671, allocations: 366.2 kB / 421.6 MB, free: 8.484 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00811/0.3752, allocations: 3.745 MB / 425.4 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.617e-05/0.3752, allocations: 24 kB / 425.4 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.116e-05/0.3752, allocations: 16 kB / 425.4 MB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-05/0.3752, allocations: 15.89 kB / 425.4 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1434/0.5187, allocations: 8.27 MB / 433.7 MB, free: 110.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.5187, allocations: 1.859 kB / 433.7 MB, free: 110.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/0.5199, allocations: 286.3 kB / 434 MB, free: 110.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005641/0.5255, allocations: 1.549 MB / 435.5 MB, free: 110.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002082/0.5257, allocations: 59.31 kB / 435.6 MB, free: 110.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01988/0.5456, allocations: 28.24 MB / 463.8 MB, free: 90.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5456, allocations: 2.875 kB / 463.8 MB, free: 90.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007041/0.5527, allocations: 4.916 MB / 468.7 MB, free: 88.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001759/0.5544, allocations: 0.5224 MB / 469.3 MB, free: 88.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003978/0.5548, allocations: 58.98 kB / 469.3 MB, free: 88.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/0.5561, allocations: 119.5 kB / 469.4 MB, free: 88.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005129/0.5566, allocations: 235.8 kB / 469.7 MB, free: 88.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00013/0.5567, allocations: 66 kB / 469.7 MB, free: 88.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001827/0.5585, allocations: 1.531 MB / 471.3 MB, free: 87.67 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5585, allocations: 0 / 471.3 MB, free: 87.67 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003185/0.5617, allocations: 0.9531 MB / 472.2 MB, free: 87.58 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.0005863/0.5623, allocations: 247.8 kB / 472.5 MB, free: 87.44 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005759/0.5681, allocations: 4.956 MB / 477.4 MB, free: 84.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.5681, allocations: 0 / 477.4 MB, free: 84.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003991/0.5721, allocations: 3.679 MB / 481.1 MB, free: 81.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003101/0.5752, allocations: 0.7544 MB / 481.8 MB, free: 80.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.5857, allocations: 7.834 MB / 489.7 MB, free: 72.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001992/0.5877, allocations: 2.442 MB / 492.1 MB, free: 70.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001209/0.5889, allocations: 425.7 kB / 492.5 MB, free: 69.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003946/0.5893, allocations: 152.5 kB / 492.7 MB, free: 69.45 MB / 378.7 MB Notification: Performance of SimCode: time 1.663e-06/0.5893, allocations: 0 / 492.7 MB, free: 69.45 MB / 378.7 MB Notification: Performance of Templates: time 0.067/0.6563, allocations: 52.39 MB / 0.5323 GB, free: 17.66 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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_trunk_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.349397649988532]