Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.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.001347/0.001347, allocations: 88.39 kB / 21.44 MB, free: 276 kB / 14.72 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.001645/0.001645, allocations: 164.2 kB / 24.71 MB, free: 3.543 MB / 14.72 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 1.318/1.318, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] 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.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier") translateModel(Modelica.Electrical.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 298.9 MB, free: 8.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.543e-05, allocations: 6.281 kB / 298.9 MB, free: 8.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.008276/0.008301, allocations: 5.487 MB / 304.4 MB, free: 3.211 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004188/0.01249, allocations: 1.652 MB / 306.1 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000936/0.01343, allocations: 55.62 kB / 306.1 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009294/0.01435, allocations: 309.5 kB / 306.4 MB, free: 1.191 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001992/0.01635, allocations: 448.7 kB / 306.9 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009676/0.01731, allocations: 363.3 kB / 307.2 MB, free: 404 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003139/0.02045, allocations: 2.222 MB / 309.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002308/0.02276, allocations: 1.316 MB / 310.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00263/0.02539, allocations: 1.556 MB / 312.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002398/0.02779, allocations: 1.04 MB / 313.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006626/0.02845, allocations: 288 kB / 313.6 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.02951, allocations: 407.7 kB / 314 MB, free: 9.504 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000787/0.03029, allocations: 0.7245 MB / 314.8 MB, free: 8.777 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001357/0.03165, allocations: 0.8537 MB / 315.6 MB, free: 7.922 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00412/0.03577, allocations: 3.673 MB / 319.3 MB, free: 4.238 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.03578, allocations: 0 / 319.3 MB, free: 4.238 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.03578, allocations: 0 / 319.3 MB, free: 4.238 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.999e-05/0.03583, allocations: 0 / 319.3 MB, free: 4.238 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.004643/0.04047, allocations: 2.421 MB / 321.7 MB, free: 1.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.04051, allocations: 15.98 kB / 321.7 MB, free: 1.754 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004438/0.04095, allocations: 243.4 kB / 322 MB, free: 1.516 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001928/0.04288, allocations: 1.129 MB / 323.1 MB, free: 364 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/0.04302, allocations: 156.5 kB / 323.3 MB, free: 204 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1525/0.1955, allocations: 205.5 kB / 323.5 MB, free: 33.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006911/0.2024, allocations: 2.638 MB / 326.1 MB, free: 32.1 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.594e-05/0.2025, allocations: 1.156 kB / 326.1 MB, free: 32.1 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003739/0.2029, allocations: 80.66 kB / 326.2 MB, free: 32.04 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.363e-05/0.203, allocations: 56.91 kB / 326.2 MB, free: 32.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00395/0.2069, allocations: 2.077 MB / 328.3 MB, free: 31.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01049/0.2174, allocations: 6.343 MB / 334.6 MB, free: 28.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/0.2191, allocations: 1.298 MB / 335.9 MB, free: 27.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001373/0.2204, allocations: 0.8942 MB / 336.8 MB, free: 27.17 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.368e-05/0.2205, allocations: 10.22 kB / 336.9 MB, free: 27.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.2205, allocations: 44.06 kB / 336.9 MB, free: 27.12 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 3.797e-06/0.2205, allocations: 3.969 kB / 336.9 MB, free: 27.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=97): time 0.006788/0.2273, allocations: 3.889 MB / 340.8 MB, free: 25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.2273, allocations: 63.03 kB / 340.8 MB, free: 24.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008699/0.2282, allocations: 0.8361 MB / 341.7 MB, free: 24.47 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.177e-05/0.2283, allocations: 40.98 kB / 341.7 MB, free: 24.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003/0.2286, allocations: 0.8508 MB / 342.6 MB, free: 23.76 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.2287, allocations: 343.5 kB / 342.9 MB, free: 23.47 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002122/0.2289, allocations: 173.7 kB / 343.1 MB, free: 23.37 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.428e-05/0.229, allocations: 346.1 kB / 343.4 MB, free: 23.04 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006264/0.2296, allocations: 0.4935 MB / 343.9 MB, free: 22.72 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006249/0.2302, allocations: 0.6655 MB / 344.6 MB, free: 21.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.2315, allocations: 1.203 MB / 345.8 MB, free: 20.72 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.2315, allocations: 4 kB / 345.8 MB, free: 20.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001984/0.2334, allocations: 1.609 MB / 347.4 MB, free: 19.08 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2335, allocations: 8 kB / 347.4 MB, free: 19.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.2335, allocations: 4 kB / 347.4 MB, free: 19.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/0.2346, allocations: 473.2 kB / 347.9 MB, free: 18.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006131/0.2352, allocations: 171.8 kB / 348 MB, free: 18.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006114/0.2413, allocations: 8.716 MB / 356.8 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005607/0.2419, allocations: 47.95 kB / 356.8 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.25e-05/0.2419, allocations: 36 kB / 356.8 MB, free: 9.238 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode2.idealDiode[3].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[1].off,idealDiode1.idealDiode[3].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 2 * 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 {(1,9,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.0008005/0.2427, allocations: 0.6419 MB / 357.5 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/0.2429, allocations: 107.3 kB / 357.6 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002135/0.2431, allocations: 133.8 kB / 357.7 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-05/0.2431, allocations: 12 kB / 357.7 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/0.2431, allocations: 4 kB / 357.7 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.2432, allocations: 7.969 kB / 357.7 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00413/0.2473, allocations: 3.057 MB / 360.8 MB, free: 5.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.2473, allocations: 4 kB / 360.8 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005235/0.2478, allocations: 127.8 kB / 360.9 MB, free: 5.102 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007937/0.2486, allocations: 455.2 kB / 361.4 MB, free: 4.645 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.278e-05/0.2487, allocations: 20 kB / 361.4 MB, free: 4.625 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007541/0.2562, allocations: 8.637 MB / 370 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2562, allocations: 0 / 370 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003768/0.26, allocations: 2.301 MB / 372.3 MB, free: 9.262 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004969/0.2605, allocations: 207.3 kB / 372.5 MB, free: 9.059 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.2606, allocations: 20 kB / 372.5 MB, free: 9.039 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004562/0.261, allocations: 39.95 kB / 372.6 MB, free: 9 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002423/0.2613, allocations: 92.77 kB / 372.7 MB, free: 8.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.217e-05/0.2614, allocations: 27.98 kB / 372.7 MB, free: 8.883 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009902/0.2623, allocations: 0.5849 MB / 373.3 MB, free: 8.305 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2623, allocations: 4 kB / 373.3 MB, free: 8.301 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001549/0.2639, allocations: 383.8 kB / 373.7 MB, free: 7.93 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 2 * 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 {(1,9,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.000321/0.2642, allocations: 135.1 kB / 373.8 MB, free: 7.785 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002891/0.2671, allocations: 1.772 MB / 375.6 MB, free: 5.965 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.2671, allocations: 8.062 kB / 375.6 MB, free: 5.957 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001853/0.269, allocations: 1.206 MB / 376.8 MB, free: 4.699 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.2703, allocations: 288.2 kB / 377.1 MB, free: 4.422 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008116/0.2784, allocations: 3.55 MB / 380.6 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001928/0.2803, allocations: 1.148 MB / 381.8 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0008741/0.2812, allocations: 188.5 kB / 381.9 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000283/0.2815, allocations: 72.48 kB / 382 MB, free: 15.39 MB / 334.1 MB Notification: Performance of SimCode: time 1.002e-06/0.2815, allocations: 0 / 382 MB, free: 15.39 MB / 334.1 MB Notification: Performance of Templates: time 0.04152/0.323, allocations: 19.91 MB / 401.9 MB, free: 11.47 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.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: 5.240255940705538]