Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier") translateModel(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001213/0.001213, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 226.8 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001059/0.001059, allocations: 101.4 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009096/0.0009096, allocations: 55.91 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2077, allocations: 50.45 MB / 407 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.005216/0.213, allocations: 6.217 MB / 413.3 MB, free: 21.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002548/0.2156, allocations: 1.648 MB / 414.9 MB, free: 19.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007685/0.2164, allocations: 43.81 kB / 414.9 MB, free: 19.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005646/0.217, allocations: 238.4 kB / 415.2 MB, free: 19.65 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001023/0.218, allocations: 374 kB / 415.5 MB, free: 19.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005135/0.2185, allocations: 307.7 kB / 415.8 MB, free: 18.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001471/0.22, allocations: 2.293 MB / 418.1 MB, free: 16.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001681/0.2217, allocations: 2.043 MB / 420.2 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008196/0.2225, allocations: 0.903 MB / 421.1 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009453/0.2235, allocations: 1.167 MB / 422.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002209/0.2237, allocations: 192 kB / 422.4 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005093/0.2242, allocations: 331.7 kB / 422.8 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003381/0.2246, allocations: 0.5959 MB / 423.4 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00079/0.2254, allocations: 1.12 MB / 424.5 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001848/0.2273, allocations: 3.501 MB / 428 MB, free: 6.754 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2273, allocations: 8 kB / 428 MB, free: 6.746 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.2273, allocations: 4 kB / 428 MB, free: 6.742 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.285e-05/0.2273, allocations: 0 / 428 MB, free: 6.742 MB / 298.7 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.003556/0.2309, allocations: 2.48 MB / 430.5 MB, free: 4.199 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.2309, allocations: 12.81 kB / 430.5 MB, free: 4.188 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005442/0.2315, allocations: 254.2 kB / 430.7 MB, free: 3.938 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001779/0.2333, allocations: 1.244 MB / 432 MB, free: 2.648 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.303e-05/0.2334, allocations: 156.5 kB / 432.1 MB, free: 2.492 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002173/0.2336, allocations: 200.1 kB / 432.3 MB, free: 2.297 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003249/0.2368, allocations: 2.622 MB / 434.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.565e-05/0.2369, allocations: 4 kB / 435 MB, free: 15.58 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001669/0.2371, allocations: 80 kB / 435 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.604e-05/0.2371, allocations: 52 kB / 435.1 MB, free: 15.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003236/0.2404, allocations: 2.093 MB / 437.2 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01089/0.2513, allocations: 7.384 MB / 444.6 MB, free: 5.781 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002102/0.2534, allocations: 2.348 MB / 446.9 MB, free: 3.203 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001364/0.2548, allocations: 0.92 MB / 447.8 MB, free: 2.277 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.38e-05/0.2549, allocations: 16.94 kB / 447.8 MB, free: 2.258 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.2549, allocations: 43.56 kB / 447.9 MB, free: 2.207 MB / 314.7 MB Notification: Performance of pre-optimization done (n=96): time 3.145e-06/0.2549, allocations: 0 / 447.9 MB, free: 2.207 MB / 314.7 MB Notification: Performance of matching and sorting (n=97): time 0.007193/0.2621, allocations: 4.173 MB / 452.1 MB, free: 13.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.2622, allocations: 76.33 kB / 452.1 MB, free: 13.82 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.2632, allocations: 0.8601 MB / 453 MB, free: 12.95 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.303e-05/0.2633, allocations: 41.7 kB / 453 MB, free: 12.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004371/0.2637, allocations: 0.8256 MB / 453.9 MB, free: 12.06 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/0.2639, allocations: 335.2 kB / 454.2 MB, free: 11.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002475/0.2642, allocations: 170.6 kB / 454.4 MB, free: 11.56 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.2643, allocations: 341.9 kB / 454.7 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007003/0.265, allocations: 497.7 kB / 455.2 MB, free: 10.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008269/0.2659, allocations: 0.6739 MB / 455.8 MB, free: 9.992 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.2674, allocations: 1.197 MB / 457 MB, free: 8.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.2674, allocations: 7.938 kB / 457.1 MB, free: 8.723 MB / 330.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002389/0.2698, allocations: 1.632 MB / 458.7 MB, free: 7.066 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.2698, allocations: 8 kB / 458.7 MB, free: 7.059 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.2698, allocations: 4 kB / 458.7 MB, free: 7.055 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.2709, allocations: 478.9 kB / 459.2 MB, free: 6.574 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006504/0.2715, allocations: 167.7 kB / 459.3 MB, free: 6.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007686/0.2792, allocations: 8.455 MB / 467.8 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006504/0.2799, allocations: 43.91 kB / 467.8 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.91e-05/0.28, allocations: 35.98 kB / 467.9 MB, free: 13.34 MB / 346.7 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.0009515/0.281, allocations: 0.6444 MB / 468.5 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/0.2812, allocations: 98.78 kB / 468.6 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002969/0.2815, allocations: 138 kB / 468.7 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.839e-05/0.2815, allocations: 12 kB / 468.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.2815, allocations: 0 / 468.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.2815, allocations: 7.922 kB / 468.8 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005382/0.2869, allocations: 3.497 MB / 472.3 MB, free: 8.848 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.287, allocations: 0 / 472.3 MB, free: 8.848 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005291/0.2875, allocations: 124.2 kB / 472.4 MB, free: 8.727 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009269/0.2884, allocations: 459 kB / 472.8 MB, free: 8.266 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.675e-05/0.2885, allocations: 20 kB / 472.8 MB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007849/0.2964, allocations: 8.359 MB / 481.2 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.2964, allocations: 0 / 481.2 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01939/0.3158, allocations: 16.02 MB / 497.2 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004631/0.3163, allocations: 275.9 kB / 497.5 MB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.3164, allocations: 32.09 kB / 497.5 MB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004227/0.3168, allocations: 40.03 kB / 497.6 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002181/0.317, allocations: 100.7 kB / 497.7 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.316e-05/0.3171, allocations: 20 kB / 497.7 MB, free: 14.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007767/0.3179, allocations: 0.6044 MB / 498.3 MB, free: 13.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.3179, allocations: 0 / 498.3 MB, free: 13.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001701/0.3196, allocations: 0.4921 MB / 498.8 MB, free: 13.03 MB / 378.7 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.0002501/0.3199, allocations: 147.2 kB / 498.9 MB, free: 12.87 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002427/0.3223, allocations: 1.795 MB / 0.489 GB, free: 11.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3223, allocations: 1.312 kB / 0.489 GB, free: 11.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001509/0.3238, allocations: 1.242 MB / 0.4902 GB, free: 9.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.325, allocations: 275.3 kB / 0.4905 GB, free: 9.469 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006751/0.3318, allocations: 5.704 MB / 0.496 GB, free: 3.668 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001264/0.3331, allocations: 1.75 MB / 0.4977 GB, free: 1.883 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005796/0.3337, allocations: 192.9 kB / 0.4979 GB, free: 1.691 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.3338, allocations: 67.42 kB / 0.498 GB, free: 1.625 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.3339, allocations: 0 / 0.498 GB, free: 1.625 MB / 378.7 MB Notification: Performance of Templates: time 0.1968/0.5306, allocations: 22.8 MB / 0.5202 GB, free: 76.98 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches