Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 212 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.394/1.394, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 62.58 kB / 347.2 MB, free: 9.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2493, allocations: 49.15 MB / 396.4 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.006559/0.2558, allocations: 6.074 MB / 402.4 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004314/0.2601, allocations: 2.239 MB / 404.7 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008086/0.2609, allocations: 54.59 kB / 404.7 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.2619, allocations: 451.7 kB / 405.2 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001865/0.2638, allocations: 0.7016 MB / 405.9 MB, free: 2.586 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005908/0.2644, allocations: 279.3 kB / 406.1 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003252/0.2677, allocations: 2.922 MB / 409.1 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001525/0.2692, allocations: 1.249 MB / 410.3 MB, free: 304 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00289/0.2721, allocations: 1.345 MB / 411.7 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002685/0.2748, allocations: 1.537 MB / 413.2 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004923/0.2752, allocations: 349 kB / 413.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.2763, allocations: 434.8 kB / 414 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009079/0.2772, allocations: 0.8998 MB / 414.9 MB, free: 14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00183/0.279, allocations: 1.241 MB / 416.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005124/0.2841, allocations: 4.659 MB / 420.8 MB, free: 9.801 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.2841, allocations: 1.031 kB / 420.8 MB, free: 9.801 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2841, allocations: 0 / 420.8 MB, free: 9.801 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.359e-05/0.2842, allocations: 0 / 420.8 MB, free: 9.801 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.006108/0.2903, allocations: 2.944 MB / 423.7 MB, free: 7.645 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.2904, allocations: 11.98 kB / 423.7 MB, free: 7.633 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004511/0.2908, allocations: 328.9 kB / 424 MB, free: 7.301 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008699/0.2917, allocations: 323.1 kB / 424.4 MB, free: 6.984 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00292/0.2946, allocations: 1.478 MB / 425.8 MB, free: 5.465 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.2948, allocations: 160.4 kB / 426 MB, free: 5.305 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003214/0.2951, allocations: 220 kB / 426.2 MB, free: 5.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005061/0.3001, allocations: 3.346 MB / 429.5 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.012e-05/0.3002, allocations: 4 kB / 429.5 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002081/0.3004, allocations: 91.98 kB / 429.6 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001233/0.3005, allocations: 116.4 kB / 429.8 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004385/0.3049, allocations: 2.719 MB / 432.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01339/0.3183, allocations: 7.99 MB / 440.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00299/0.3213, allocations: 1.918 MB / 442.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001987/0.3233, allocations: 1.238 MB / 443.6 MB, free: 3.367 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002233/0.3235, allocations: 49.22 kB / 443.7 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.217e-05/0.3235, allocations: 55.88 kB / 443.7 MB, free: 3.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=128): time 3.496e-06/0.3235, allocations: 3.938 kB / 443.7 MB, free: 3.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.01032/0.3339, allocations: 5.251 MB / 449 MB, free: 13.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.3339, allocations: 68.72 kB / 449 MB, free: 13.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002079/0.336, allocations: 1.498 MB / 450.5 MB, free: 12.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.05e-05/0.3361, allocations: 53.7 kB / 450.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000747/0.3368, allocations: 0.9626 MB / 451.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003724/0.3372, allocations: 467.9 kB / 452 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003573/0.3376, allocations: 226.9 kB / 452.2 MB, free: 10.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.3377, allocations: 357.9 kB / 452.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/0.3388, allocations: 0.6935 MB / 453.3 MB, free: 9.598 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0012/0.34, allocations: 0.8715 MB / 454.1 MB, free: 8.676 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00232/0.3423, allocations: 1.609 MB / 455.8 MB, free: 7.016 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.76e-06/0.3423, allocations: 4 kB / 455.8 MB, free: 7.012 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003902/0.3462, allocations: 2.299 MB / 458.1 MB, free: 4.691 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.3462, allocations: 8 kB / 458.1 MB, free: 4.684 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.3463, allocations: 4 kB / 458.1 MB, free: 4.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002651/0.3489, allocations: 0.8111 MB / 458.9 MB, free: 3.855 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007948/0.3497, allocations: 211.7 kB / 459.1 MB, free: 3.648 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01304/0.3627, allocations: 10.99 MB / 470.1 MB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/0.364, allocations: 47.95 kB / 470.1 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.514e-05/0.3641, allocations: 44 kB / 470.2 MB, free: 8.117 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 6 (diode2.idealDiode[3].off,diode2.idealDiode[2].off,diode2.idealDiode[1].off,diode1.idealDiode[3].off,diode1.idealDiode[2].off,diode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 100 * Array equations: 0 * 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 {(2,29,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.001354/0.3654, allocations: 0.8213 MB / 471 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003307/0.3658, allocations: 167 kB / 471.2 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003801/0.3696, allocations: 2.253 MB / 473.4 MB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.3696, allocations: 12 kB / 473.4 MB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.3696, allocations: 4 kB / 473.4 MB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.3696, allocations: 3.984 kB / 473.4 MB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007565/0.3772, allocations: 4.426 MB / 477.9 MB, free: 316 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.3772, allocations: 4.125 kB / 477.9 MB, free: 312 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006532/0.3778, allocations: 159.8 kB / 478 MB, free: 152 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002453/0.3803, allocations: 0.8157 MB / 478.8 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.758e-05/0.3804, allocations: 31.98 kB / 478.9 MB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01259/0.3929, allocations: 10.87 MB / 489.7 MB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3929, allocations: 0 / 489.7 MB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005268/0.3982, allocations: 3.224 MB / 493 MB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/0.3994, allocations: 342.8 kB / 493.3 MB, free: 364 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00023/0.3996, allocations: 31.98 kB / 493.3 MB, free: 332 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007729/0.4004, allocations: 63.94 kB / 493.4 MB, free: 268 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003007/0.4007, allocations: 125 kB / 493.5 MB, free: 140 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.573e-05/0.4008, allocations: 43.94 kB / 493.5 MB, free: 96 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001634/0.4024, allocations: 1.056 MB / 494.6 MB, free: 15.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4024, allocations: 0 / 494.6 MB, free: 15.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001824/0.4042, allocations: 0.5156 MB / 495.1 MB, free: 14.52 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * Array equations: 0 * 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 {(2,29,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.00558/0.4098, allocations: 3.867 MB / 499 MB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003642/0.4134, allocations: 2.353 MB / 0.4896 GB, free: 8.191 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.4134, allocations: 0 / 0.4896 GB, free: 8.191 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00241/0.4158, allocations: 1.598 MB / 0.4912 GB, free: 6.543 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002188/0.418, allocations: 0.5042 MB / 0.4916 GB, free: 6.039 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02736/0.4454, allocations: 17.63 MB / 0.5089 GB, free: 4.086 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001793/0.4472, allocations: 1.474 MB / 0.5103 GB, free: 2.562 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001025/0.4482, allocations: 309.5 kB / 0.5106 GB, free: 2.254 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/0.4493, allocations: 0.7844 MB / 0.5114 GB, free: 1.473 MB / 430.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4493, allocations: 0 / 0.5114 GB, free: 1.473 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3164/0.7658, allocations: 53.19 MB / 0.5633 GB, free: 149.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.61/15.37, allocations: 7.578 kB / 0.5633 GB, free: 149.7 MB / 478.1 MB " [Timeout remaining time 644] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable transformer1.l2sigma.inductor[1].i in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.csv. Warning: Get data of variable transformer1.l2sigma.inductor[1].i from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,cDC1.v,cDC2.v,transformer1.l2sigma.inductor[1].i,transformer1.l2sigma.inductor[3].i Variables in the result:time,cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i [Calling sys.exit(0), Time elapsed: 17.956765425857157]