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.001615/0.001615, 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.001892/0.001892, allocations: 191 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.425/1.425, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001353/0.001353, allocations: 55.92 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08578/0.08714, allocations: 46.62 MB / 374.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005645/0.09281, allocations: 4.507 MB / 379.2 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1798/0.2726, allocations: 1.257 MB / 380.4 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006517/0.2733, allocations: 22.31 kB / 380.4 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006743/0.274, allocations: 161.9 kB / 380.6 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001451/0.2755, allocations: 344.3 kB / 380.9 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008141/0.2763, allocations: 201.5 kB / 381.1 MB, free: 9.105 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002342/0.2787, allocations: 1.624 MB / 382.8 MB, free: 8.793 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00154/0.2802, allocations: 0.9259 MB / 383.7 MB, free: 8.609 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001655/0.2819, allocations: 0.6761 MB / 384.4 MB, free: 8.301 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00184/0.2838, allocations: 0.8448 MB / 385.2 MB, free: 7.922 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006915/0.2845, allocations: 175.7 kB / 385.4 MB, free: 7.922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008118/0.2853, allocations: 173.8 kB / 385.5 MB, free: 7.922 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005912/0.2859, allocations: 475.2 kB / 386 MB, free: 7.664 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.2869, allocations: 0.7865 MB / 386.8 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002271/0.2892, allocations: 2.237 MB / 389 MB, free: 6.375 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2892, allocations: 0.9844 kB / 389 MB, free: 6.375 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2892, allocations: 0 / 389 MB, free: 6.375 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.353e-05/0.2893, allocations: 0 / 389 MB, free: 6.375 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.003815/0.2931, allocations: 1.758 MB / 390.8 MB, free: 5.297 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.2932, allocations: 13.36 kB / 390.8 MB, free: 5.293 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002166/0.2934, allocations: 163 kB / 391 MB, free: 5.188 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002827/0.2937, allocations: 153.6 kB / 391.1 MB, free: 5.109 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/0.2953, allocations: 0.9305 MB / 392 MB, free: 4.551 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.893e-05/0.2953, allocations: 82.06 kB / 392.1 MB, free: 4.512 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.2955, allocations: 104.1 kB / 392.2 MB, free: 4.477 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002484/0.298, allocations: 1.547 MB / 393.8 MB, free: 3.816 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.985e-05/0.298, allocations: 5.031 kB / 393.8 MB, free: 3.812 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.2981, allocations: 42.27 kB / 393.8 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.547e-05/0.2982, allocations: 43.58 kB / 393.9 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002383/0.3006, allocations: 1.423 MB / 395.3 MB, free: 3.266 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006492/0.3071, allocations: 4.876 MB / 400.2 MB, free: 168 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001786/0.3089, allocations: 1.454 MB / 401.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001323/0.3102, allocations: 0.7421 MB / 402.4 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.159e-05/0.3103, allocations: 7.938 kB / 402.4 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00107/0.3114, allocations: 0.6085 MB / 403 MB, free: 14.29 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 3.156e-06/0.3114, allocations: 0 / 403 MB, free: 14.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.006099/0.3175, allocations: 2.416 MB / 405.4 MB, free: 12.96 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.01e-05/0.3176, allocations: 86.3 kB / 405.5 MB, free: 12.87 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.3189, allocations: 0.9332 MB / 406.4 MB, free: 12.35 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.29e-05/0.319, allocations: 44.81 kB / 406.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005303/0.3195, allocations: 0.5266 MB / 407 MB, free: 11.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002223/0.3198, allocations: 227.3 kB / 407.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002665/0.32, allocations: 131.4 kB / 407.3 MB, free: 11.58 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3202, allocations: 337.9 kB / 407.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008189/0.321, allocations: 413.8 kB / 408.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007446/0.3218, allocations: 0.5544 MB / 408.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.3231, allocations: 0.9518 MB / 409.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.3232, allocations: 1.562 kB / 409.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002153/0.3253, allocations: 1.285 MB / 410.9 MB, free: 9.352 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.3254, allocations: 11.25 kB / 410.9 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.3254, allocations: 4.375 kB / 410.9 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009128/0.3263, allocations: 409.9 kB / 411.3 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000495/0.3268, allocations: 114.3 kB / 411.4 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005284/0.3321, allocations: 4.488 MB / 415.9 MB, free: 4.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000675/0.3328, allocations: 79.53 kB / 416 MB, free: 4.801 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.349e-05/0.3329, allocations: 32 kB / 416 MB, free: 4.77 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.000683/0.3335, allocations: 491.1 kB / 416.5 MB, free: 4.281 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.3337, allocations: 98.81 kB / 416.6 MB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002155/0.3339, allocations: 116.5 kB / 416.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3339, allocations: 8 kB / 416.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3339, allocations: 0 / 416.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.3339, allocations: 3.984 kB / 416.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003945/0.3379, allocations: 2.583 MB / 419.3 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.3379, allocations: 4 kB / 419.3 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004378/0.3384, allocations: 87.81 kB / 419.4 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007912/0.3392, allocations: 396.9 kB / 419.7 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.798e-05/0.3392, allocations: 12 kB / 419.8 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004984/0.3442, allocations: 4.466 MB / 424.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3442, allocations: 0 / 424.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002914/0.3472, allocations: 1.958 MB / 426.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006239/0.3478, allocations: 287.7 kB / 426.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/0.3479, allocations: 16 kB / 426.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004489/0.3484, allocations: 43.94 kB / 426.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/0.3486, allocations: 76.55 kB / 426.6 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.542e-05/0.3487, allocations: 19.98 kB / 426.6 MB, free: 9.895 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009077/0.3496, allocations: 0.6786 MB / 427.3 MB, free: 9.219 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3496, allocations: 0 / 427.3 MB, free: 9.219 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001023/0.3506, 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.00315/0.3538, allocations: 2.531 MB / 430.2 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002338/0.3561, allocations: 1.281 MB / 431.4 MB, free: 5.027 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.3561, allocations: 4.125 kB / 431.4 MB, free: 5.023 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001263/0.3574, allocations: 0.8024 MB / 432.2 MB, free: 4.211 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.3586, allocations: 258.3 kB / 432.5 MB, free: 3.965 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01515/0.3738, allocations: 10.71 MB / 443.2 MB, free: 9.023 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009522/0.3748, allocations: 1.384 MB / 444.6 MB, free: 7.613 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004622/0.3752, allocations: 167.3 kB / 444.8 MB, free: 7.445 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004959/0.3757, allocations: 415.3 kB / 445.2 MB, free: 7.039 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3757, allocations: 4 kB / 445.2 MB, free: 7.035 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06049/0.4362, allocations: 28.96 MB / 474.1 MB, free: 9.984 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/13.2, 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