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.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 3.2.3+maint.om/package.mo", uses=false) 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.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.MultiPhase.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_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier") translateModel(Modelica.Electrical.MultiPhase.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_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001166, allocations: 107.9 kB / 18.4 MB, free: 4.648 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.001217/0.001217, allocations: 190.4 kB / 19.33 MB, free: 3.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.393/1.393, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 59.92 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08637/0.08772, allocations: 46.61 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.1898/0.2775, allocations: 6.178 MB / 382 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003199/0.2808, allocations: 1.688 MB / 383.7 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006154/0.2814, allocations: 41.91 kB / 383.7 MB, free: 9.445 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005889/0.2821, allocations: 292.5 kB / 384 MB, free: 9.312 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001244/0.2833, allocations: 427.4 kB / 384.4 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007751/0.2841, allocations: 350.5 kB / 384.8 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002735/0.2869, allocations: 2.152 MB / 386.9 MB, free: 8.059 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002746/0.2896, allocations: 2.388 MB / 389.3 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001649/0.2913, allocations: 1.026 MB / 390.3 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001966/0.2933, allocations: 1.211 MB / 391.5 MB, free: 5.918 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004786/0.2937, allocations: 291 kB / 391.8 MB, free: 5.918 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009151/0.2947, allocations: 428.9 kB / 392.2 MB, free: 5.871 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006638/0.2953, allocations: 0.7028 MB / 392.9 MB, free: 5.445 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001482/0.2968, allocations: 1.229 MB / 394.2 MB, free: 4.641 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004217/0.3011, allocations: 3.62 MB / 397.8 MB, free: 3.316 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3011, allocations: 0 / 397.8 MB, free: 3.316 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3011, allocations: 0 / 397.8 MB, free: 3.316 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001167/0.3012, allocations: 5.5 kB / 397.8 MB, free: 3.312 MB / 318.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.005213/0.3064, allocations: 2.463 MB / 400.3 MB, free: 1.809 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.3065, allocations: 13.48 kB / 400.3 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004356/0.3069, allocations: 228.3 kB / 400.5 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001742/0.3087, allocations: 1.183 MB / 401.7 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/0.3088, allocations: 155.8 kB / 401.8 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000294/0.3091, allocations: 203.6 kB / 402 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005014/0.3141, allocations: 2.617 MB / 404.6 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.792e-05/0.3142, allocations: 0 / 404.6 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001878/0.3144, allocations: 86 kB / 404.7 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000103/0.3145, allocations: 51.03 kB / 404.8 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003895/0.3184, allocations: 2.08 MB / 406.9 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01247/0.3309, allocations: 7.309 MB / 414.2 MB, free: 8.711 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002308/0.3333, allocations: 2.357 MB / 416.5 MB, free: 6.242 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001506/0.3348, allocations: 0.951 MB / 417.5 MB, free: 5.293 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.673e-05/0.3349, allocations: 13 kB / 417.5 MB, free: 5.281 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.3349, allocations: 43.5 kB / 417.5 MB, free: 5.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=96): time 3.366e-06/0.3349, allocations: 4 kB / 417.5 MB, free: 5.227 MB / 334.1 MB Notification: Performance of matching and sorting (n=97): time 0.008584/0.3435, allocations: 4.177 MB / 421.7 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.3436, allocations: 65.34 kB / 421.8 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.3448, allocations: 0.8678 MB / 422.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.099e-05/0.3449, allocations: 41.7 kB / 422.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005709/0.3454, allocations: 0.8217 MB / 423.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000246/0.3457, allocations: 327.3 kB / 423.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002889/0.346, allocations: 182.5 kB / 424 MB, free: 14.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3461, allocations: 345.9 kB / 424.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007362/0.3469, allocations: 497.7 kB / 424.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008508/0.3477, allocations: 0.6694 MB / 425.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001629/0.3494, allocations: 1.209 MB / 426.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.3494, allocations: 7.938 kB / 426.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002609/0.352, allocations: 1.616 MB / 428.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.352, allocations: 8 kB / 428.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.3521, allocations: 4 kB / 428.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/0.3532, allocations: 466.9 kB / 428.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006832/0.3539, allocations: 179.8 kB / 429 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008901/0.3628, allocations: 9.285 MB / 438.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008401/0.3637, allocations: 47.95 kB / 438.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.411e-05/0.3638, allocations: 32 kB / 438.3 MB, free: 15.52 MB / 366.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.001168/0.365, allocations: 0.6457 MB / 439 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002515/0.3653, allocations: 94.88 kB / 439.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002709/0.3655, allocations: 138 kB / 439.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.114e-05/0.3656, allocations: 19.88 kB / 439.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.3656, allocations: 0 / 439.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.3656, allocations: 7.969 kB / 439.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005928/0.3715, allocations: 3.477 MB / 442.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.3716, allocations: 0 / 442.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005916/0.3722, allocations: 135.8 kB / 442.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009887/0.3732, allocations: 451 kB / 443.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.611e-05/0.3733, allocations: 23.98 kB / 443.3 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008687/0.382, allocations: 9.196 MB / 452.5 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.382, allocations: 3.938 kB / 452.5 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003532/0.3855, allocations: 2.316 MB / 454.8 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006127/0.3862, allocations: 272 kB / 455.1 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.3863, allocations: 23.94 kB / 455.1 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004389/0.3867, allocations: 39.95 kB / 455.2 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002319/0.387, allocations: 96.8 kB / 455.3 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.063e-05/0.3871, allocations: 27.94 kB / 455.3 MB, free: 13.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008274/0.3879, allocations: 0.6083 MB / 455.9 MB, free: 13.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3879, allocations: 0 / 455.9 MB, free: 13.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001488/0.3894, allocations: 376 kB / 456.3 MB, free: 12.89 MB / 382.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.0002774/0.3897, allocations: 151 kB / 456.4 MB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002626/0.3923, allocations: 1.819 MB / 458.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.3923, allocations: 0 / 458.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001594/0.3939, allocations: 1.243 MB / 459.5 MB, free: 9.566 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/0.3953, allocations: 298 kB / 459.8 MB, free: 9.273 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005752/0.401, allocations: 3.581 MB / 463.3 MB, free: 5.641 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001285/0.4024, allocations: 1.687 MB / 465 MB, free: 3.918 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002668/0.4026, allocations: 75.42 kB / 465.1 MB, free: 3.844 MB / 382.1 MB Notification: Performance of SimCode: time 6.92e-07/0.4026, allocations: 0 / 465.1 MB, free: 3.844 MB / 382.1 MB Notification: Performance of Templates: time 0.05992/0.4626, allocations: 58.47 MB / 0.5113 GB, free: 9.266 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches