Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000848/0.0008479, allocations: 179.1 kB / 17.36 MB, free: 4.316 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.403/1.403, allocations: 205.6 MB / 223.7 MB, free: 8.969 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.0007047/0.0007047, allocations: 90.36 kB / 272.1 MB, free: 8.152 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000263/0.000263, allocations: 4 kB / 329 MB, free: 15.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2557, allocations: 47.58 MB / 376.6 MB, free: 45.61 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.007433/0.2632, allocations: 9.415 MB / 386 MB, free: 38.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005458/0.2687, allocations: 3.397 MB / 389.4 MB, free: 35.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002239/0.271, allocations: 64.28 kB / 389.5 MB, free: 35.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001648/0.2726, allocations: 0.5913 MB / 390.1 MB, free: 34.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002596/0.2752, allocations: 1.066 MB / 391.1 MB, free: 33.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007599/0.276, allocations: 439.5 kB / 391.6 MB, free: 33.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004547/0.2806, allocations: 6.025 MB / 397.6 MB, free: 27.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003273/0.2839, allocations: 3.325 MB / 400.9 MB, free: 24.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004313/0.2882, allocations: 1.81 MB / 402.7 MB, free: 22.21 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002998/0.2912, allocations: 2.306 MB / 405 MB, free: 19.9 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005255/0.2917, allocations: 280 kB / 405.3 MB, free: 19.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.2928, allocations: 367.8 kB / 405.7 MB, free: 19.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008995/0.2937, allocations: 1.199 MB / 406.9 MB, free: 18.06 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002124/0.2958, allocations: 2.318 MB / 409.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004972/0.3008, allocations: 7.868 MB / 417.1 MB, free: 7.832 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.3008, allocations: 4 kB / 417.1 MB, free: 7.828 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3009, allocations: 0 / 417.1 MB, free: 7.828 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001873/0.3011, allocations: 0 / 417.1 MB, free: 7.828 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.007807/0.3089, allocations: 4.257 MB / 421.3 MB, free: 3.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.3089, allocations: 12.03 kB / 421.3 MB, free: 3.488 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001873/0.3108, allocations: 0.546 MB / 421.9 MB, free: 2.938 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004195/0.315, allocations: 2.596 MB / 424.5 MB, free: 272 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002073/0.3153, allocations: 291.9 kB / 424.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001062/0.3163, allocations: 387.9 kB / 425.1 MB, free: 15.6 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0123/0.3286, allocations: 5.77 MB / 430.9 MB, free: 9.746 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.538e-05/0.3287, allocations: 0 / 430.9 MB, free: 9.746 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003804/0.3291, allocations: 160 kB / 431.1 MB, free: 9.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001993/0.3293, allocations: 204 kB / 431.3 MB, free: 9.387 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009711/0.3391, allocations: 5.001 MB / 436.3 MB, free: 4.367 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02865/0.3677, allocations: 16.52 MB / 452.8 MB, free: 3.578 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006857/0.3746, allocations: 6.82 MB / 459.6 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003894/0.3785, allocations: 2.673 MB / 462.3 MB, free: 9.531 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003069/0.3789, allocations: 135.1 kB / 462.4 MB, free: 9.379 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.25e-05/0.3789, allocations: 68.5 kB / 462.5 MB, free: 9.305 MB / 346.7 MB Notification: Performance of pre-optimization done (n=249): time 3.667e-06/0.379, allocations: 3.938 kB / 462.5 MB, free: 9.301 MB / 346.7 MB Notification: Performance of matching and sorting (n=256): time 0.02/0.399, allocations: 10.73 MB / 473.2 MB, free: 14.31 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.399, allocations: 77.42 kB / 473.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004305/0.4034, allocations: 2.616 MB / 475.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004007/0.4038, allocations: 77.7 kB / 476 MB, free: 11.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001272/0.4051, allocations: 1.636 MB / 477.6 MB, free: 9.852 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009702/0.406, allocations: 0.8355 MB / 478.4 MB, free: 9.004 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002338/0.4063, allocations: 52 kB / 478.5 MB, free: 8.953 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002148/0.4065, allocations: 406.7 kB / 478.9 MB, free: 8.551 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002264/0.4088, allocations: 1.332 MB / 480.2 MB, free: 7.215 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002513/0.4113, allocations: 1.65 MB / 481.9 MB, free: 5.469 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004607/0.4159, allocations: 3.068 MB / 484.9 MB, free: 2.277 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/0.416, allocations: 4 kB / 484.9 MB, free: 2.273 MB / 362.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007781/0.4238, allocations: 4.449 MB / 489.4 MB, free: 13.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.4238, allocations: 8 kB / 489.4 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.4238, allocations: 4 kB / 489.4 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00539/0.4292, allocations: 1.648 MB / 491 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/0.4308, allocations: 395.4 kB / 491.4 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1784/0.6092, allocations: 23.46 MB / 0.5028 GB, free: 96.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/0.6112, allocations: 102 kB / 0.5029 GB, free: 96.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001699/0.6113, allocations: 80.34 kB / 0.503 GB, free: 96.67 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,9,100.0%), (1,9,100.0%), (1,9,100.0%), (2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.002348/0.6137, allocations: 1.406 MB / 0.5044 GB, free: 95.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005866/0.6143, allocations: 302.7 kB / 0.5047 GB, free: 95.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006625/0.6209, allocations: 4.373 MB / 0.5089 GB, free: 94.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.821e-05/0.621, allocations: 26.28 kB / 0.509 GB, free: 94.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.621, allocations: 7.375 kB / 0.509 GB, free: 94.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.668e-05/0.621, allocations: 14.5 kB / 0.509 GB, free: 94.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/0.6325, allocations: 8.891 MB / 0.5177 GB, free: 88.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.6326, allocations: 192 / 0.5177 GB, free: 88.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.6336, allocations: 295.2 kB / 0.5179 GB, free: 87.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004341/0.638, allocations: 1.626 MB / 0.5195 GB, free: 86.17 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001634/0.6381, allocations: 55.98 kB / 0.5196 GB, free: 86.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01639/0.6546, allocations: 23.24 MB / 0.5423 GB, free: 61.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.6546, allocations: 10.89 kB / 0.5423 GB, free: 61.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00718/0.6618, allocations: 6.087 MB / 0.5482 GB, free: 55.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001322/0.6631, allocations: 0.681 MB / 0.5489 GB, free: 54.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003198/0.6635, allocations: 59.98 kB / 0.549 GB, free: 54.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/0.6647, allocations: 127.9 kB / 0.5491 GB, free: 54.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004814/0.6652, allocations: 209.7 kB / 0.5493 GB, free: 54.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/0.6653, allocations: 63.98 kB / 0.5493 GB, free: 54.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002001/0.6673, allocations: 1.829 MB / 0.5511 GB, free: 52.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6673, allocations: 0 / 0.5511 GB, free: 52.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002596/0.6699, allocations: 0.9648 MB / 0.5521 GB, free: 51.74 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,29,100.0%), (1,9,100.0%), (1,9,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004543/0.6704, allocations: 256.7 kB / 0.5523 GB, free: 51.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005402/0.6758, allocations: 4.85 MB / 0.557 GB, free: 46.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.6758, allocations: 0 / 0.557 GB, free: 46.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003452/0.6793, allocations: 3.345 MB / 0.5603 GB, free: 43.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003825/0.6831, allocations: 0.8965 MB / 0.5612 GB, free: 42.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/0.6946, allocations: 10.37 MB / 0.5713 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002338/0.697, allocations: 3.169 MB / 0.5744 GB, free: 28.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001746/0.6988, allocations: 0.5713 MB / 0.575 GB, free: 27.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004105/0.6992, allocations: 167.4 kB / 0.5751 GB, free: 27.82 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6992, allocations: 0 / 0.5751 GB, free: 27.82 MB / 378.7 MB Notification: Performance of Templates: time 0.08628/0.7855, allocations: 58.33 MB / 0.6321 GB, free: 1.531 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches