Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 112.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 189.9 kB / 23.72 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002537/0.002537, allocations: 43.92 kB / 370.5 MB, free: 9.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2794, allocations: 52.18 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005339/0.2847, allocations: 3.71 MB / 426.4 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002358/0.2871, allocations: 1.025 MB / 427.4 MB, free: 9.836 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003965/0.2875, allocations: 19.88 kB / 427.4 MB, free: 9.816 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003468/0.2878, allocations: 111.1 kB / 427.5 MB, free: 9.707 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00091/0.2887, allocations: 242.7 kB / 427.7 MB, free: 9.469 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003607/0.2891, allocations: 147.7 kB / 427.9 MB, free: 9.324 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001136/0.2902, allocations: 0.9495 MB / 428.8 MB, free: 8.371 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006202/0.2908, allocations: 339.5 kB / 429.2 MB, free: 8.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006452/0.2915, allocations: 418.6 kB / 429.6 MB, free: 7.609 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008117/0.2923, allocations: 0.4981 MB / 430.1 MB, free: 7.109 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000149/0.2924, allocations: 100 kB / 430.2 MB, free: 7.012 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.2926, allocations: 100 kB / 430.3 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002848/0.2929, allocations: 279.1 kB / 430.5 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005096/0.2934, allocations: 481.8 kB / 431 MB, free: 6.168 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001462/0.2949, allocations: 1.289 MB / 432.3 MB, free: 4.883 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2949, allocations: 0 / 432.3 MB, free: 4.883 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.2949, allocations: 4 kB / 432.3 MB, free: 4.879 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.841e-05/0.2949, allocations: 0 / 432.3 MB, free: 4.879 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.0024/0.2973, allocations: 1.311 MB / 433.6 MB, free: 3.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.2973, allocations: 8.031 kB / 433.6 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001418/0.2975, allocations: 110.7 kB / 433.7 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.2976, allocations: 96.38 kB / 433.8 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.2986, allocations: 0.5828 MB / 434.4 MB, free: 2.691 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.647e-05/0.2987, allocations: 53.3 kB / 434.5 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.2988, allocations: 64 kB / 434.5 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.3003, allocations: 0.9189 MB / 435.4 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.814e-05/0.3003, allocations: 4 kB / 435.5 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.951e-05/0.3004, allocations: 27.94 kB / 435.5 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.782e-05/0.3005, allocations: 33.3 kB / 435.5 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.3018, allocations: 0.7975 MB / 436.3 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004453/0.3063, allocations: 2.725 MB / 439 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009271/0.3072, allocations: 491.6 kB / 439.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006064/0.3078, allocations: 313.3 kB / 439.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.858e-05/0.3078, allocations: 8.328 kB / 439.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007047/0.3085, allocations: 385.8 kB / 440.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 3.326e-06/0.3085, allocations: 4 kB / 440.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.0028/0.3113, allocations: 1.123 MB / 441.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.819e-05/0.3114, allocations: 114.8 kB / 441.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008902/0.3123, allocations: 0.5605 MB / 442 MB, free: 10.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.819e-05/0.3124, allocations: 37.7 kB / 442 MB, free: 10.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004025/0.3128, allocations: 364.6 kB / 442.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.3129, allocations: 142.8 kB / 442.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/0.3131, allocations: 94.14 kB / 442.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000229/0.3133, allocations: 370.7 kB / 443 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003999/0.3137, allocations: 216.8 kB / 443.2 MB, free: 9.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004931/0.3142, allocations: 353.2 kB / 443.5 MB, free: 9.273 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008505/0.3151, allocations: 0.5621 MB / 444.1 MB, free: 8.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.473e-06/0.3151, allocations: 4 kB / 444.1 MB, free: 8.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001335/0.3164, allocations: 0.74 MB / 444.9 MB, free: 7.902 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.3165, allocations: 10.38 kB / 444.9 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.3165, allocations: 8 kB / 444.9 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005436/0.317, allocations: 207.9 kB / 445.1 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000314/0.3173, allocations: 75.89 kB / 445.1 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003509/0.3208, allocations: 2.84 MB / 448 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004026/0.3212, allocations: 51.7 kB / 448 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.704e-05/0.3213, allocations: 23.98 kB / 448.1 MB, free: 4.582 MB / 350.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: 12 (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.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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 {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005537/0.3218, allocations: 321.6 kB / 448.4 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.917e-05/0.3219, allocations: 63.56 kB / 448.4 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001439/0.3221, allocations: 69.28 kB / 448.5 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.3221, allocations: 7.938 kB / 448.5 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3221, allocations: 0 / 448.5 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.3221, allocations: 7.984 kB / 448.5 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002557/0.3246, allocations: 1.607 MB / 450.1 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3246, allocations: 0 / 450.1 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/0.3249, allocations: 51.84 kB / 450.2 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004641/0.3254, allocations: 196.8 kB / 450.4 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.578e-05/0.3254, allocations: 8 kB / 450.4 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003378/0.3288, allocations: 2.816 MB / 453.2 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.3288, allocations: 0 / 453.2 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.3306, allocations: 1.1 MB / 454.3 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003326/0.3309, allocations: 123.5 kB / 454.4 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.3311, allocations: 15.98 kB / 454.4 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003067/0.3314, allocations: 23.97 kB / 454.5 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.3315, allocations: 51.8 kB / 454.5 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/0.3315, allocations: 15.98 kB / 454.5 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006133/0.3321, allocations: 418.8 kB / 454.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3321, allocations: 0 / 454.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007504/0.3329, allocations: 203.5 kB / 455.1 MB, free: 13.3 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * 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 (30): * Single equations (assignments): 26 * 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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002104/0.335, allocations: 1.65 MB / 456.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001396/0.3364, allocations: 0.7087 MB / 457.5 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3364, allocations: 0 / 457.5 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007544/0.3371, allocations: 455.8 kB / 457.9 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007898/0.3379, allocations: 151.2 kB / 458.1 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/0.3483, allocations: 6.445 MB / 464.5 MB, free: 3.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009863/0.3493, allocations: 1.07 MB / 465.6 MB, free: 2.562 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003306/0.3496, allocations: 96.72 kB / 465.7 MB, free: 2.469 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003678/0.35, allocations: 247.3 kB / 465.9 MB, free: 2.227 MB / 366.1 MB Notification: Performance of SimCode: time 1.052e-06/0.35, allocations: 0 / 465.9 MB, free: 2.227 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06001/0.41, allocations: 16.78 MB / 482.7 MB, free: 1.715 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/13.71, allocations: 11.98 kB / 482.7 MB, free: 1.703 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.06541704107076]