Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 107.9 kB / 16.92 MB, free: 5.785 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 191.3 kB / 17.85 MB, free: 5.164 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 241.6 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009997/0.0009998, allocations: 50.42 kB / 300.7 MB, free: 5.754 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08324/0.08426, allocations: 49.44 MB / 350.2 MB, free: 4.301 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005035/0.08934, allocations: 3.647 MB / 353.8 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002047/0.09141, allocations: 1.013 MB / 354.8 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003612/0.09179, allocations: 15.88 kB / 354.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002966/0.0921, allocations: 103.1 kB / 355 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007406/0.09287, allocations: 230.7 kB / 355.2 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003119/0.09319, allocations: 143.7 kB / 355.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009547/0.09416, allocations: 0.9418 MB / 356.3 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007059/0.09487, allocations: 0.5967 MB / 356.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005046/0.09539, allocations: 406.6 kB / 357.3 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007297/0.09613, allocations: 0.4902 MB / 357.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001726/0.09631, allocations: 100 kB / 357.9 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001801/0.0965, allocations: 104 kB / 358 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002541/0.09676, allocations: 275.2 kB / 358.2 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005638/0.09733, allocations: 481.8 kB / 358.7 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.09838, allocations: 1.269 MB / 360 MB, free: 10.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.09839, allocations: 0 / 360 MB, free: 10.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.0984, allocations: 0 / 360 MB, free: 10.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.86e-05/0.09844, allocations: 3.938 kB / 360 MB, free: 10.46 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002157/0.1006, allocations: 1.169 MB / 361.1 MB, free: 9.234 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.1007, allocations: 11.89 kB / 361.1 MB, free: 9.223 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001549/0.1008, allocations: 114.7 kB / 361.3 MB, free: 9.102 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.101, allocations: 95.81 kB / 361.4 MB, free: 9.008 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008185/0.1018, allocations: 0.6194 MB / 362 MB, free: 8.348 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.584e-05/0.1019, allocations: 49.31 kB / 362 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.981e-05/0.102, allocations: 64 kB / 362.1 MB, free: 8.238 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.1034, allocations: 0.915 MB / 363 MB, free: 7.301 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.1034, allocations: 4 kB / 363 MB, free: 7.297 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-05/0.1035, allocations: 31.98 kB / 363 MB, free: 7.266 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.032e-05/0.1035, allocations: 33.3 kB / 363.1 MB, free: 7.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.1049, allocations: 0.7936 MB / 363.9 MB, free: 6.438 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00377/0.1087, allocations: 2.795 MB / 366.7 MB, free: 3.539 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009365/0.1096, allocations: 0.7567 MB / 367.4 MB, free: 2.723 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005516/0.1102, allocations: 349.1 kB / 367.8 MB, free: 2.379 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.1102, allocations: 8.312 kB / 367.8 MB, free: 2.371 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005841/0.1108, allocations: 381.9 kB / 368.1 MB, free: 1.977 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.134e-06/0.1109, allocations: 0 / 368.1 MB, free: 1.977 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002839/0.1137, allocations: 1.228 MB / 369.4 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.394e-05/0.1138, allocations: 114.8 kB / 369.5 MB, free: 0.582 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006298/0.1144, allocations: 0.5644 MB / 370 MB, free: 8 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.1434/0.2578, allocations: 37.61 kB / 370.1 MB, free: 25.8 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003075/0.2581, allocations: 353.8 kB / 370.4 MB, free: 25.71 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.2582, allocations: 135.9 kB / 370.6 MB, free: 25.64 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.2584, allocations: 93.17 kB / 370.6 MB, free: 25.62 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.385e-05/0.2585, allocations: 367 kB / 371 MB, free: 25.31 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003995/0.2589, allocations: 216.7 kB / 371.2 MB, free: 25.3 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004/0.2593, allocations: 359.2 kB / 371.6 MB, free: 25.15 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007244/0.26, allocations: 0.5671 MB / 372.1 MB, free: 25.01 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.26, allocations: 1.781 kB / 372.1 MB, free: 25.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001213/0.2613, allocations: 0.7622 MB / 372.9 MB, free: 24.71 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.2613, allocations: 7.125 kB / 372.9 MB, free: 24.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.2613, allocations: 8.016 kB / 372.9 MB, free: 24.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004735/0.2618, allocations: 203.4 kB / 373.1 MB, free: 24.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003055/0.2621, allocations: 74.36 kB / 373.2 MB, free: 24.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002774/0.2649, allocations: 3.032 MB / 376.2 MB, free: 22.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003297/0.2652, allocations: 55.52 kB / 376.3 MB, free: 22.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.203e-05/0.2653, allocations: 18.64 kB / 376.3 MB, free: 22.41 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003427/0.2656, allocations: 331.3 kB / 376.6 MB, free: 22.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.006e-05/0.2657, allocations: 55.55 kB / 376.7 MB, free: 22.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.2658, allocations: 73.55 kB / 376.7 MB, free: 22.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2658, allocations: 5.5 kB / 376.7 MB, free: 22.14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.2658, allocations: 0 / 376.7 MB, free: 22.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.2658, allocations: 3.859 kB / 376.7 MB, free: 22.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002242/0.2681, allocations: 1.743 MB / 378.5 MB, free: 21.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.2681, allocations: 1.75 kB / 378.5 MB, free: 21.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.2683, allocations: 54.75 kB / 378.5 MB, free: 21.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003848/0.2687, allocations: 192.7 kB / 378.7 MB, free: 21.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-05/0.2688, allocations: 8.859 kB / 378.7 MB, free: 21.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002456/0.2712, allocations: 2.912 MB / 381.6 MB, free: 19.06 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2713, allocations: 0 / 381.6 MB, free: 19.06 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/0.2729, allocations: 1.145 MB / 382.8 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001919/0.2731, allocations: 199.9 kB / 383 MB, free: 18.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.364e-05/0.2731, allocations: 8.938 kB / 383 MB, free: 18.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002843/0.2734, allocations: 26.33 kB / 383 MB, free: 18.37 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.2735, allocations: 40.36 kB / 383.1 MB, free: 18.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.2736, allocations: 15.34 kB / 383.1 MB, free: 18.36 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004334/0.274, allocations: 419.7 kB / 383.5 MB, free: 18.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.274, allocations: 0 / 383.5 MB, free: 18.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006442/0.2747, allocations: 204.3 kB / 383.7 MB, free: 18.12 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001813/0.2765, allocations: 1.71 MB / 385.4 MB, free: 17.06 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001241/0.2778, allocations: 0.7754 MB / 386.2 MB, free: 16.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.2778, allocations: 1.031 kB / 386.2 MB, free: 16.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005995/0.2784, allocations: 484.8 kB / 386.6 MB, free: 16.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006713/0.2791, allocations: 144.2 kB / 386.8 MB, free: 16.44 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007368/0.2864, allocations: 6.716 MB / 393.5 MB, free: 12.58 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004596/0.2869, allocations: 1.074 MB / 394.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002603/0.2872, allocations: 96.72 kB / 394.7 MB, free: 11.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000247/0.2874, allocations: 240 kB / 394.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2874, allocations: 0 / 394.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03368/0.3211, allocations: 16.1 MB / 411 MB, free: 12.77 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.5, allocations: 12.47 kB / 411 MB, free: 12.76 MB / 318.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches