Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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 3.2.3+maint.om/package.mo", uses=false) 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.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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",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.001088/0.001088, allocations: 110.4 kB / 17.73 MB, free: 5.34 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.001063/0.001063, allocations: 183.1 kB / 18.66 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 51.92 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08401/0.08528, allocations: 46.62 MB / 374.7 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004758/0.09008, allocations: 3.413 MB / 378.1 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.09184, allocations: 0.8808 MB / 379 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003937/0.09226, allocations: 7.938 kB / 379 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002787/0.09261, allocations: 63.36 kB / 379 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004534/0.09307, allocations: 130.8 kB / 379.1 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004224/0.09351, allocations: 135.8 kB / 379.3 MB, free: 432 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1844/0.2779, allocations: 0.503 MB / 379.8 MB, free: 9.301 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004279/0.2784, allocations: 173.6 kB / 380 MB, free: 9.285 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003696/0.2788, allocations: 194.8 kB / 380.1 MB, free: 9.281 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002668/0.2791, allocations: 216.2 kB / 380.4 MB, free: 9.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.788e-05/0.2791, allocations: 47.47 kB / 380.4 MB, free: 9.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.564e-05/0.2792, allocations: 45 kB / 380.4 MB, free: 9.23 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.241e-05/0.2793, allocations: 104.8 kB / 380.5 MB, free: 9.215 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.2795, allocations: 224.6 kB / 380.8 MB, free: 9.152 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006014/0.2801, allocations: 0.5164 MB / 381.3 MB, free: 9.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2802, allocations: 3.938 kB / 381.3 MB, free: 9.066 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2802, allocations: 0 / 381.3 MB, free: 9.066 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.2802, allocations: 2 kB / 381.3 MB, free: 9.066 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001132/0.2813, allocations: 0.7318 MB / 382 MB, free: 8.555 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.2814, allocations: 13.17 kB / 382 MB, free: 8.551 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.874e-05/0.2815, allocations: 78.72 kB / 382.1 MB, free: 8.512 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.2816, allocations: 50.72 kB / 382.2 MB, free: 8.488 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004021/0.282, allocations: 333.2 kB / 382.5 MB, free: 8.254 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/0.282, allocations: 32.48 kB / 382.5 MB, free: 8.254 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.549e-05/0.2821, allocations: 43.77 kB / 382.6 MB, free: 8.25 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007628/0.2829, allocations: 384.5 kB / 382.9 MB, free: 8.168 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.2829, allocations: 2.125 kB / 382.9 MB, free: 8.168 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.412e-05/0.2829, allocations: 11.47 kB / 382.9 MB, free: 8.168 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.283, allocations: 9.125 kB / 383 MB, free: 8.168 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005185/0.2835, allocations: 260.6 kB / 383.2 MB, free: 8.16 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/0.2854, allocations: 1.468 MB / 384.7 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004667/0.2859, allocations: 238.6 kB / 384.9 MB, free: 7.383 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003845/0.2862, allocations: 171.4 kB / 385.1 MB, free: 7.371 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.2863, allocations: 4.484 kB / 385.1 MB, free: 7.371 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003896/0.2867, allocations: 224.8 kB / 385.3 MB, free: 7.277 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.673e-06/0.2867, allocations: 4 kB / 385.3 MB, free: 7.273 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.0015/0.2882, allocations: 0.5816 MB / 385.9 MB, free: 7.004 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.2883, allocations: 111.3 kB / 386 MB, free: 6.875 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003241/0.2886, allocations: 296.5 kB / 386.3 MB, free: 6.711 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.2886, allocations: 36.53 kB / 386.3 MB, free: 6.672 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.2887, allocations: 214.1 kB / 386.5 MB, free: 6.496 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.071e-05/0.2888, allocations: 101.6 kB / 386.6 MB, free: 6.418 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.892e-05/0.2889, allocations: 75.88 kB / 386.7 MB, free: 6.367 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.442e-05/0.289, allocations: 341.9 kB / 387 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.2892, allocations: 95.92 kB / 387.1 MB, free: 6.008 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002519/0.2894, allocations: 224.8 kB / 387.4 MB, free: 5.812 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004127/0.2899, allocations: 323.7 kB / 387.7 MB, free: 5.578 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.2899, allocations: 1.156 kB / 387.7 MB, free: 5.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000651/0.2905, allocations: 413.7 kB / 388.1 MB, free: 5.414 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.2906, allocations: 7.547 kB / 388.1 MB, free: 5.414 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.2906, allocations: 4.781 kB / 388.1 MB, free: 5.414 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003029/0.2909, allocations: 87.69 kB / 388.2 MB, free: 5.383 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.2911, allocations: 58.97 kB / 388.2 MB, free: 5.379 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001751/0.2929, allocations: 2 MB / 390.2 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002683/0.2932, allocations: 32.16 kB / 390.3 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.631e-05/0.2932, allocations: 17.06 kB / 390.3 MB, free: 3.59 MB / 318.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: 11 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_n.off,rectifier.diode_p.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001611/0.2934, allocations: 173.4 kB / 390.4 MB, free: 3.438 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.165e-05/0.2934, allocations: 41.25 kB / 390.5 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.038e-05/0.2935, allocations: 37.45 kB / 390.5 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.2935, allocations: 8.5 kB / 390.5 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2935, allocations: 2.156 kB / 390.5 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.2935, allocations: 2.297 kB / 390.5 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005948/0.2941, allocations: 0.5611 MB / 391.1 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2941, allocations: 1.062 kB / 391.1 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.2943, allocations: 35.48 kB / 391.1 MB, free: 2.957 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002266/0.2946, allocations: 75.66 kB / 391.2 MB, free: 2.93 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/0.2946, allocations: 10.25 kB / 391.2 MB, free: 2.926 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001758/0.2964, allocations: 1.994 MB / 393.2 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2964, allocations: 0 / 393.2 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009283/0.2973, allocations: 0.4976 MB / 393.7 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.2975, allocations: 141.9 kB / 393.8 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.123e-05/0.2975, allocations: 12.91 kB / 393.9 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.2977, allocations: 17.47 kB / 393.9 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.946e-05/0.2978, allocations: 32 kB / 393.9 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/0.2978, allocations: 9.266 kB / 393.9 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002421/0.2981, allocations: 211.4 kB / 394.1 MB, free: 0.625 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2981, allocations: 0 / 394.1 MB, free: 0.625 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005449/0.2987, allocations: 113.7 kB / 394.2 MB, free: 0.5977 MB / 318.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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001394/0.3001, allocations: 1.042 MB / 395.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008314/0.3009, allocations: 415 kB / 395.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3009, allocations: 0 / 395.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004098/0.3013, allocations: 294.5 kB / 396 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.3017, allocations: 60.31 kB / 396 MB, free: 15.4 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00457/0.3063, allocations: 3.41 MB / 399.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.3067, allocations: 0.8008 MB / 400.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001475/0.3069, allocations: 37.77 kB / 400.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.307, allocations: 119.8 kB / 400.4 MB, free: 12.35 MB / 334.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3071, allocations: 0 / 400.4 MB, free: 12.35 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02995/0.337, allocations: 8.275 MB / 408.7 MB, free: 9.379 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.55, allocations: 22.36 kB / 408.7 MB, free: 9.355 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_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_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches