Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00195/0.00195, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 222.9 MB / 240.9 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009757/0.0009756, allocations: 107.3 kB / 291.2 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008484/0.0008485, allocations: 39.94 kB / 350 MB, free: 68 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2257, allocations: 49.44 MB / 399.5 MB, free: 33.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.007088/0.2329, allocations: 6.204 MB / 405.7 MB, free: 27.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003705/0.2366, allocations: 1.616 MB / 407.3 MB, free: 25.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001396/0.2381, allocations: 43.81 kB / 407.3 MB, free: 25.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007914/0.239, allocations: 234.4 kB / 407.6 MB, free: 25.23 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001718/0.2407, allocations: 377.9 kB / 407.9 MB, free: 24.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007336/0.2414, allocations: 303.7 kB / 408.2 MB, free: 24.56 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001957/0.2434, allocations: 2.285 MB / 410.5 MB, free: 22.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001824/0.2452, allocations: 2.047 MB / 412.6 MB, free: 20.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001192/0.2465, allocations: 0.8914 MB / 413.4 MB, free: 19.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001611/0.2481, allocations: 1.163 MB / 414.6 MB, free: 18.1 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000271/0.2484, allocations: 192 kB / 414.8 MB, free: 17.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006219/0.249, allocations: 331.7 kB / 415.1 MB, free: 17.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004049/0.2494, allocations: 0.592 MB / 415.7 MB, free: 16.99 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001037/0.2505, allocations: 1.128 MB / 416.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002416/0.2529, allocations: 3.501 MB / 420.3 MB, free: 12.35 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2529, allocations: 0 / 420.3 MB, free: 12.35 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2529, allocations: 0 / 420.3 MB, free: 12.35 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.042e-05/0.253, allocations: 0 / 420.3 MB, free: 12.35 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.004366/0.2574, allocations: 2.476 MB / 422.8 MB, free: 9.809 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.2574, allocations: 8.031 kB / 422.8 MB, free: 9.801 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003775/0.2578, allocations: 230.2 kB / 423 MB, free: 9.574 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/0.2597, allocations: 1.248 MB / 424.3 MB, free: 8.281 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.901e-05/0.2598, allocations: 152.5 kB / 424.4 MB, free: 8.129 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002343/0.26, allocations: 208.1 kB / 424.6 MB, free: 7.926 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004401/0.2644, allocations: 2.622 MB / 427.3 MB, free: 5.215 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.201e-05/0.2645, allocations: 0 / 427.3 MB, free: 5.215 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00016/0.2647, allocations: 84 kB / 427.4 MB, free: 5.133 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-05/0.2648, allocations: 52 kB / 427.4 MB, free: 5.082 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003132/0.2679, allocations: 2.089 MB / 429.5 MB, free: 2.977 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01071/0.2786, allocations: 7.392 MB / 436.9 MB, free: 11.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002044/0.2807, allocations: 2.358 MB / 439.2 MB, free: 8.824 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001286/0.282, allocations: 0.9239 MB / 440.2 MB, free: 7.898 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.666e-05/0.2821, allocations: 20.94 kB / 440.2 MB, free: 7.875 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.2821, allocations: 39.56 kB / 440.2 MB, free: 7.828 MB / 314.7 MB Notification: Performance of pre-optimization done (n=96): time 3.797e-06/0.2821, allocations: 0 / 440.2 MB, free: 7.828 MB / 314.7 MB Notification: Performance of matching and sorting (n=97): time 0.007302/0.2895, allocations: 4.173 MB / 444.4 MB, free: 3.535 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.2895, allocations: 76.28 kB / 444.5 MB, free: 3.445 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.2906, allocations: 0.8563 MB / 445.3 MB, free: 2.578 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.176e-05/0.2907, allocations: 41.7 kB / 445.4 MB, free: 2.531 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00052/0.2912, allocations: 0.8255 MB / 446.2 MB, free: 1.691 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002317/0.2914, allocations: 327.3 kB / 446.5 MB, free: 1.367 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002664/0.2917, allocations: 182.5 kB / 446.7 MB, free: 1.184 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.2918, allocations: 341.9 kB / 447 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007475/0.2926, allocations: 0.4899 MB / 447.5 MB, free: 364 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008884/0.2935, allocations: 0.6694 MB / 448.2 MB, free: 15.62 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/0.2952, allocations: 1.205 MB / 449.4 MB, free: 14.35 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.214e-05/0.2952, allocations: 4 kB / 449.4 MB, free: 14.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002728/0.2979, allocations: 1.624 MB / 451 MB, free: 12.7 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.298, allocations: 8 kB / 451 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.298, allocations: 4 kB / 451 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/0.2991, allocations: 466.9 kB / 451.5 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006727/0.2998, allocations: 175.7 kB / 451.7 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007973/0.3077, allocations: 8.452 MB / 460.1 MB, free: 3.047 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007926/0.3086, allocations: 47.89 kB / 460.2 MB, free: 3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.287e-05/0.3087, allocations: 39.98 kB / 460.2 MB, free: 2.961 MB / 330.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.001002/0.3097, allocations: 0.6386 MB / 460.8 MB, free: 2.312 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002279/0.3099, allocations: 98.78 kB / 460.9 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002754/0.3102, allocations: 138 kB / 461.1 MB, free: 2.074 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.842e-05/0.3102, allocations: 12 kB / 461.1 MB, free: 2.062 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/0.3103, allocations: 0 / 461.1 MB, free: 2.062 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.3103, allocations: 7.922 kB / 461.1 MB, free: 2.055 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0059/0.3162, allocations: 3.493 MB / 464.6 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.3162, allocations: 0 / 464.6 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005821/0.3168, allocations: 127.8 kB / 464.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001009/0.3179, allocations: 463.2 kB / 465.2 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.716e-05/0.3179, allocations: 16 kB / 465.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007982/0.3259, allocations: 8.365 MB / 473.5 MB, free: 4.969 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.326, allocations: 0 / 473.5 MB, free: 4.969 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0206/0.3466, allocations: 16.02 MB / 489.6 MB, free: 4.215 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005015/0.3471, allocations: 275.9 kB / 489.8 MB, free: 3.926 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.3472, allocations: 23.98 kB / 489.8 MB, free: 3.902 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004459/0.3477, allocations: 51.95 kB / 489.9 MB, free: 3.852 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002852/0.348, allocations: 92.75 kB / 490 MB, free: 3.762 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.537e-05/0.3481, allocations: 23.98 kB / 490 MB, free: 3.738 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008063/0.3489, allocations: 0.6044 MB / 490.6 MB, free: 3.141 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3489, allocations: 0 / 490.6 MB, free: 3.141 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002034/0.3509, allocations: 492 kB / 491.1 MB, free: 2.66 MB / 362.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.00035/0.3513, allocations: 156.4 kB / 491.2 MB, free: 2.496 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002883/0.3542, allocations: 1.804 MB / 493.1 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3542, allocations: 0 / 493.1 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001641/0.3558, allocations: 1.238 MB / 494.3 MB, free: 15.35 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.3573, allocations: 282.9 kB / 494.6 MB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007866/0.3652, allocations: 5.695 MB / 0.4885 GB, free: 9.277 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001366/0.3666, allocations: 1.754 MB / 0.4902 GB, free: 7.488 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005927/0.3672, allocations: 192.9 kB / 0.4904 GB, free: 7.297 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.3674, allocations: 63.44 kB / 0.4905 GB, free: 7.234 MB / 378.7 MB Notification: Performance of SimCode: time 7.61e-07/0.3674, allocations: 0 / 0.4905 GB, free: 7.234 MB / 378.7 MB Notification: Performance of Templates: time 0.2578/0.6252, allocations: 22.81 MB / 0.5128 GB, free: 86.91 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches