Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008172/0.0008173, allocations: 183.7 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.229/1.229, allocations: 225.7 MB / 243.2 MB, free: 8.488 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007687/0.0007687, allocations: 93.5 kB / 294.4 MB, free: 9.496 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002722/0.0002723, allocations: 7.938 kB / 354.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2272, allocations: 50.41 MB / 404.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.004366/0.2316, allocations: 5.405 MB / 410 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002746/0.2344, allocations: 1.879 MB / 411.9 MB, free: 23.94 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005538/0.235, allocations: 40.47 kB / 411.9 MB, free: 23.9 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003843/0.2354, allocations: 231.7 kB / 412.1 MB, free: 23.67 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009809/0.2364, allocations: 383.5 kB / 412.5 MB, free: 23.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004951/0.2369, allocations: 291.7 kB / 412.8 MB, free: 23.01 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001339/0.2382, allocations: 2.262 MB / 415 MB, free: 20.74 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001637/0.2399, allocations: 2.031 MB / 417.1 MB, free: 18.65 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000722/0.2406, allocations: 0.7352 MB / 417.8 MB, free: 17.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008526/0.2415, allocations: 0.9486 MB / 418.8 MB, free: 16.96 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.2416, allocations: 124 kB / 418.9 MB, free: 16.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004139/0.242, allocations: 247.7 kB / 419.1 MB, free: 16.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002888/0.2423, allocations: 0.4943 MB / 419.6 MB, free: 16.1 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006641/0.243, allocations: 1.02 MB / 420.6 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001781/0.2448, allocations: 3.375 MB / 424 MB, free: 11.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2448, allocations: 0 / 424 MB, free: 11.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2448, allocations: 0 / 424 MB, free: 11.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.447e-05/0.2449, allocations: 0 / 424 MB, free: 11.68 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.002759/0.2476, allocations: 2.103 MB / 426.1 MB, free: 9.516 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.2477, allocations: 8.031 kB / 426.1 MB, free: 9.508 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003045/0.248, allocations: 230.2 kB / 426.3 MB, free: 9.281 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.2494, allocations: 1.24 MB / 427.6 MB, free: 7.996 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.779e-05/0.2495, allocations: 156.5 kB / 427.7 MB, free: 7.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002236/0.2497, allocations: 208.1 kB / 427.9 MB, free: 7.637 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003283/0.253, allocations: 2.599 MB / 430.5 MB, free: 4.949 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.238e-05/0.2531, allocations: 7.938 kB / 430.5 MB, free: 4.941 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001416/0.2532, allocations: 84 kB / 430.6 MB, free: 4.859 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.892e-05/0.2533, allocations: 55.98 kB / 430.7 MB, free: 4.805 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002668/0.2559, allocations: 2.081 MB / 432.8 MB, free: 2.707 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009037/0.265, allocations: 7.447 MB / 440.2 MB, free: 11.08 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002082/0.2671, allocations: 2.356 MB / 442.6 MB, free: 8.5 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001287/0.2684, allocations: 0.9472 MB / 443.5 MB, free: 7.551 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.558e-05/0.2685, allocations: 12.94 kB / 443.5 MB, free: 7.535 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.2685, allocations: 39.56 kB / 443.6 MB, free: 7.488 MB / 314.7 MB Notification: Performance of pre-optimization done (n=96): time 3.847e-06/0.2685, allocations: 0 / 443.6 MB, free: 7.488 MB / 314.7 MB Notification: Performance of matching and sorting (n=97): time 0.007302/0.2758, allocations: 4.212 MB / 447.8 MB, free: 3.156 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.2759, allocations: 64.34 kB / 447.8 MB, free: 3.078 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.277, allocations: 0.8485 MB / 448.7 MB, free: 2.219 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.275e-05/0.277, allocations: 45.69 kB / 448.7 MB, free: 2.168 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005272/0.2776, allocations: 0.8255 MB / 449.6 MB, free: 1.328 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002448/0.2778, allocations: 331.2 kB / 449.9 MB, free: 1 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.692e-05/0.2779, allocations: 20 kB / 449.9 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.278, allocations: 345.9 kB / 450.2 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007012/0.2787, allocations: 497.7 kB / 450.7 MB, free: 156 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008456/0.2796, allocations: 0.6733 MB / 451.4 MB, free: 15.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001635/0.2812, allocations: 1.209 MB / 452.6 MB, free: 14.13 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.2812, allocations: 3.938 kB / 452.6 MB, free: 14.13 MB / 330.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002539/0.2838, allocations: 1.62 MB / 454.2 MB, free: 12.49 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.2838, allocations: 8 kB / 454.2 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.2838, allocations: 4 kB / 454.2 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009975/0.2848, allocations: 470.9 kB / 454.7 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006202/0.2855, allocations: 171.8 kB / 454.9 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007843/0.2933, allocations: 8.455 MB / 463.3 MB, free: 2.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006185/0.294, allocations: 52.02 kB / 463.4 MB, free: 2.789 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.2941, allocations: 36.09 kB / 463.4 MB, free: 2.754 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 (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 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.001046/0.2952, allocations: 0.6477 MB / 464.1 MB, free: 2.098 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002309/0.2954, allocations: 102.8 kB / 464.2 MB, free: 1.996 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002616/0.2957, allocations: 134 kB / 464.3 MB, free: 1.859 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.843e-05/0.2957, allocations: 12 kB / 464.3 MB, free: 1.848 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.554e-05/0.2957, allocations: 4 kB / 464.3 MB, free: 1.844 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.2957, allocations: 3.984 kB / 464.3 MB, free: 1.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005999/0.3017, allocations: 3.524 MB / 467.8 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.3018, allocations: 4 kB / 467.8 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005547/0.3023, allocations: 131.8 kB / 468 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009314/0.3033, allocations: 455 kB / 468.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.499e-05/0.3034, allocations: 20 kB / 468.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007611/0.311, allocations: 8.374 MB / 476.8 MB, free: 4.707 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.311, allocations: 0 / 476.8 MB, free: 4.707 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003323/0.3143, allocations: 2.315 MB / 479.1 MB, free: 2.355 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004841/0.3148, allocations: 272 kB / 479.4 MB, free: 2.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.315, allocations: 27.97 kB / 479.4 MB, free: 2.043 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004586/0.3155, allocations: 47.95 kB / 479.5 MB, free: 1.996 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002152/0.3157, allocations: 88.81 kB / 479.5 MB, free: 1.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.444e-05/0.3158, allocations: 24 kB / 479.6 MB, free: 1.887 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008279/0.3166, allocations: 0.6044 MB / 480.2 MB, free: 1.285 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3166, allocations: 0 / 480.2 MB, free: 1.285 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001379/0.318, allocations: 380 kB / 480.5 MB, free: 0.9141 MB / 346.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.0002719/0.3183, allocations: 160.1 kB / 480.7 MB, free: 0.75 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002501/0.3208, allocations: 1.819 MB / 482.5 MB, free: 14.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3208, allocations: 0 / 482.5 MB, free: 14.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001523/0.3223, allocations: 1.236 MB / 483.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.3236, allocations: 279.2 kB / 484 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006429/0.33, allocations: 4.577 MB / 488.6 MB, free: 8.711 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001539/0.3316, allocations: 1.718 MB / 490.3 MB, free: 6.957 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000553/0.3322, allocations: 192.9 kB / 490.5 MB, free: 6.766 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/0.3324, allocations: 67.42 kB / 490.6 MB, free: 6.703 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.3324, allocations: 0 / 490.6 MB, free: 6.703 MB / 362.7 MB Notification: Performance of Templates: time 0.03322/0.3656, allocations: 19.34 MB / 0.498 GB, free: 3.488 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/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