Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.00171/0.00171, allocations: 108.2 kB / 21.18 MB, free: 0.6992 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.001604/0.001604, allocations: 216.7 kB / 24.49 MB, free: 4.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 207.6 MB / 235.3 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] 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.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.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 51.92 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3165, allocations: 49.17 MB / 396.4 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004722/0.3212, allocations: 3.694 MB / 400.1 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.3228, allocations: 0.9616 MB / 401 MB, free: 5.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.323, allocations: 11.88 kB / 401 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000216/0.3232, allocations: 85.61 kB / 401.1 MB, free: 5.645 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003114/0.3235, allocations: 140.9 kB / 401.3 MB, free: 5.543 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.3239, allocations: 160.5 kB / 401.4 MB, free: 5.445 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005779/0.3245, allocations: 0.6089 MB / 402 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002788/0.3247, allocations: 153.3 kB / 402.2 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002712/0.325, allocations: 231.8 kB / 402.4 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003168/0.3253, allocations: 244.7 kB / 402.6 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.88e-05/0.3254, allocations: 55.25 kB / 402.7 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.828e-05/0.3255, allocations: 54.81 kB / 402.7 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.3256, allocations: 125.8 kB / 402.9 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002211/0.3258, allocations: 262.3 kB / 403.1 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006996/0.3265, allocations: 0.623 MB / 403.8 MB, free: 4.281 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3265, allocations: 4.75 kB / 403.8 MB, free: 4.277 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3265, allocations: 1.25 kB / 403.8 MB, free: 4.277 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.3265, allocations: 0 / 403.8 MB, free: 4.277 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001416/0.328, allocations: 0.8355 MB / 404.6 MB, free: 3.695 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.328, allocations: 13.86 kB / 404.6 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.425e-05/0.3281, allocations: 78.11 kB / 404.7 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.837e-05/0.3282, allocations: 57.86 kB / 404.7 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004361/0.3286, allocations: 302.7 kB / 405 MB, free: 3.367 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.226e-05/0.3286, allocations: 34.06 kB / 405.1 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.626e-05/0.3287, allocations: 44.88 kB / 405.1 MB, free: 3.336 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006994/0.3294, allocations: 454.3 kB / 405.6 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.3294, allocations: 1 kB / 405.6 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.956e-05/0.3295, allocations: 17.86 kB / 405.6 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.3295, allocations: 13.7 kB / 405.6 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005559/0.33, allocations: 318.9 kB / 405.9 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00205/0.3321, allocations: 1.772 MB / 407.7 MB, free: 1.688 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006309/0.3327, allocations: 372.5 kB / 408 MB, free: 1.492 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005425/0.3333, allocations: 252.7 kB / 408.3 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/0.3333, allocations: 5.141 kB / 408.3 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003924/0.3337, allocations: 264.3 kB / 408.5 MB, free: 1.277 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 1.563e-06/0.3337, allocations: 0 / 408.5 MB, free: 1.277 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.002175/0.3359, allocations: 0.7724 MB / 409.3 MB, free: 1.008 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.3359, allocations: 83.3 kB / 409.4 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002999/0.3362, allocations: 314.9 kB / 409.7 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.3362, allocations: 32.69 kB / 409.7 MB, free: 0.707 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.3363, allocations: 222.4 kB / 410 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.718e-05/0.3364, allocations: 146.6 kB / 410.1 MB, free: 412 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.3365, allocations: 84.55 kB / 410.2 MB, free: 364 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.4e-05/0.3366, allocations: 349.2 kB / 410.5 MB, free: 24 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002562/0.3369, allocations: 127.3 kB / 410.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/0.3372, allocations: 251 kB / 410.9 MB, free: 15.76 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005822/0.3378, allocations: 374.8 kB / 411.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.3378, allocations: 5.344 kB / 411.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008967/0.3387, allocations: 0.5014 MB / 411.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.3387, allocations: 8.125 kB / 411.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.3387, allocations: 6.75 kB / 411.8 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004958/0.3392, allocations: 153.2 kB / 411.9 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.3395, allocations: 59.94 kB / 412 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002938/0.3424, allocations: 2.446 MB / 414.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002528/0.3427, allocations: 41.86 kB / 414.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/0.3427, allocations: 18.44 kB / 414.5 MB, free: 13.09 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: 13 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002052/0.3429, allocations: 180 kB / 414.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.839e-05/0.3429, allocations: 46.03 kB / 414.7 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.185e-05/0.343, allocations: 52.39 kB / 414.8 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.343, allocations: 3.5 kB / 414.8 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.343, allocations: 0 / 414.8 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3431, allocations: 3.812 kB / 414.8 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/0.3445, allocations: 0.9813 MB / 415.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3445, allocations: 0 / 415.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.3447, allocations: 34.7 kB / 415.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003602/0.345, allocations: 146.5 kB / 415.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.785e-05/0.345, allocations: 11.61 kB / 415.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00284/0.3479, allocations: 2.441 MB / 418.4 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3479, allocations: 3.938 kB / 418.4 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.349, allocations: 0.7049 MB / 419.1 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.3491, allocations: 72.52 kB / 419.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.371e-05/0.3492, allocations: 10.91 kB / 419.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/0.3494, allocations: 13.77 kB / 419.2 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.3495, allocations: 40.98 kB / 419.2 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.6e-05/0.3495, allocations: 12.69 kB / 419.2 MB, free: 9.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002319/0.3498, allocations: 217.7 kB / 419.4 MB, free: 9.285 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3498, allocations: 1.125 kB / 419.4 MB, free: 9.285 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005695/0.3503, allocations: 150.9 kB / 419.6 MB, free: 9.246 MB / 334.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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y,rootMeanSquareVoltage.mean.y,meanVoltage.y,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.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 (26): * Single equations (assignments): 22 * 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 {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001432/0.3518, allocations: 1.262 MB / 420.9 MB, free: 8.254 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009311/0.3527, allocations: 0.5205 MB / 421.4 MB, free: 7.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.3527, allocations: 1.062 kB / 421.4 MB, free: 7.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005296/0.3532, allocations: 367.9 kB / 421.7 MB, free: 7.672 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004701/0.3537, allocations: 78.14 kB / 421.8 MB, free: 7.629 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005466/0.3592, allocations: 3.927 MB / 425.7 MB, free: 4.82 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004797/0.3596, allocations: 0.8227 MB / 426.6 MB, free: 4.062 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001385/0.3598, allocations: 40.83 kB / 426.6 MB, free: 4.039 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.36, allocations: 135 kB / 426.7 MB, free: 3.926 MB / 334.1 MB Notification: Performance of SimCode: time 6.71e-07/0.36, allocations: 0 / 426.7 MB, free: 3.926 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05008/0.4101, allocations: 11.16 MB / 437.9 MB, free: 8.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.41, allocations: 7.875 kB / 437.9 MB, free: 8.742 MB / 350.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.781688294839114]