Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001576/0.001576, allocations: 121.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001253/0.001253, allocations: 204.6 kB / 18.74 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 59.91 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2464, allocations: 50.54 MB / 408.8 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005504/0.2519, allocations: 4.604 MB / 413.4 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002694/0.2547, allocations: 1.298 MB / 414.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006387/0.2553, allocations: 27.88 kB / 414.7 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004665/0.2558, allocations: 162.6 kB / 414.9 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001189/0.257, allocations: 354 kB / 415.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006096/0.2577, allocations: 211.6 kB / 415.4 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001876/0.2595, allocations: 1.623 MB / 417 MB, free: 9.234 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001166/0.2607, allocations: 1.106 MB / 418.1 MB, free: 8.082 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008345/0.2616, allocations: 0.7008 MB / 418.8 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.2627, allocations: 0.8522 MB / 419.7 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002245/0.2629, allocations: 176 kB / 419.9 MB, free: 6.352 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002711/0.2632, allocations: 180 kB / 420 MB, free: 6.176 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003728/0.2636, allocations: 474.7 kB / 420.5 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007807/0.2643, allocations: 0.8011 MB / 421.3 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001994/0.2664, allocations: 2.278 MB / 423.6 MB, free: 2.621 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.2664, allocations: 0 / 423.6 MB, free: 2.621 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.021e-06/0.2664, allocations: 0 / 423.6 MB, free: 2.621 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.117e-05/0.2664, allocations: 0 / 423.6 MB, free: 2.621 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.003086/0.2695, allocations: 1.793 MB / 425.4 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.2696, allocations: 12.03 kB / 425.4 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002102/0.2698, allocations: 164.8 kB / 425.5 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006901/0.2705, allocations: 207.1 kB / 425.7 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.2719, allocations: 1.028 MB / 426.8 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.893e-05/0.272, allocations: 82.38 kB / 426.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.2721, allocations: 111.9 kB / 427 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002326/0.2744, allocations: 1.553 MB / 428.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/0.2745, allocations: 11.84 kB / 428.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.2746, allocations: 40 kB / 428.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.895e-05/0.2746, allocations: 50.03 kB / 428.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00213/0.2768, allocations: 1.433 MB / 430.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006285/0.2831, allocations: 4.894 MB / 434.9 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.2847, allocations: 1.446 MB / 436.4 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001192/0.2859, allocations: 0.7351 MB / 437.1 MB, free: 4.598 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.416e-05/0.286, allocations: 12.48 kB / 437.1 MB, free: 4.586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009435/0.2869, allocations: 0.6122 MB / 437.8 MB, free: 3.961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.334e-06/0.2869, allocations: 4 kB / 437.8 MB, free: 3.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.005313/0.2923, allocations: 2.439 MB / 440.2 MB, free: 1.484 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.2923, allocations: 85.77 kB / 440.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.2935, allocations: 0.9658 MB / 441.2 MB, free: 416 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.525e-05/0.2936, allocations: 37.7 kB / 441.3 MB, free: 372 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004358/0.294, allocations: 0.5386 MB / 441.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/0.2942, allocations: 236.6 kB / 442.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002069/0.2944, allocations: 134.6 kB / 442.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.2946, allocations: 334 kB / 442.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006613/0.2952, allocations: 413.7 kB / 442.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007352/0.296, allocations: 0.5485 MB / 443.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/0.2973, allocations: 0.9542 MB / 444.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2973, allocations: 0 / 444.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001975/0.2993, allocations: 1.292 MB / 445.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.2993, allocations: 8 kB / 445.7 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.2994, allocations: 4 kB / 445.7 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008327/0.3002, allocations: 403.2 kB / 446.1 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004688/0.3007, allocations: 111.8 kB / 446.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005175/0.3059, allocations: 4.502 MB / 450.7 MB, free: 6.637 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005454/0.3064, allocations: 75.48 kB / 450.8 MB, free: 6.562 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.865e-05/0.3065, allocations: 28 kB / 450.8 MB, free: 6.535 MB / 366.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: 15 (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_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 {(6,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0006861/0.3072, allocations: 0.499 MB / 451.3 MB, free: 6.023 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.3073, allocations: 102.8 kB / 451.4 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002071/0.3075, allocations: 116.8 kB / 451.5 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.3075, allocations: 12 kB / 451.5 MB, free: 5.793 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.3076, allocations: 0 / 451.5 MB, free: 5.793 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.3076, allocations: 7.969 kB / 451.6 MB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003672/0.3112, allocations: 2.591 MB / 454.1 MB, free: 3.129 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3113, allocations: 0 / 454.1 MB, free: 3.129 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004214/0.3117, allocations: 83.88 kB / 454.2 MB, free: 3.047 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007996/0.3125, allocations: 400.4 kB / 454.6 MB, free: 2.652 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.787e-05/0.3126, allocations: 12.12 kB / 454.6 MB, free: 2.641 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005097/0.3177, allocations: 4.475 MB / 459.1 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3177, allocations: 3.938 kB / 459.1 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002854/0.3206, allocations: 1.959 MB / 461.1 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004749/0.321, allocations: 291.7 kB / 461.4 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/0.3212, allocations: 19.98 kB / 461.4 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004595/0.3217, allocations: 35.95 kB / 461.4 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001809/0.3219, allocations: 76.55 kB / 461.5 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-05/0.3219, allocations: 23.92 kB / 461.5 MB, free: 11.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009689/0.3229, allocations: 0.6903 MB / 462.2 MB, free: 10.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3229, allocations: 0 / 462.2 MB, free: 10.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000987/0.3239, allocations: 350.9 kB / 462.5 MB, free: 10.55 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.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 (45): * Single equations (assignments): 41 * 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 {(6,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003203/0.3271, allocations: 2.53 MB / 465.1 MB, free: 7.988 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002157/0.3293, allocations: 1.287 MB / 466.4 MB, free: 6.688 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3293, allocations: 0 / 466.4 MB, free: 6.688 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001235/0.3306, allocations: 0.8112 MB / 467.2 MB, free: 5.867 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.3318, allocations: 254.7 kB / 467.4 MB, free: 5.617 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01726/0.3491, allocations: 10.86 MB / 478.3 MB, free: 10.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001179/0.3503, allocations: 1.392 MB / 479.7 MB, free: 9.102 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004838/0.3508, allocations: 175.4 kB / 479.8 MB, free: 8.926 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005665/0.3514, allocations: 427.3 kB / 480.3 MB, free: 8.508 MB / 398.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3514, allocations: 0 / 480.3 MB, free: 8.508 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06456/0.416, allocations: 29.32 MB / 0.4976 GB, free: 11.55 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/12.99, allocations: 11.62 kB / 0.4977 GB, free: 11.55 MB / 430.1 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches