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.001484/0.001484, allocations: 108.2 kB / 17.74 MB, free: 5.359 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.001707/0.001707, allocations: 183.1 kB / 18.67 MB, free: 4.441 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.428/1.428, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00102/0.001021, allocations: 47.92 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2726, allocations: 49.43 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.008833/0.2815, allocations: 6.227 MB / 407.6 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003832/0.2854, allocations: 1.639 MB / 409.3 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.2865, allocations: 51.75 kB / 409.3 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009954/0.2876, allocations: 293.6 kB / 409.6 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001932/0.2896, allocations: 425.2 kB / 410 MB, free: 204 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.2907, allocations: 343.6 kB / 410.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002786/0.2935, allocations: 2.145 MB / 412.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003628/0.2972, allocations: 2.434 MB / 414.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001653/0.2988, allocations: 1.036 MB / 416 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002325/0.3012, allocations: 1.222 MB / 417.2 MB, free: 8.941 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008104/0.302, allocations: 292 kB / 417.5 MB, free: 8.656 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001389/0.3034, allocations: 427.7 kB / 417.9 MB, free: 8.238 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000871/0.3043, allocations: 0.6974 MB / 418.6 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001741/0.3061, allocations: 1.233 MB / 419.8 MB, free: 6.301 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003921/0.31, allocations: 3.623 MB / 423.4 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.31, allocations: 0 / 423.4 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.31, allocations: 0 / 423.4 MB, free: 2.672 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.146e-05/0.3101, allocations: 0 / 423.4 MB, free: 2.672 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.005356/0.3155, allocations: 2.476 MB / 425.9 MB, free: 136 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.3156, allocations: 15.88 kB / 425.9 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004463/0.316, allocations: 226.3 kB / 426.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001985/0.318, allocations: 1.287 MB / 427.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.3181, allocations: 156.5 kB / 427.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002826/0.3184, allocations: 212.1 kB / 427.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004454/0.3229, allocations: 2.61 MB / 430.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.572e-05/0.3229, allocations: 3.938 kB / 430.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001858/0.3231, allocations: 88 kB / 430.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.155e-05/0.3232, allocations: 56 kB / 430.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003513/0.3267, allocations: 2.077 MB / 432.6 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0115/0.3383, allocations: 7.294 MB / 439.9 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002233/0.3405, allocations: 2.348 MB / 442.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001517/0.3421, allocations: 0.9397 MB / 443.2 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.645e-05/0.3421, allocations: 16.92 kB / 443.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.3422, allocations: 43.56 kB / 443.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.557e-06/0.3422, allocations: 0 / 443.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.007626/0.3498, allocations: 4.181 MB / 447.5 MB, free: 9.887 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.3499, allocations: 64.34 kB / 447.5 MB, free: 9.812 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.351, allocations: 0.8601 MB / 448.4 MB, free: 8.945 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.203e-05/0.3511, allocations: 41.7 kB / 448.4 MB, free: 8.898 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005093/0.3516, allocations: 0.8295 MB / 449.3 MB, free: 8.055 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002556/0.3519, allocations: 327.3 kB / 449.6 MB, free: 7.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002603/0.3521, allocations: 178.4 kB / 449.8 MB, free: 7.551 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.3523, allocations: 349.9 kB / 450.1 MB, free: 7.203 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007649/0.353, allocations: 497.7 kB / 450.6 MB, free: 6.715 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008633/0.3539, allocations: 0.6733 MB / 451.3 MB, free: 5.977 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001624/0.3556, allocations: 1.209 MB / 452.5 MB, free: 4.703 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.3556, allocations: 0 / 452.5 MB, free: 4.703 MB / 366.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00269/0.3583, allocations: 1.628 MB / 454.1 MB, free: 3.055 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.3583, allocations: 8 kB / 454.1 MB, free: 3.047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.3583, allocations: 4 kB / 454.1 MB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.3594, allocations: 466.9 kB / 454.6 MB, free: 2.574 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006768/0.3601, allocations: 171.7 kB / 454.7 MB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008864/0.369, allocations: 9.285 MB / 464 MB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007651/0.3698, allocations: 59.78 kB / 464.1 MB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.656e-05/0.3699, allocations: 40.05 kB / 464.1 MB, free: 8.465 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.00104/0.371, allocations: 0.638 MB / 464.7 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002485/0.3712, allocations: 94.88 kB / 464.8 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000297/0.3715, allocations: 138 kB / 465 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.031e-05/0.3715, allocations: 12 kB / 465 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/0.3716, allocations: 0 / 465 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.3716, allocations: 7.922 kB / 465 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005424/0.377, allocations: 3.474 MB / 468.5 MB, free: 4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.3771, allocations: 7.938 kB / 468.5 MB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005617/0.3776, allocations: 123.9 kB / 468.6 MB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009307/0.3786, allocations: 447 kB / 469 MB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.007e-05/0.3786, allocations: 27.98 kB / 469.1 MB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00827/0.3869, allocations: 9.21 MB / 478.3 MB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.387, allocations: 0 / 478.3 MB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003599/0.3906, allocations: 2.312 MB / 480.6 MB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004844/0.3911, allocations: 275.9 kB / 480.8 MB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.3912, allocations: 16 kB / 480.9 MB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004523/0.3917, allocations: 43.95 kB / 480.9 MB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002515/0.392, allocations: 96.8 kB / 481 MB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.617e-05/0.392, allocations: 27.98 kB / 481 MB, free: 6.812 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008058/0.3928, allocations: 0.6044 MB / 481.6 MB, free: 6.215 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3929, allocations: 0 / 481.6 MB, free: 6.215 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00154/0.3944, allocations: 387.9 kB / 482 MB, free: 5.836 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.0003407/0.3948, allocations: 146.7 kB / 482.2 MB, free: 5.688 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002944/0.3977, allocations: 1.826 MB / 484 MB, free: 3.809 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3977, allocations: 0 / 484 MB, free: 3.809 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00168/0.3994, allocations: 1.243 MB / 485.2 MB, free: 2.516 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/0.401, allocations: 295.2 kB / 485.5 MB, free: 2.223 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005848/0.4068, allocations: 3.568 MB / 489.1 MB, free: 14.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001275/0.4081, allocations: 1.687 MB / 490.8 MB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002888/0.4084, allocations: 67.44 kB / 490.8 MB, free: 12.83 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4085, allocations: 0 / 490.8 MB, free: 12.83 MB / 414.1 MB Notification: Performance of Templates: time 0.06496/0.4734, allocations: 58.58 MB / 0.5365 GB, free: 2.266 MB / 462.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/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