Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001387/0.001387, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001599/0.001599, allocations: 214.8 kB / 23.73 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.53/1.53, allocations: 230.5 MB / 257.4 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] 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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 67.91 kB / 377.8 MB, free: 2.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2702, allocations: 53.4 MB / 431.2 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.00539/0.2756, allocations: 3.46 MB / 434.6 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002138/0.2777, allocations: 1.036 MB / 435.7 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002364/0.278, allocations: 19.88 kB / 435.7 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002751/0.2782, allocations: 111.1 kB / 435.8 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007644/0.279, allocations: 246.6 kB / 436 MB, free: 1.578 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.2794, allocations: 159.7 kB / 436.2 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001032/0.2804, allocations: 0.9652 MB / 437.1 MB, free: 464 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005313/0.2809, allocations: 339.5 kB / 437.5 MB, free: 96 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005521/0.2815, allocations: 430.6 kB / 437.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006982/0.2822, allocations: 0.498 MB / 438.4 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000148/0.2823, allocations: 100 kB / 438.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002139/0.2825, allocations: 108 kB / 438.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002788/0.2828, allocations: 283.1 kB / 438.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004447/0.2833, allocations: 390.2 kB / 439.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001637/0.2849, allocations: 1.314 MB / 440.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2849, allocations: 0 / 440.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.531e-06/0.2849, allocations: 4 kB / 440.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.863e-05/0.2849, allocations: 0 / 440.6 MB, free: 12.99 MB / 350.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.002829/0.2878, allocations: 1.33 MB / 441.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.021e-05/0.2878, allocations: 15.97 kB / 441.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001602/0.288, allocations: 110.7 kB / 442 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004607/0.2884, allocations: 124.3 kB / 442.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.2896, allocations: 0.6084 MB / 442.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.537e-05/0.2896, allocations: 53.25 kB / 442.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.2898, allocations: 64 kB / 442.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/0.2914, allocations: 0.9479 MB / 443.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.003e-05/0.2914, allocations: 7.953 kB / 443.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.127e-05/0.2915, allocations: 23.98 kB / 443.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.433e-05/0.2916, allocations: 37.3 kB / 443.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001455/0.293, allocations: 0.7936 MB / 444.7 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004392/0.2974, allocations: 2.518 MB / 447.2 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008654/0.2983, allocations: 499.7 kB / 447.7 MB, free: 5.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005888/0.2989, allocations: 316.4 kB / 448 MB, free: 5.352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.459e-05/0.2989, allocations: 4.328 kB / 448 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006759/0.2996, allocations: 403.5 kB / 448.4 MB, free: 4.926 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.334e-06/0.2996, allocations: 7.938 kB / 448.4 MB, free: 4.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002818/0.3024, allocations: 1.115 MB / 449.5 MB, free: 3.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.492e-05/0.3025, allocations: 114.6 kB / 449.6 MB, free: 3.656 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007846/0.3033, allocations: 0.5801 MB / 450.2 MB, free: 3.066 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.926e-05/0.3033, allocations: 37.7 kB / 450.2 MB, free: 3.023 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003184/0.3036, allocations: 368.6 kB / 450.6 MB, free: 2.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.3038, allocations: 146.8 kB / 450.7 MB, free: 2.516 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.3039, allocations: 90.14 kB / 450.8 MB, free: 2.422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.3041, allocations: 370.7 kB / 451.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004095/0.3045, allocations: 216.8 kB / 451.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005187/0.305, allocations: 386.8 kB / 451.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009084/0.3059, allocations: 0.5699 MB / 452.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.3059, allocations: 4 kB / 452.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001366/0.3073, allocations: 0.7434 MB / 453.1 MB, free: 12 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.3073, allocations: 4 kB / 453.1 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.3073, allocations: 8.5 kB / 453.1 MB, free: 0 / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005638/0.3079, allocations: 212.6 kB / 453.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003359/0.3082, allocations: 71.89 kB / 453.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003477/0.3117, allocations: 2.808 MB / 456.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000412/0.3121, allocations: 59.69 kB / 456.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.793e-05/0.3122, allocations: 16 kB / 456.3 MB, free: 12.73 MB / 366.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.0005125/0.3127, allocations: 325.6 kB / 456.6 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.3128, allocations: 59.62 kB / 456.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001508/0.3129, allocations: 77.42 kB / 456.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/0.3129, allocations: 7.938 kB / 456.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.3129, allocations: 7.938 kB / 456.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.313, allocations: 3.984 kB / 456.7 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002596/0.3156, allocations: 1.521 MB / 458.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.3156, allocations: 0 / 458.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002464/0.3158, allocations: 55.94 kB / 458.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004745/0.3163, allocations: 196.8 kB / 458.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.332e-05/0.3163, allocations: 11.98 kB / 458.5 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00333/0.3196, allocations: 2.781 MB / 461.3 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3196, allocations: 0 / 461.3 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.3215, allocations: 1.1 MB / 462.4 MB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003467/0.3218, allocations: 123.6 kB / 462.5 MB, free: 6.254 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.956e-05/0.3219, allocations: 8 kB / 462.5 MB, free: 6.246 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002972/0.3222, allocations: 27.97 kB / 462.6 MB, free: 6.219 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.3223, allocations: 47.64 kB / 462.6 MB, free: 6.172 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-05/0.3224, allocations: 15.98 kB / 462.6 MB, free: 6.156 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005622/0.3229, allocations: 434.8 kB / 463.1 MB, free: 5.734 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3229, allocations: 0 / 463.1 MB, free: 5.734 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007305/0.3237, allocations: 211.5 kB / 463.3 MB, free: 5.527 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.002165/0.3258, allocations: 1.66 MB / 464.9 MB, free: 3.836 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001365/0.3272, allocations: 0.6987 MB / 465.6 MB, free: 3.125 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3272, allocations: 0 / 465.6 MB, free: 3.125 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007458/0.3279, allocations: 463.4 kB / 466.1 MB, free: 2.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000731/0.3287, allocations: 154.3 kB / 466.2 MB, free: 2.512 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009814/0.3385, allocations: 6.538 MB / 472.8 MB, free: 11.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006121/0.3391, allocations: 498 kB / 473.2 MB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003256/0.3394, allocations: 100.8 kB / 473.3 MB, free: 11.17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003677/0.3398, allocations: 243.4 kB / 473.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of SimCode: time 1.513e-06/0.3398, allocations: 0 / 473.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05678/0.3966, allocations: 17.35 MB / 490.9 MB, free: 9.852 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/13.26, allocations: 9.969 kB / 490.9 MB, free: 9.844 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 15.82526957290247]