Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.001761/0.001761, allocations: 115.6 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.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.002119/0.002119, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.515/1.515, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 47.92 kB / 377.8 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.315, allocations: 53.36 MB / 431.2 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.00699/0.322, allocations: 4.817 MB / 436 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003142/0.3252, allocations: 1.379 MB / 437.4 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004702/0.3256, allocations: 35.75 kB / 437.4 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007307/0.3264, allocations: 226.4 kB / 437.6 MB, free: 392 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009148/0.3273, allocations: 374 kB / 438 MB, free: 16 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005022/0.3278, allocations: 231.6 kB / 438.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001792/0.3296, allocations: 1.549 MB / 439.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008446/0.3304, allocations: 0.5631 MB / 440.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008988/0.3313, allocations: 0.6659 MB / 441 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001131/0.3324, allocations: 0.7822 MB / 441.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002497/0.3327, allocations: 168 kB / 441.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003046/0.333, allocations: 168 kB / 442.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004322/0.3334, allocations: 446.7 kB / 442.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008511/0.3343, allocations: 0.7349 MB / 443.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002235/0.3365, allocations: 2.107 MB / 445.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3365, allocations: 0 / 445.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3365, allocations: 0 / 445.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.677e-05/0.3366, allocations: 4 kB / 445.4 MB, free: 8.57 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003565/0.3401, allocations: 1.9 MB / 447.3 MB, free: 6.621 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.3402, allocations: 12.03 kB / 447.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002029/0.3404, allocations: 152.4 kB / 447.4 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005306/0.3409, allocations: 176 kB / 447.6 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/0.3427, allocations: 0.9086 MB / 448.5 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.854e-05/0.3427, allocations: 74.38 kB / 448.6 MB, free: 5.273 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/0.3429, allocations: 99.88 kB / 448.7 MB, free: 5.176 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002526/0.3454, allocations: 1.447 MB / 450.1 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.015e-05/0.3455, allocations: 3.938 kB / 450.1 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.3456, allocations: 36 kB / 450.2 MB, free: 3.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.787e-05/0.3456, allocations: 46 kB / 450.2 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002277/0.3479, allocations: 1.3 MB / 451.5 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006976/0.3549, allocations: 4.255 MB / 455.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/0.3566, allocations: 1.005 MB / 456.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001278/0.3579, allocations: 0.6814 MB / 457.5 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.637e-05/0.3579, allocations: 8.656 kB / 457.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001027/0.3589, allocations: 0.6044 MB / 458.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.695e-06/0.3589, allocations: 0 / 458.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.007459/0.3664, allocations: 2.743 MB / 460.8 MB, free: 8.895 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.3665, allocations: 123.4 kB / 460.9 MB, free: 8.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.3678, allocations: 0.8403 MB / 461.8 MB, free: 7.898 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.555e-05/0.3679, allocations: 41.7 kB / 461.8 MB, free: 7.852 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005047/0.3684, allocations: 0.4929 MB / 462.3 MB, free: 7.352 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002619/0.3686, allocations: 265.9 kB / 462.6 MB, free: 7.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002193/0.3689, allocations: 126.6 kB / 462.7 MB, free: 6.961 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.369, allocations: 337.9 kB / 463 MB, free: 6.625 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006734/0.3697, allocations: 397.7 kB / 463.4 MB, free: 6.238 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008382/0.3706, allocations: 0.5406 MB / 463.9 MB, free: 5.645 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/0.372, allocations: 0.921 MB / 464.9 MB, free: 4.668 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.372, allocations: 0 / 464.9 MB, free: 4.668 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002269/0.3742, allocations: 1.29 MB / 466.2 MB, free: 3.367 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.3743, allocations: 8 kB / 466.2 MB, free: 3.359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.3743, allocations: 4 kB / 466.2 MB, free: 3.355 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/0.3754, allocations: 476.4 kB / 466.6 MB, free: 2.887 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003536/0.3758, allocations: 95.88 kB / 466.7 MB, free: 2.793 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008669/0.3844, allocations: 5.481 MB / 472.2 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009416/0.3854, allocations: 83.58 kB / 472.3 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.209e-05/0.3854, allocations: 24 kB / 472.3 MB, free: 13.09 MB / 382.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_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_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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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,30)} Notification: Performance of prepare postOptimizeDAE: time 0.001176/0.3866, allocations: 475.1 kB / 472.8 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000249/0.3869, allocations: 95.39 kB / 472.9 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002813/0.3871, allocations: 112.7 kB / 473 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.3872, allocations: 8 kB / 473 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.3872, allocations: 0 / 473 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.3872, allocations: 3.984 kB / 473 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004696/0.3919, allocations: 2.567 MB / 475.6 MB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.3919, allocations: 0 / 475.6 MB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002967/0.3922, allocations: 59.89 kB / 475.6 MB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001079/0.3932, allocations: 460.5 kB / 476.1 MB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.904e-05/0.3933, allocations: 16 kB / 476.1 MB, free: 9.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007932/0.4012, allocations: 5.426 MB / 481.5 MB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.4012, allocations: 11.88 kB / 481.5 MB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0031/0.4043, allocations: 1.898 MB / 483.4 MB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005715/0.4049, allocations: 207.2 kB / 483.6 MB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001951/0.4051, allocations: 19.94 kB / 483.6 MB, free: 1.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003923/0.4055, allocations: 35.95 kB / 483.7 MB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002091/0.4057, allocations: 84.44 kB / 483.8 MB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.792e-05/0.4057, allocations: 23.98 kB / 483.8 MB, free: 1.406 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009622/0.4067, allocations: 0.6083 MB / 484.4 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4067, allocations: 0 / 484.4 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001056/0.4078, allocations: 347.2 kB / 484.7 MB, free: 472 kB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,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: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 36 * 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,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003349/0.4111, allocations: 2.465 MB / 487.2 MB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002331/0.4134, allocations: 1.244 MB / 488.4 MB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.4134, allocations: 0.875 kB / 488.4 MB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001303/0.4148, allocations: 0.7967 MB / 489.2 MB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.4159, allocations: 270.8 kB / 489.5 MB, free: 11.63 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01522/0.4311, allocations: 9.867 MB / 499.4 MB, free: 1.539 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/0.4322, allocations: 1.333 MB / 0.489 GB, free: 180 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000439/0.4327, allocations: 143.4 kB / 0.4891 GB, free: 32 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000532/0.4332, allocations: 383.4 kB / 0.4895 GB, free: 15.65 MB / 414.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4332, allocations: 0 / 0.4895 GB, free: 15.65 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.081/0.5142, allocations: 30.21 MB / 0.519 GB, free: 1.809 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.39/14.91, allocations: 7.734 kB / 0.519 GB, free: 1.805 MB / 430.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse.fmu > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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: 17.608101942110807]