Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001239/0.001239, allocations: 174.2 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205.6 MB / 223.7 MB, free: 8.926 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007642/0.0007641, allocations: 94.42 kB / 272.1 MB, free: 8.117 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002747/0.0002747, allocations: 4 kB / 329 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2283, allocations: 47.58 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.004636/0.2329, allocations: 5.371 MB / 382 MB, free: 41.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002402/0.2354, allocations: 1.927 MB / 383.9 MB, free: 39.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003974/0.2358, allocations: 33.56 kB / 383.9 MB, free: 39.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003596/0.2361, allocations: 235.8 kB / 384.2 MB, free: 39.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008879/0.237, allocations: 372.2 kB / 384.5 MB, free: 39.19 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004951/0.2375, allocations: 300.2 kB / 384.8 MB, free: 38.94 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002038/0.2396, allocations: 2.281 MB / 387.1 MB, free: 37.62 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001916/0.2415, allocations: 1.976 MB / 389.1 MB, free: 35.86 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001112/0.2427, allocations: 0.7391 MB / 389.8 MB, free: 35.12 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001255/0.2439, allocations: 0.9565 MB / 390.8 MB, free: 34.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001826/0.2441, allocations: 120 kB / 390.9 MB, free: 34.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005187/0.2446, allocations: 259.7 kB / 391.1 MB, free: 33.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00035/0.245, allocations: 0.4942 MB / 391.6 MB, free: 33.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008582/0.2459, allocations: 1.016 MB / 392.6 MB, free: 32.26 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002057/0.2479, allocations: 3.375 MB / 396 MB, free: 28.88 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.248, allocations: 0 / 396 MB, free: 28.88 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.248, allocations: 4 kB / 396 MB, free: 28.87 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.143e-05/0.248, allocations: 0 / 396 MB, free: 28.87 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.003091/0.2511, allocations: 2.086 MB / 398.1 MB, free: 26.72 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.2512, allocations: 8.031 kB / 398.1 MB, free: 26.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003672/0.2516, allocations: 230.2 kB / 398.3 MB, free: 26.49 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.2529, allocations: 1.17 MB / 399.5 MB, free: 25.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.02e-05/0.253, allocations: 156.5 kB / 399.7 MB, free: 25.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002182/0.2532, allocations: 204.1 kB / 399.9 MB, free: 24.92 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003332/0.2566, allocations: 2.603 MB / 402.5 MB, free: 22.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.132e-05/0.2566, allocations: 0 / 402.5 MB, free: 22.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/0.2568, allocations: 88 kB / 402.6 MB, free: 22.14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.224e-05/0.2568, allocations: 52 kB / 402.6 MB, free: 22.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002724/0.2596, allocations: 2.081 MB / 404.7 MB, free: 19.99 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008357/0.2679, allocations: 7.47 MB / 412.2 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/0.2696, allocations: 2.351 MB / 414.5 MB, free: 9.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/0.2706, allocations: 0.9394 MB / 415.4 MB, free: 8.82 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.333e-05/0.2707, allocations: 12.94 kB / 415.5 MB, free: 8.809 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.2707, allocations: 47.5 kB / 415.5 MB, free: 8.754 MB / 298.7 MB Notification: Performance of pre-optimization done (n=96): time 3.457e-06/0.2707, allocations: 0 / 415.5 MB, free: 8.754 MB / 298.7 MB Notification: Performance of matching and sorting (n=97): time 0.006047/0.2768, allocations: 4.22 MB / 419.7 MB, free: 4.406 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.2768, allocations: 64.34 kB / 419.8 MB, free: 4.332 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007971/0.2776, allocations: 0.8563 MB / 420.6 MB, free: 3.465 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.289e-05/0.2777, allocations: 41.7 kB / 420.7 MB, free: 3.418 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/0.278, allocations: 0.8295 MB / 421.5 MB, free: 2.574 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.2782, allocations: 327.2 kB / 421.8 MB, free: 2.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.2782, allocations: 23.94 kB / 421.9 MB, free: 2.227 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.889e-05/0.2783, allocations: 345.9 kB / 422.2 MB, free: 1.883 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005917/0.2789, allocations: 497.7 kB / 422.7 MB, free: 1.395 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006724/0.2796, allocations: 0.6733 MB / 423.4 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.2811, allocations: 1.197 MB / 424.6 MB, free: 15.39 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.2812, allocations: 4 kB / 424.6 MB, free: 15.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002559/0.2837, allocations: 1.636 MB / 426.2 MB, free: 13.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.2838, allocations: 8 kB / 426.2 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.2838, allocations: 4 kB / 426.2 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.2848, allocations: 467 kB / 426.7 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006696/0.2855, allocations: 179.6 kB / 426.8 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008535/0.294, allocations: 8.471 MB / 435.3 MB, free: 4.062 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007069/0.2948, allocations: 51.95 kB / 435.4 MB, free: 4.012 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.553e-05/0.2949, allocations: 35.94 kB / 435.4 MB, free: 3.977 MB / 314.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.001168/0.296, allocations: 0.6419 MB / 436 MB, free: 3.324 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002158/0.2963, allocations: 98.78 kB / 436.1 MB, free: 3.227 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002764/0.2965, allocations: 138 kB / 436.3 MB, free: 3.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.148e-05/0.2966, allocations: 12 kB / 436.3 MB, free: 3.078 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.2966, allocations: 0 / 436.3 MB, free: 3.078 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.2966, allocations: 3.984 kB / 436.3 MB, free: 3.074 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005793/0.3024, allocations: 3.536 MB / 439.8 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.3024, allocations: 0 / 439.8 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005642/0.303, allocations: 131.8 kB / 439.9 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009269/0.3039, allocations: 451.1 kB / 440.4 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.493e-05/0.304, allocations: 20.19 kB / 440.4 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0081/0.3121, allocations: 8.369 MB / 448.8 MB, free: 5.945 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.3121, allocations: 0 / 448.8 MB, free: 5.945 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003554/0.3157, allocations: 2.319 MB / 451.1 MB, free: 3.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005286/0.3163, allocations: 275.9 kB / 451.4 MB, free: 3.301 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.3164, allocations: 19.98 kB / 451.4 MB, free: 3.281 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004079/0.3168, allocations: 55.94 kB / 451.4 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002142/0.317, allocations: 88.75 kB / 451.5 MB, free: 3.141 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.421e-05/0.3171, allocations: 31.98 kB / 451.6 MB, free: 3.109 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007561/0.3178, allocations: 0.5966 MB / 452.2 MB, free: 2.516 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3179, allocations: 0 / 452.2 MB, free: 2.516 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001338/0.3192, allocations: 380 kB / 452.5 MB, free: 2.145 MB / 330.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.0002867/0.3195, allocations: 144.6 kB / 452.7 MB, free: 1.992 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002632/0.3221, allocations: 1.815 MB / 454.5 MB, free: 128 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3221, allocations: 0 / 454.5 MB, free: 128 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001685/0.3238, allocations: 1.251 MB / 455.7 MB, free: 14.82 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.3251, allocations: 275.2 kB / 456 MB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007937/0.3331, allocations: 4.569 MB / 460.6 MB, free: 9.953 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001957/0.3351, allocations: 1.722 MB / 462.3 MB, free: 8.199 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006894/0.3358, allocations: 192.9 kB / 462.5 MB, free: 8.008 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.336, allocations: 67.38 kB / 462.5 MB, free: 7.941 MB / 346.7 MB Notification: Performance of SimCode: time 1.042e-06/0.336, allocations: 0 / 462.5 MB, free: 7.941 MB / 346.7 MB Notification: Performance of Templates: time 0.03442/0.3704, allocations: 19.35 MB / 481.9 MB, free: 4.668 MB / 362.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/Rectifier/Rectifier.csv","../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches