Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 104.7 kB / 17.06 MB, free: 6.027 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.001655/0.001655, allocations: 196 kB / 18 MB, free: 5.105 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.97/1.97, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 43.88 kB / 350.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3853, allocations: 49.44 MB / 400.3 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.01034/0.3957, allocations: 4.553 MB / 404.8 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003589/0.3993, allocations: 1.209 MB / 406 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005104/0.3998, allocations: 23.94 kB / 406 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005124/0.4004, allocations: 162.6 kB / 406.2 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001313/0.4018, allocations: 354.1 kB / 406.5 MB, free: 2.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005802/0.4023, allocations: 187.7 kB / 406.7 MB, free: 2.297 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002236/0.4046, allocations: 1.611 MB / 408.3 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001793/0.4064, allocations: 1.106 MB / 409.4 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001318/0.4077, allocations: 0.6774 MB / 410.1 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001788/0.4096, allocations: 0.8523 MB / 411 MB, free: 14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003497/0.4099, allocations: 176 kB / 411.1 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003885/0.4103, allocations: 172 kB / 411.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00057/0.4109, allocations: 482.7 kB / 411.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00119/0.4121, allocations: 0.7894 MB / 412.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002978/0.4151, allocations: 2.251 MB / 414.8 MB, free: 10.13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.4151, allocations: 0 / 414.8 MB, free: 10.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4151, allocations: 0 / 414.8 MB, free: 10.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.499e-05/0.4152, allocations: 4 kB / 414.8 MB, free: 10.13 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.004871/0.4201, allocations: 1.764 MB / 416.6 MB, free: 8.312 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/0.4201, allocations: 19.89 kB / 416.6 MB, free: 8.293 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002839/0.4204, allocations: 164.8 kB / 416.8 MB, free: 8.121 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003669/0.4208, allocations: 151.1 kB / 416.9 MB, free: 7.973 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002318/0.4231, allocations: 0.989 MB / 417.9 MB, free: 6.938 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.87e-05/0.4232, allocations: 78.44 kB / 418 MB, free: 6.859 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002572/0.4235, allocations: 103.9 kB / 418.1 MB, free: 6.758 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003756/0.4273, allocations: 1.557 MB / 419.6 MB, free: 5.145 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.487e-05/0.4274, allocations: 3.938 kB / 419.6 MB, free: 5.141 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001608/0.4275, allocations: 47.97 kB / 419.7 MB, free: 5.094 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.467e-05/0.4276, allocations: 46.03 kB / 419.7 MB, free: 5.047 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003661/0.4313, allocations: 1.433 MB / 421.2 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01064/0.442, allocations: 4.89 MB / 426.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002513/0.4445, allocations: 1.444 MB / 427.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001867/0.4464, allocations: 0.7389 MB / 428.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.087e-05/0.4465, allocations: 8.562 kB / 428.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001477/0.448, allocations: 0.6161 MB / 428.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 3.947e-06/0.448, allocations: 0 / 428.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.008957/0.457, allocations: 2.431 MB / 431.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.4571, allocations: 85.77 kB / 431.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001921/0.4591, allocations: 0.9344 MB / 432.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001187/0.4592, allocations: 45.69 kB / 432.4 MB, free: 8.031 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006595/0.4599, allocations: 0.5269 MB / 432.9 MB, free: 7.496 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003212/0.4602, allocations: 228.8 kB / 433.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003377/0.4606, allocations: 138.6 kB / 433.3 MB, free: 7.129 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.4608, allocations: 333.9 kB / 433.6 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.4618, allocations: 409.7 kB / 434 MB, free: 6.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/0.463, allocations: 0.5524 MB / 434.5 MB, free: 5.785 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002278/0.4653, allocations: 0.958 MB / 435.5 MB, free: 4.773 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.538e-05/0.4654, allocations: 4 kB / 435.5 MB, free: 4.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003505/0.4689, allocations: 1.28 MB / 436.8 MB, free: 3.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.665e-05/0.4689, allocations: 8 kB / 436.8 MB, free: 3.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.469, allocations: 4 kB / 436.8 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001462/0.4704, allocations: 408.1 kB / 437.2 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008105/0.4713, allocations: 111.8 kB / 437.3 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008666/0.48, allocations: 4.504 MB / 441.8 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.4811, allocations: 79.48 kB / 441.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001653/0.4813, allocations: 24 kB / 441.9 MB, free: 14.21 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.001289/0.4826, allocations: 495.1 kB / 442.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003866/0.483, allocations: 94.86 kB / 442.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003968/0.4835, allocations: 120.5 kB / 442.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.4835, allocations: 11.94 kB / 442.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.4835, allocations: 0 / 442.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/0.4835, allocations: 7.969 kB / 442.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006832/0.4904, allocations: 2.594 MB / 445.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.4904, allocations: 0 / 445.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006878/0.4911, allocations: 83.88 kB / 445.3 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001329/0.4925, allocations: 400.9 kB / 445.7 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.166e-05/0.4926, allocations: 12 kB / 445.7 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008475/0.5011, allocations: 4.462 MB / 450.2 MB, free: 5.734 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.5011, allocations: 4 kB / 450.2 MB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004764/0.5059, allocations: 1.963 MB / 452.1 MB, free: 3.746 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009564/0.5069, allocations: 287.8 kB / 452.4 MB, free: 3.445 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003022/0.5072, allocations: 12 kB / 452.4 MB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008491/0.5081, allocations: 47.94 kB / 452.5 MB, free: 3.387 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000331/0.5084, allocations: 72.55 kB / 452.5 MB, free: 3.316 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.509e-05/0.5085, allocations: 27.92 kB / 452.6 MB, free: 3.289 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001542/0.5101, allocations: 0.6669 MB / 453.2 MB, free: 2.629 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5101, allocations: 4 kB / 453.2 MB, free: 2.625 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001668/0.5118, allocations: 350.9 kB / 453.6 MB, free: 2.281 MB / 366.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.004954/0.5167, allocations: 2.526 MB / 456.1 MB, free: 15.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003332/0.5201, allocations: 1.284 MB / 457.4 MB, free: 14.42 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.5201, allocations: 0 / 457.4 MB, free: 14.42 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001903/0.522, allocations: 0.7986 MB / 458.2 MB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002006/0.5241, allocations: 267.2 kB / 458.4 MB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02629/0.5504, allocations: 10.71 MB / 469.1 MB, free: 2.418 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001694/0.5521, allocations: 1.388 MB / 470.5 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000771/0.5529, allocations: 171.3 kB / 470.7 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000839/0.5538, allocations: 415.3 kB / 471.1 MB, free: 428 kB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.5538, allocations: 0 / 471.1 MB, free: 428 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09298/0.6468, allocations: 28.95 MB / 0.4883 GB, free: 3.926 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/13.73, allocations: 15.09 kB / 0.4884 GB, free: 3.914 MB / 414.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches