Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001614/0.001614, allocations: 112.5 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001938/0.001938, allocations: 212.3 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.545/1.545, allocations: 230.5 MB / 257.4 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 67.89 kB / 377.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2818, allocations: 53.42 MB / 431.2 MB, free: 6.812 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008858/0.2907, allocations: 6.976 MB / 438.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005427/0.2961, allocations: 2.355 MB / 440.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00119/0.2973, allocations: 63.56 kB / 440.6 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00139/0.2987, allocations: 468.9 kB / 441.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002179/0.3008, allocations: 0.707 MB / 441.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006291/0.3015, allocations: 283.6 kB / 442 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003347/0.3048, allocations: 2.879 MB / 444.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001949/0.3068, allocations: 1.367 MB / 446.3 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0027/0.3095, allocations: 1.38 MB / 447.7 MB, free: 6.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002849/0.3123, allocations: 1.584 MB / 449.2 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007666/0.3131, allocations: 352 kB / 449.6 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.3143, allocations: 439.8 kB / 450 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009701/0.3153, allocations: 0.9037 MB / 450.9 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002219/0.3175, allocations: 1.54 MB / 452.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00561/0.3231, allocations: 4.657 MB / 457.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.899e-06/0.3231, allocations: 4 kB / 457.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3231, allocations: 0 / 457.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001147/0.3232, allocations: 0 / 457.1 MB, free: 12.75 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: 585 * Number of variables: 585 Notification: Performance of Generate backend data structure: time 0.006775/0.33, allocations: 2.983 MB / 460.1 MB, free: 9.715 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.33, allocations: 12.03 kB / 460.1 MB, free: 9.703 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004873/0.3305, allocations: 325.1 kB / 460.4 MB, free: 9.375 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.3316, allocations: 351.1 kB / 460.8 MB, free: 9.031 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003246/0.3349, allocations: 1.623 MB / 462.4 MB, free: 7.363 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001383/0.335, allocations: 168.3 kB / 462.6 MB, free: 7.195 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003434/0.3353, allocations: 219.9 kB / 462.8 MB, free: 6.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005641/0.341, allocations: 3.206 MB / 466 MB, free: 3.688 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.124e-05/0.341, allocations: 0 / 466 MB, free: 3.688 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002052/0.3412, allocations: 91.98 kB / 466.1 MB, free: 3.598 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001335/0.3414, allocations: 128.4 kB / 466.2 MB, free: 3.469 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004718/0.3461, allocations: 2.75 MB / 469 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0149/0.361, allocations: 9.044 MB / 478 MB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003006/0.364, allocations: 1.946 MB / 479.9 MB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00199/0.366, allocations: 1.219 MB / 481.2 MB, free: 4.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002275/0.3662, allocations: 49.28 kB / 481.2 MB, free: 4.223 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.851e-05/0.3663, allocations: 47.86 kB / 481.3 MB, free: 4.164 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 5.39e-06/0.3663, allocations: 3.984 kB / 481.3 MB, free: 4.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01131/0.3776, allocations: 5.321 MB / 486.6 MB, free: 14.8 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.3776, allocations: 64.72 kB / 486.6 MB, free: 14.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002476/0.3801, allocations: 1.495 MB / 488.1 MB, free: 13.21 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001365/0.3802, allocations: 53.7 kB / 488.2 MB, free: 13.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008682/0.3811, allocations: 0.9744 MB / 489.2 MB, free: 12.17 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004776/0.3816, allocations: 464 kB / 489.6 MB, free: 11.71 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003972/0.382, allocations: 226.9 kB / 489.8 MB, free: 11.49 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.3822, allocations: 357.9 kB / 490.2 MB, free: 11.13 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/0.3834, allocations: 0.6935 MB / 490.9 MB, free: 10.44 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001376/0.3847, allocations: 0.8629 MB / 491.7 MB, free: 9.527 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002442/0.3872, allocations: 1.605 MB / 493.4 MB, free: 7.875 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.3872, allocations: 0 / 493.4 MB, free: 7.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004291/0.3915, allocations: 2.291 MB / 495.6 MB, free: 5.562 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.3915, allocations: 7.938 kB / 495.7 MB, free: 5.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.3915, allocations: 4 kB / 495.7 MB, free: 5.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002746/0.3943, allocations: 0.8267 MB / 496.5 MB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000898/0.3952, allocations: 203.7 kB / 496.7 MB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01339/0.4086, allocations: 11.07 MB / 0.4959 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.4097, allocations: 51.91 kB / 0.4959 GB, free: 8.941 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.032e-05/0.4098, allocations: 40 kB / 0.4959 GB, free: 8.902 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.001412/0.4112, allocations: 0.8319 MB / 0.4968 GB, free: 8.062 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003491/0.4115, allocations: 167 kB / 0.4969 GB, free: 7.898 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004011/0.4155, allocations: 2.257 MB / 0.4991 GB, free: 5.613 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/0.4155, allocations: 12 kB / 0.4991 GB, free: 5.602 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.4155, allocations: 4 kB / 0.4991 GB, free: 5.598 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-05/0.4156, allocations: 11.97 kB / 0.4991 GB, free: 5.586 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008271/0.4238, allocations: 4.695 MB / 0.5037 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.4239, allocations: 4 kB / 0.5037 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006857/0.4245, allocations: 151.8 kB / 0.5039 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002639/0.4272, allocations: 0.8156 MB / 0.5047 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/0.4273, allocations: 31.98 kB / 0.5047 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01347/0.4408, allocations: 10.97 MB / 0.5154 GB, free: 4.363 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4408, allocations: 0 / 0.5154 GB, free: 4.363 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00556/0.4463, allocations: 3.213 MB / 0.5186 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/0.4474, allocations: 346.9 kB / 0.5189 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001962/0.4476, allocations: 31.94 kB / 0.5189 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007241/0.4483, allocations: 67.94 kB / 0.519 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003021/0.4486, allocations: 125 kB / 0.5191 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.234e-05/0.4487, allocations: 32 kB / 0.5191 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00159/0.4503, allocations: 1.064 MB / 0.5202 GB, free: 15.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4503, allocations: 4 kB / 0.5202 GB, free: 15.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001927/0.4522, allocations: 0.5156 MB / 0.5207 GB, free: 14.92 MB / 446.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.005918/0.4581, allocations: 3.884 MB / 0.5245 GB, free: 11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004292/0.4624, allocations: 2.35 MB / 0.5268 GB, free: 8.594 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.4624, allocations: 0 / 0.5268 GB, free: 8.594 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002549/0.465, allocations: 1.577 MB / 0.5283 GB, free: 6.969 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002324/0.4673, allocations: 0.5027 MB / 0.5288 GB, free: 6.473 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2495/0.7168, allocations: 17.69 MB / 0.5461 GB, free: 97.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001364/0.7182, allocations: 2.053 MB / 0.5481 GB, free: 96.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007947/0.719, allocations: 310.2 kB / 0.5484 GB, free: 96.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007607/0.7197, allocations: 0.7809 MB / 0.5491 GB, free: 95.46 MB / 446.1 MB Notification: Performance of SimCode: time 1.243e-06/0.7197, allocations: 0 / 0.5491 GB, free: 95.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09397/0.8137, allocations: 52.08 MB / 0.6 GB, free: 45.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.31/17.13, allocations: 11.88 kB / 0.6 GB, free: 45.93 MB / 446.1 MB " [Timeout remaining time 643] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.csv. Warning: Get data of variable transformer1.l2sigma.inductor[1].i from file Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.91836272100045]