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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 109.7 kB / 17.06 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 191 kB / 18 MB, free: 4.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009475/0.0009476, allocations: 52.02 kB / 351.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2662, allocations: 49.43 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.007092/0.2733, allocations: 6.234 MB / 407 MB, free: 2.598 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003592/0.2769, allocations: 1.647 MB / 408.6 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005863/0.2776, allocations: 39.88 kB / 408.6 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006579/0.2782, allocations: 309.5 kB / 408.9 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001359/0.2796, allocations: 429.2 kB / 409.4 MB, free: 184 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007008/0.2803, allocations: 339.7 kB / 409.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002114/0.2825, allocations: 2.145 MB / 411.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002504/0.285, allocations: 2.434 MB / 414.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/0.2862, allocations: 1.036 MB / 415.3 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001486/0.2877, allocations: 1.218 MB / 416.5 MB, free: 8.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003374/0.2881, allocations: 292 kB / 416.8 MB, free: 8.645 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006806/0.2888, allocations: 427.7 kB / 417.2 MB, free: 8.227 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006323/0.2894, allocations: 0.7013 MB / 417.9 MB, free: 7.523 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001316/0.2907, allocations: 1.225 MB / 419.2 MB, free: 6.293 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003203/0.2939, allocations: 3.631 MB / 422.8 MB, free: 2.656 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.294, allocations: 7.984 kB / 422.8 MB, free: 2.648 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.294, allocations: 0 / 422.8 MB, free: 2.648 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.488e-05/0.294, allocations: 0 / 422.8 MB, free: 2.648 MB / 334.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.00434/0.2984, allocations: 2.468 MB / 425.3 MB, free: 120 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.2984, allocations: 15.89 kB / 425.3 MB, free: 104 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003846/0.2988, allocations: 226.3 kB / 425.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001826/0.3006, allocations: 1.287 MB / 426.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.3008, allocations: 160.5 kB / 426.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002839/0.3011, allocations: 208.1 kB / 427.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004036/0.3051, allocations: 2.618 MB / 429.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.456e-05/0.3051, allocations: 0 / 429.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001737/0.3053, allocations: 80 kB / 429.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.781e-05/0.3054, allocations: 55.98 kB / 429.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003279/0.3087, allocations: 2.093 MB / 432 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009838/0.3185, allocations: 7.283 MB / 439.3 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002197/0.3208, allocations: 2.356 MB / 441.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001452/0.3222, allocations: 0.9358 MB / 442.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.681e-05/0.3223, allocations: 12.94 kB / 442.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.3223, allocations: 43.5 kB / 442.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.745e-06/0.3223, allocations: 11.88 kB / 442.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.007457/0.3298, allocations: 4.173 MB / 446.8 MB, free: 9.867 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.3299, allocations: 68.34 kB / 446.9 MB, free: 9.789 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.331, allocations: 0.864 MB / 447.7 MB, free: 8.918 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.209e-05/0.3311, allocations: 45.7 kB / 447.8 MB, free: 8.867 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005403/0.3316, allocations: 0.8295 MB / 448.6 MB, free: 8.023 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002311/0.3318, allocations: 323.3 kB / 448.9 MB, free: 7.703 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002882/0.3321, allocations: 178.5 kB / 449.1 MB, free: 7.523 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.3323, allocations: 345.9 kB / 449.4 MB, free: 7.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007667/0.333, allocations: 493.7 kB / 449.9 MB, free: 6.695 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009013/0.334, allocations: 0.6733 MB / 450.6 MB, free: 5.957 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001685/0.3357, allocations: 1.201 MB / 451.8 MB, free: 4.691 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.3357, allocations: 4 kB / 451.8 MB, free: 4.688 MB / 366.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002593/0.3383, allocations: 1.628 MB / 453.4 MB, free: 3.039 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.3383, allocations: 4 kB / 453.4 MB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.861e-05/0.3383, allocations: 12.06 kB / 453.4 MB, free: 3.023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/0.3394, allocations: 466.9 kB / 453.9 MB, free: 2.555 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007053/0.3401, allocations: 171.8 kB / 454.1 MB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008723/0.3488, allocations: 9.289 MB / 463.3 MB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006101/0.3495, allocations: 47.89 kB / 463.4 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-05/0.3496, allocations: 36 kB / 463.4 MB, free: 8.457 MB / 382.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.0009838/0.3506, allocations: 0.6394 MB / 464.1 MB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002164/0.3508, allocations: 94.88 kB / 464.2 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003042/0.3511, allocations: 138 kB / 464.3 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.863e-05/0.3511, allocations: 12.06 kB / 464.3 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.3511, allocations: 4 kB / 464.3 MB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.3512, allocations: 7.922 kB / 464.3 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00567/0.3568, allocations: 3.481 MB / 467.8 MB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.3569, allocations: 0 / 467.8 MB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005776/0.3574, allocations: 127.8 kB / 467.9 MB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001033/0.3585, allocations: 455 kB / 468.4 MB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.576e-05/0.3586, allocations: 20.06 kB / 468.4 MB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008909/0.3675, allocations: 9.214 MB / 477.6 MB, free: 9.609 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.3675, allocations: 4.031 kB / 477.6 MB, free: 9.605 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003429/0.3709, allocations: 2.304 MB / 479.9 MB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005097/0.3715, allocations: 275.9 kB / 480.2 MB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/0.3716, allocations: 19.98 kB / 480.2 MB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004948/0.3721, allocations: 47.95 kB / 480.2 MB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002421/0.3724, allocations: 92.73 kB / 480.3 MB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.004e-05/0.3725, allocations: 24 kB / 480.4 MB, free: 6.797 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008958/0.3734, allocations: 0.6044 MB / 481 MB, free: 6.199 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3734, allocations: 0 / 481 MB, free: 6.199 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00159/0.375, allocations: 387.9 kB / 481.3 MB, free: 5.82 MB / 398.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.0002845/0.3753, allocations: 147.1 kB / 481.5 MB, free: 5.668 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002786/0.3781, allocations: 1.823 MB / 483.3 MB, free: 3.793 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.3781, allocations: 5.312 kB / 483.3 MB, free: 3.789 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001663/0.3798, allocations: 1.242 MB / 484.6 MB, free: 2.496 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.3811, allocations: 299.2 kB / 484.9 MB, free: 2.199 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005818/0.3869, allocations: 3.577 MB / 488.4 MB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/0.3884, allocations: 1.714 MB / 490.1 MB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004853/0.3888, allocations: 192.9 kB / 490.3 MB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001871/0.389, allocations: 67.42 kB / 490.4 MB, free: 12.58 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.389, allocations: 0 / 490.4 MB, free: 12.58 MB / 414.1 MB Notification: Performance of Templates: time 0.03306/0.4221, allocations: 21.05 MB / 0.4995 GB, free: 7.766 MB / 430.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches