Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001936/0.001936, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002489/0.002489, allocations: 214.4 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_4_1_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_1_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.001716/0.001716, allocations: 47.92 kB / 377.8 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3014, allocations: 53.36 MB / 431.2 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005549/0.3069, allocations: 3.765 MB / 434.9 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002184/0.3091, allocations: 1.091 MB / 436 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002619/0.3094, allocations: 23.88 kB / 436 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002956/0.3097, allocations: 111.1 kB / 436.1 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007948/0.3105, allocations: 246.5 kB / 436.4 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003542/0.3108, allocations: 167.7 kB / 436.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001059/0.3119, allocations: 0.9612 MB / 437.5 MB, free: 476 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005353/0.3124, allocations: 347.5 kB / 437.8 MB, free: 104 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005656/0.313, allocations: 426.6 kB / 438.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006964/0.3137, allocations: 0.4981 MB / 438.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001333/0.3138, allocations: 104 kB / 438.9 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001987/0.314, allocations: 104 kB / 439 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002649/0.3143, allocations: 291.1 kB / 439.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004763/0.3148, allocations: 485.7 kB / 439.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001321/0.3161, allocations: 1.306 MB / 441 MB, free: 12.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3161, allocations: 4 kB / 441 MB, free: 12.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3161, allocations: 0 / 441 MB, free: 12.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.3161, allocations: 0 / 441 MB, free: 12.91 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.002362/0.3185, allocations: 1.326 MB / 442.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.3185, allocations: 8.031 kB / 442.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001508/0.3186, allocations: 118.7 kB / 442.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004075/0.3191, allocations: 120.3 kB / 442.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.3201, allocations: 0.6084 MB / 443.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.71e-05/0.3202, allocations: 49.31 kB / 443.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.3203, allocations: 64 kB / 443.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.3218, allocations: 0.9228 MB / 444.2 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.778e-05/0.3218, allocations: 3.953 kB / 444.2 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-05/0.3219, allocations: 28 kB / 444.3 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.795e-05/0.3219, allocations: 29.3 kB / 444.3 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.3233, allocations: 0.7975 MB / 445.1 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00445/0.3277, allocations: 2.725 MB / 447.8 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008473/0.3286, allocations: 0.489 MB / 448.3 MB, free: 5.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000576/0.3292, allocations: 318.9 kB / 448.6 MB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.308e-05/0.3292, allocations: 4.328 kB / 448.6 MB, free: 5.094 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006892/0.3299, allocations: 381.9 kB / 449 MB, free: 4.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.084e-06/0.3299, allocations: 0 / 449 MB, free: 4.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002712/0.3326, allocations: 1.123 MB / 450.1 MB, free: 3.566 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.3327, allocations: 110.6 kB / 450.2 MB, free: 3.434 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008204/0.3335, allocations: 0.584 MB / 450.8 MB, free: 2.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.99e-05/0.3336, allocations: 33.7 kB / 450.8 MB, free: 2.801 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003433/0.3339, allocations: 372.6 kB / 451.2 MB, free: 2.434 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.334, allocations: 142.8 kB / 451.4 MB, free: 2.293 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.3342, allocations: 98.17 kB / 451.4 MB, free: 2.191 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.3344, allocations: 366.7 kB / 451.8 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003991/0.3348, allocations: 220.8 kB / 452 MB, free: 1.605 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005131/0.3353, allocations: 357.1 kB / 452.4 MB, free: 1.199 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008843/0.3362, allocations: 0.5699 MB / 452.9 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3362, allocations: 4 kB / 452.9 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00135/0.3375, allocations: 0.744 MB / 453.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.357e-05/0.3376, allocations: 10.81 kB / 453.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.3376, allocations: 11.94 kB / 453.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005411/0.3381, allocations: 207 kB / 453.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/0.3384, allocations: 75.89 kB / 454 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003533/0.342, allocations: 2.844 MB / 456.8 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003976/0.3424, allocations: 47.72 kB / 456.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.529e-05/0.3424, allocations: 20 kB / 456.9 MB, free: 12.5 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.0006332/0.343, allocations: 333.5 kB / 457.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.837e-05/0.3431, allocations: 55.67 kB / 457.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001541/0.3433, allocations: 69.44 kB / 457.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.3433, allocations: 7.938 kB / 457.4 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.3433, allocations: 7.984 kB / 457.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.3433, allocations: 0 / 457.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002588/0.3459, allocations: 1.603 MB / 459 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3459, allocations: 0 / 459 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/0.3461, allocations: 47.91 kB / 459 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004373/0.3466, allocations: 199.3 kB / 459.2 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-05/0.3466, allocations: 16.02 kB / 459.2 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003303/0.3499, allocations: 2.809 MB / 462 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.3499, allocations: 0 / 462 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.3517, allocations: 1.104 MB / 463.1 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002777/0.3519, allocations: 123.5 kB / 463.3 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.988e-05/0.352, allocations: 8 kB / 463.3 MB, free: 5.914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000281/0.3523, allocations: 27.97 kB / 463.3 MB, free: 5.887 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.3524, allocations: 51.64 kB / 463.3 MB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.028e-05/0.3524, allocations: 15.98 kB / 463.4 MB, free: 5.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005476/0.353, allocations: 430.8 kB / 463.8 MB, free: 5.402 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.353, allocations: 0 / 463.8 MB, free: 5.402 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007376/0.3537, allocations: 207.5 kB / 464 MB, free: 5.199 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.002056/0.3558, allocations: 1.651 MB / 465.6 MB, free: 3.516 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001414/0.3572, allocations: 0.709 MB / 466.3 MB, free: 2.793 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3572, allocations: 0 / 466.3 MB, free: 2.793 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007597/0.358, allocations: 467.1 kB / 466.8 MB, free: 2.324 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007497/0.3587, allocations: 154 kB / 466.9 MB, free: 2.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/0.369, allocations: 6.533 MB / 473.5 MB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009122/0.3699, allocations: 1.078 MB / 474.6 MB, free: 10.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003027/0.3702, allocations: 104.8 kB / 474.7 MB, free: 10.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003694/0.3706, allocations: 243.3 kB / 474.9 MB, free: 9.996 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3706, allocations: 0 / 474.9 MB, free: 9.996 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0614/0.432, allocations: 17.1 MB / 492 MB, free: 9.18 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/14.05, allocations: 0 / 492 MB, free: 9.18 MB / 398.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse.fmu > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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.52594162686728]