Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.0008979/0.0008979, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001406/0.002304, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0008869/0.0008869, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005824/0.006711, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9623/0.9623, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09222/1.054, allocations: 53.86 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] 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.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.582e-05, allocations: 5.828 kB / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008016/0.008042, allocations: 6.782 MB / 252 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005377/0.01342, allocations: 2.405 MB / 254.4 MB, free: 4.332 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001413/0.01483, allocations: 59.62 kB / 254.5 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.01608, allocations: 464.9 kB / 254.9 MB, free: 3.816 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002425/0.01851, allocations: 0.7413 MB / 255.7 MB, free: 3.07 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007638/0.01927, allocations: 283.6 kB / 255.9 MB, free: 2.793 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003841/0.02311, allocations: 3.006 MB / 258.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002411/0.02552, allocations: 1.375 MB / 260.3 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01664/0.04216, allocations: 2.19 MB / 262.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008597/0.05076, allocations: 1.524 MB / 264 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007739/0.05153, allocations: 352 kB / 264.4 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/0.05282, allocations: 443.8 kB / 264.8 MB, free: 9.832 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006739/0.05956, allocations: 0.7755 MB / 265.6 MB, free: 9.055 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001376/0.06093, allocations: 0.893 MB / 266.5 MB, free: 8.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009875/0.07081, allocations: 2.423 MB / 268.9 MB, free: 5.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.578e-05/0.07083, allocations: 0 / 268.9 MB, free: 5.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.07083, allocations: 0 / 268.9 MB, free: 5.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001105/0.07094, allocations: 0 / 268.9 MB, free: 5.73 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: 585 * Number of variables: 585 Notification: Performance of Generate backend data structure: time 0.01645/0.08738, allocations: 3.332 MB / 272.2 MB, free: 2.355 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.08743, allocations: 8.625 kB / 272.2 MB, free: 2.348 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008126/0.09555, allocations: 0.5094 MB / 272.8 MB, free: 1.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002043/0.0976, allocations: 0.9981 MB / 273.7 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.09771, allocations: 168.8 kB / 273.9 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000292/0.098, allocations: 224.3 kB / 274.1 MB, free: 400 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1465/0.2445, allocations: 1.791 MB / 275.9 MB, free: 20.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.406e-05/0.2446, allocations: 2.25 kB / 275.9 MB, free: 20.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001935/0.2447, allocations: 93.19 kB / 276 MB, free: 20.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001331/0.2449, allocations: 117.2 kB / 276.1 MB, free: 20.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/0.2463, allocations: 0.6498 MB / 276.8 MB, free: 20.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007961/0.2543, allocations: 5.053 MB / 281.8 MB, free: 19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.2554, allocations: 0.9947 MB / 282.8 MB, free: 18.69 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006388/0.256, allocations: 0.5195 MB / 283.3 MB, free: 18.61 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001542/0.2561, allocations: 51.62 kB / 283.4 MB, free: 18.6 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.2562, allocations: 47.3 kB / 283.4 MB, free: 18.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 3.196e-06/0.2562, allocations: 0 / 283.4 MB, free: 18.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.004185/0.2604, allocations: 2.25 MB / 285.7 MB, free: 17.94 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.2604, allocations: 66.41 kB / 285.8 MB, free: 17.88 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007119/0.2611, allocations: 0.8539 MB / 286.6 MB, free: 17.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.369e-05/0.2612, allocations: 46.27 kB / 286.7 MB, free: 17.65 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/0.2614, allocations: 0.8188 MB / 287.5 MB, free: 17.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.2616, allocations: 457.8 kB / 287.9 MB, free: 16.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/0.2617, allocations: 212.7 kB / 288.1 MB, free: 16.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.795e-05/0.2618, allocations: 364.9 kB / 288.5 MB, free: 16.37 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/0.262, allocations: 151.2 kB / 288.6 MB, free: 16.35 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.2622, allocations: 308.2 kB / 288.9 MB, free: 16.21 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005145/0.2627, allocations: 0.5677 MB / 289.5 MB, free: 16.03 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.2627, allocations: 2.469 kB / 289.5 MB, free: 16.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00103/0.2638, allocations: 0.8569 MB / 290.4 MB, free: 15.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.2638, allocations: 6.125 kB / 290.4 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.2638, allocations: 3 kB / 290.4 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001202/0.265, allocations: 0.513 MB / 290.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005254/0.2655, allocations: 240.2 kB / 291.1 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003906/0.2694, allocations: 7.422 MB / 298.5 MB, free: 8.773 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004362/0.2698, allocations: 35.98 kB / 298.6 MB, free: 8.738 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-05/0.2699, allocations: 28 kB / 298.6 MB, free: 8.711 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.0004654/0.2704, allocations: 190.3 kB / 298.8 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/0.2705, allocations: 143.8 kB / 298.9 MB, free: 8.375 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009802/0.2715, allocations: 0.8922 MB / 299.8 MB, free: 7.465 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.2715, allocations: 12 kB / 299.8 MB, free: 7.453 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2715, allocations: 4 kB / 299.8 MB, free: 7.449 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.2715, allocations: 11.97 kB / 299.9 MB, free: 7.438 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002614/0.2741, allocations: 2.369 MB / 302.2 MB, free: 5.305 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.2741, allocations: 4.062 kB / 302.2 MB, free: 5.301 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003893/0.2745, allocations: 187.8 kB / 302.4 MB, free: 5.117 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002627/0.2748, allocations: 183.2 kB / 302.6 MB, free: 4.938 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009992/0.2758, allocations: 0.5116 MB / 303.1 MB, free: 4.422 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.828e-05/0.2758, allocations: 31.98 kB / 303.1 MB, free: 4.391 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004102/0.2799, allocations: 7.471 MB / 310.6 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.2799, allocations: 0 / 310.6 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.2815, allocations: 1.211 MB / 311.8 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.2816, allocations: 31.98 kB / 311.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000343/0.2819, allocations: 47.98 kB / 311.9 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002612/0.2822, allocations: 105.1 kB / 312 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.995e-05/0.2823, allocations: 31.94 kB / 312 MB, free: 11.2 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003889/0.2826, allocations: 443.7 kB / 312.5 MB, free: 10.76 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2826, allocations: 0 / 312.5 MB, free: 10.76 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001247/0.2839, allocations: 0.5128 MB / 313 MB, free: 10.25 MB / 282.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.0003869/0.2843, allocations: 196 kB / 313.2 MB, free: 10.07 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001483/0.2858, allocations: 1.336 MB / 314.5 MB, free: 8.691 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.874e-05/0.2858, allocations: 34.81 kB / 314.5 MB, free: 8.656 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009558/0.2868, allocations: 1.158 MB / 315.7 MB, free: 7.457 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00231/0.2891, allocations: 4.318 MB / 320 MB, free: 2.258 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01358/0.3026, allocations: 4.184 MB / 324.2 MB, free: 14.03 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008322/0.3035, allocations: 0.5883 MB / 324.8 MB, free: 13.41 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005086/0.304, allocations: 156.1 kB / 324.9 MB, free: 13.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006213/0.3046, allocations: 403.1 kB / 325.3 MB, free: 12.85 MB / 298.7 MB Notification: Performance of SimCode: time 1.353e-06/0.3046, allocations: 0 / 325.3 MB, free: 12.85 MB / 298.7 MB Notification: Performance of Templates: time 0.04039/0.345, allocations: 32.81 MB / 358.1 MB, free: 12.47 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4724831264466047]