Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001328/0.001328, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 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.001409/0.001409, allocations: 209.3 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.46/1.46, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 52.02 kB / 377.7 MB, free: 2.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2409, allocations: 53.37 MB / 431.1 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008922/0.2498, allocations: 6.149 MB / 437.2 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004731/0.2545, allocations: 2.224 MB / 439.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007799/0.2553, allocations: 63.56 kB / 439.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.2565, allocations: 453 kB / 440 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001821/0.2583, allocations: 0.6915 MB / 440.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005378/0.2589, allocations: 287.6 kB / 440.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003056/0.2619, allocations: 2.84 MB / 443.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001963/0.2639, allocations: 1.371 MB / 445.2 MB, free: 8.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003182/0.2671, allocations: 1.343 MB / 446.5 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002707/0.2698, allocations: 1.58 MB / 448.1 MB, free: 5.664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006298/0.2704, allocations: 351.9 kB / 448.4 MB, free: 5.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.2715, allocations: 443.9 kB / 448.9 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008668/0.2724, allocations: 0.8998 MB / 449.8 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001587/0.274, allocations: 1.245 MB / 451 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005329/0.2793, allocations: 4.664 MB / 455.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.2793, allocations: 0 / 455.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2793, allocations: 0 / 455.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.421e-05/0.2794, allocations: 0 / 455.7 MB, free: 14.05 MB / 366.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.006005/0.2854, allocations: 2.967 MB / 458.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.2855, allocations: 12.03 kB / 458.6 MB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004404/0.2859, allocations: 328.9 kB / 459 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009918/0.2869, allocations: 355.1 kB / 459.3 MB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00325/0.2901, allocations: 1.619 MB / 460.9 MB, free: 8.684 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/0.2903, allocations: 164.4 kB / 461.1 MB, free: 8.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003339/0.2906, allocations: 208 kB / 461.3 MB, free: 8.316 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005076/0.2957, allocations: 3.362 MB / 464.7 MB, free: 4.824 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.337e-05/0.2957, allocations: 3.938 kB / 464.7 MB, free: 4.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002039/0.2959, allocations: 88 kB / 464.7 MB, free: 4.734 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00012/0.296, allocations: 112.4 kB / 464.8 MB, free: 4.621 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004387/0.3004, allocations: 2.727 MB / 467.6 MB, free: 1.879 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01402/0.3145, allocations: 7.959 MB / 475.5 MB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002949/0.3174, allocations: 1.935 MB / 477.5 MB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001964/0.3194, allocations: 1.238 MB / 478.7 MB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002141/0.3196, allocations: 49.28 kB / 478.8 MB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.3196, allocations: 47.81 kB / 478.8 MB, free: 6.496 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.186e-06/0.3196, allocations: 0 / 478.8 MB, free: 6.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.0111/0.3307, allocations: 5.302 MB / 484.1 MB, free: 1.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.3308, allocations: 68.7 kB / 484.2 MB, free: 1.082 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002406/0.3332, allocations: 1.506 MB / 485.7 MB, free: 15.55 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.3333, allocations: 49.7 kB / 485.7 MB, free: 15.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007997/0.3341, allocations: 0.9704 MB / 486.7 MB, free: 14.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003959/0.3345, allocations: 464 kB / 487.2 MB, free: 14.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003511/0.3348, allocations: 222.9 kB / 487.4 MB, free: 13.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.335, allocations: 357.9 kB / 487.7 MB, free: 13.49 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/0.3361, allocations: 0.6896 MB / 488.4 MB, free: 12.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/0.3374, allocations: 0.8659 MB / 489.3 MB, free: 11.88 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002371/0.3398, allocations: 1.604 MB / 490.9 MB, free: 10.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.3398, allocations: 0 / 490.9 MB, free: 10.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003928/0.3437, allocations: 2.295 MB / 493.2 MB, free: 7.914 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.3437, allocations: 7.984 kB / 493.2 MB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.3437, allocations: 4 kB / 493.2 MB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002609/0.3464, allocations: 0.8227 MB / 494 MB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008088/0.3472, allocations: 207.7 kB / 494.2 MB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01318/0.3603, allocations: 10.97 MB / 0.4933 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/0.3615, allocations: 51.95 kB / 0.4934 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.965e-05/0.3616, allocations: 47.92 kB / 0.4934 GB, free: 11.35 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.001423/0.363, allocations: 0.8238 MB / 0.4942 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003259/0.3633, allocations: 175 kB / 0.4944 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003926/0.3672, allocations: 2.253 MB / 0.4966 GB, free: 8.066 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.3672, allocations: 12 kB / 0.4966 GB, free: 8.055 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.3672, allocations: 4 kB / 0.4966 GB, free: 8.051 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.3673, allocations: 3.984 kB / 0.4966 GB, free: 8.047 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008253/0.3755, allocations: 4.438 MB / 0.501 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.3755, allocations: 4 kB / 0.501 GB, free: 3.516 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006571/0.3762, allocations: 151.8 kB / 0.5011 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002526/0.3787, allocations: 0.8039 MB / 0.5019 GB, free: 2.551 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/0.3788, allocations: 28 kB / 0.5019 GB, free: 2.523 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01278/0.3916, allocations: 10.87 MB / 0.5125 GB, free: 7.199 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.309e-06/0.3916, allocations: 3.938 kB / 0.5125 GB, free: 7.195 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005206/0.3968, allocations: 3.217 MB / 0.5157 GB, free: 3.934 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/0.3979, allocations: 342.9 kB / 0.516 GB, free: 3.598 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002182/0.3981, allocations: 31.98 kB / 0.516 GB, free: 3.566 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007517/0.3988, allocations: 67.94 kB / 0.5161 GB, free: 3.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003009/0.3991, allocations: 121.1 kB / 0.5162 GB, free: 3.379 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.709e-05/0.3992, allocations: 35.94 kB / 0.5163 GB, free: 3.344 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001573/0.4008, allocations: 1.068 MB / 0.5173 GB, free: 2.273 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4008, allocations: 0 / 0.5173 GB, free: 2.273 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001858/0.4026, allocations: 0.5156 MB / 0.5178 GB, free: 1.758 MB / 430.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.005828/0.4085, allocations: 3.87 MB / 0.5216 GB, free: 13.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004026/0.4125, allocations: 2.353 MB / 0.5239 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/0.4125, allocations: 4 kB / 0.5239 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002474/0.415, allocations: 1.586 MB / 0.5254 GB, free: 9.797 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002384/0.4174, allocations: 0.5101 MB / 0.5259 GB, free: 9.293 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2245/0.6418, allocations: 17.64 MB / 0.5432 GB, free: 98.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/0.643, allocations: 1.479 MB / 0.5446 GB, free: 98.53 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007173/0.6437, allocations: 307.5 kB / 0.5449 GB, free: 98.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007323/0.6444, allocations: 0.7831 MB / 0.5457 GB, free: 97.87 MB / 446.1 MB Notification: Performance of SimCode: time 8.22e-07/0.6444, allocations: 0 / 0.5457 GB, free: 97.87 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08738/0.7318, allocations: 53.77 MB / 0.5982 GB, free: 47.63 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.64/15.37, allocations: 7.797 kB / 0.5982 GB, free: 47.62 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.csv. Warning: Get data of variable transformer1.l2sigma.inductor[1].i from file Modelica_4.1.0_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: 18.13454135900247]