Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_3_2_3_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.00165/0.00165, allocations: 106.5 kB / 17.73 MB, free: 5.355 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.001884/0.001884, allocations: 187 kB / 18.66 MB, free: 4.434 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.327/1.327, 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.001238/0.001238, allocations: 63.91 kB / 328 MB, free: 3.797 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0846/0.08585, allocations: 46.62 MB / 374.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006043/0.09193, allocations: 4.503 MB / 379.2 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1749/0.2669, allocations: 1.257 MB / 380.4 MB, free: 9.195 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003398/0.2672, allocations: 21.69 kB / 380.4 MB, free: 9.195 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003569/0.2677, allocations: 162 kB / 380.6 MB, free: 9.195 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009198/0.2686, allocations: 348.4 kB / 380.9 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003786/0.269, allocations: 202.1 kB / 381.1 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001437/0.2704, allocations: 1.617 MB / 382.8 MB, free: 8.812 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/0.2715, allocations: 0.9357 MB / 383.7 MB, free: 8.613 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008042/0.2723, allocations: 0.6766 MB / 384.4 MB, free: 8.305 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.2733, allocations: 0.8432 MB / 385.2 MB, free: 7.926 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002129/0.2735, allocations: 174 kB / 385.4 MB, free: 7.926 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002765/0.2738, allocations: 174.4 kB / 385.6 MB, free: 7.926 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004134/0.2742, allocations: 478.6 kB / 386 MB, free: 7.668 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008198/0.2751, allocations: 0.7864 MB / 386.8 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002317/0.2774, allocations: 2.238 MB / 389 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2774, allocations: 0 / 389 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2774, allocations: 1.094 kB / 389 MB, free: 6.379 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.034e-05/0.2775, allocations: 0 / 389 MB, free: 6.379 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.003131/0.2806, allocations: 1.754 MB / 390.8 MB, free: 5.301 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.2806, allocations: 13.48 kB / 390.8 MB, free: 5.297 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002035/0.2809, allocations: 164.4 kB / 391 MB, free: 5.191 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002375/0.2811, allocations: 150.6 kB / 391.1 MB, free: 5.117 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.2824, allocations: 0.9331 MB / 392.1 MB, free: 4.555 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.821e-05/0.2825, allocations: 77.47 kB / 392.1 MB, free: 4.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/0.2827, allocations: 103.5 kB / 392.2 MB, free: 4.488 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002474/0.2852, allocations: 1.545 MB / 393.8 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/0.2852, allocations: 1.641 kB / 393.8 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.2853, allocations: 42.22 kB / 393.8 MB, free: 3.793 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.222e-05/0.2854, allocations: 46.61 kB / 393.9 MB, free: 3.785 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00231/0.2877, allocations: 1.431 MB / 395.3 MB, free: 3.27 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006688/0.2944, allocations: 4.874 MB / 400.2 MB, free: 188 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.2961, allocations: 1.447 MB / 401.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/0.2974, allocations: 0.7418 MB / 402.4 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.675e-05/0.2975, allocations: 9.875 kB / 402.4 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001021/0.2985, allocations: 0.6128 MB / 403 MB, free: 14.3 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.876e-06/0.2985, allocations: 1.125 kB / 403 MB, free: 14.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.005827/0.3043, allocations: 2.413 MB / 405.4 MB, free: 12.97 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.695e-05/0.3044, allocations: 91.3 kB / 405.5 MB, free: 12.88 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/0.306, allocations: 0.9304 MB / 406.4 MB, free: 12.36 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.828e-05/0.3061, allocations: 41.31 kB / 406.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000466/0.3066, allocations: 0.5262 MB / 407 MB, free: 11.86 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002158/0.3068, allocations: 226.4 kB / 407.2 MB, free: 11.67 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002554/0.3071, allocations: 134.5 kB / 407.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3072, allocations: 329.7 kB / 407.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007345/0.3079, allocations: 418.3 kB / 408.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007754/0.3087, allocations: 0.5574 MB / 408.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/0.3101, allocations: 0.9529 MB / 409.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.3101, allocations: 1.094 kB / 409.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00214/0.3122, allocations: 1.285 MB / 410.9 MB, free: 9.363 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.3123, allocations: 6.875 kB / 410.9 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.3123, allocations: 4.125 kB / 410.9 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009013/0.3132, allocations: 409.8 kB / 411.3 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004947/0.3137, allocations: 112.5 kB / 411.4 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005242/0.3189, allocations: 4.487 MB / 415.9 MB, free: 4.891 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006937/0.3197, allocations: 83.41 kB / 415.9 MB, free: 4.809 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.816e-05/0.3197, allocations: 28 kB / 416 MB, free: 4.781 MB / 334.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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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.0007855/0.3205, allocations: 495.2 kB / 416.5 MB, free: 4.289 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002468/0.3208, allocations: 102.8 kB / 416.6 MB, free: 4.188 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002963/0.3211, allocations: 116.5 kB / 416.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.3211, allocations: 4 kB / 416.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.3211, allocations: 8.125 kB / 416.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.3211, allocations: 3.984 kB / 416.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004433/0.3256, allocations: 2.586 MB / 419.3 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.3256, allocations: 7.938 kB / 419.3 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004408/0.326, allocations: 83.88 kB / 419.4 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008242/0.3269, allocations: 392.8 kB / 419.7 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.775e-05/0.327, allocations: 8 kB / 419.8 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00523/0.3322, allocations: 4.467 MB / 424.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3322, allocations: 0 / 424.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003/0.3352, allocations: 1.958 MB / 426.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006269/0.3359, allocations: 287.7 kB / 426.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002712/0.3361, allocations: 16 kB / 426.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005776/0.3367, allocations: 43.94 kB / 426.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002152/0.337, allocations: 76.55 kB / 426.6 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.875e-05/0.337, allocations: 28.11 kB / 426.6 MB, free: 9.891 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001128/0.3382, allocations: 0.6747 MB / 427.3 MB, free: 9.219 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3382, allocations: 0 / 427.3 MB, free: 9.219 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001234/0.3394, allocations: 343 kB / 427.6 MB, free: 8.883 MB / 350.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,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.003259/0.3427, allocations: 2.529 MB / 430.2 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002271/0.345, allocations: 1.277 MB / 431.4 MB, free: 5.031 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.345, allocations: 4.062 kB / 431.4 MB, free: 5.027 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.3462, allocations: 0.8024 MB / 432.2 MB, free: 4.215 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.3475, allocations: 252.3 kB / 432.5 MB, free: 3.977 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0169/0.3645, allocations: 10.72 MB / 443.2 MB, free: 9.031 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/0.3657, allocations: 1.384 MB / 444.6 MB, free: 7.621 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005228/0.3662, allocations: 167.3 kB / 444.8 MB, free: 7.453 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005742/0.3668, allocations: 423.2 kB / 445.2 MB, free: 7.039 MB / 366.1 MB Notification: Performance of SimCode: time 1.282e-06/0.3669, allocations: 0 / 445.2 MB, free: 7.039 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05772/0.4246, allocations: 28.96 MB / 474.1 MB, free: 9.984 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/12.83, allocations: 12.03 kB / 474.1 MB, free: 9.973 MB / 398.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches