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.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.001709/0.001709, allocations: 119.8 kB / 18.45 MB, free: 4.457 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.001703/0.001703, allocations: 190.9 kB / 21.39 MB, free: 1.52 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.405/1.405, allocations: 207.6 MB / 231.8 MB, free: 3.992 MB / 174.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.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.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 55.91 kB / 342.3 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1021, allocations: 49.12 MB / 391.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005584/0.1077, allocations: 3.673 MB / 395.1 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.1095, allocations: 0.9628 MB / 396 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002044/0.1097, allocations: 11.94 kB / 396 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002763/0.11, allocations: 75.23 kB / 396.1 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003491/0.1103, allocations: 146.8 kB / 396.3 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003452/0.1107, allocations: 163.7 kB / 396.4 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006662/0.1113, allocations: 0.6069 MB / 397 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002872/0.1116, allocations: 147.4 kB / 397.2 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002772/0.1119, allocations: 227.1 kB / 397.4 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003722/0.1123, allocations: 246.9 kB / 397.6 MB, free: 2.449 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.119e-05/0.1124, allocations: 56 kB / 397.7 MB, free: 2.395 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.881e-05/0.1125, allocations: 56 kB / 397.7 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.1126, allocations: 123.5 kB / 397.9 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002577/0.1128, allocations: 262.7 kB / 398.1 MB, free: 1.961 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006886/0.1135, allocations: 0.6264 MB / 398.7 MB, free: 1.332 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1135, allocations: 0 / 398.7 MB, free: 1.332 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1135, allocations: 0 / 398.7 MB, free: 1.332 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.1135, allocations: 0 / 398.7 MB, free: 1.332 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.001456/0.115, allocations: 0.7995 MB / 399.5 MB, free: 492 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.115, allocations: 11.89 kB / 399.6 MB, free: 480 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.32e-05/0.1151, allocations: 74.72 kB / 399.6 MB, free: 396 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.1152, allocations: 64.59 kB / 399.7 MB, free: 332 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005228/0.1158, allocations: 360.5 kB / 400 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.704e-05/0.1158, allocations: 37.38 kB / 400.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.442e-05/0.1159, allocations: 48.11 kB / 400.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007808/0.1167, allocations: 449.5 kB / 400.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.1167, allocations: 4 kB / 400.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.89e-05/0.1167, allocations: 16 kB / 400.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.1167, allocations: 11.98 kB / 400.6 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006059/0.1173, allocations: 319.7 kB / 400.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002521/0.1199, allocations: 1.821 MB / 402.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008101/0.1207, allocations: 0.5739 MB / 403.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005699/0.1212, allocations: 249.4 kB / 403.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.1213, allocations: 8.266 kB / 403.6 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004546/0.1217, allocations: 277.1 kB / 403.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 1.643e-06/0.1217, allocations: 0 / 403.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.002253/0.124, allocations: 0.8279 MB / 404.7 MB, free: 11.08 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.474e-05/0.1241, allocations: 93.05 kB / 404.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003395/0.1244, allocations: 312.5 kB / 405.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/0.1244, allocations: 33.7 kB / 405.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.1246, allocations: 220.7 kB / 405.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.1247, allocations: 142.8 kB / 405.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.1248, allocations: 90.14 kB / 405.5 MB, free: 10.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.125, allocations: 350.7 kB / 405.9 MB, free: 9.809 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000235/0.1252, allocations: 121.1 kB / 406 MB, free: 9.688 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003347/0.1256, allocations: 252.9 kB / 406.2 MB, free: 9.387 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005486/0.1261, allocations: 374.8 kB / 406.6 MB, free: 8.969 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1261, allocations: 0 / 406.6 MB, free: 8.969 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008603/0.127, allocations: 0.501 MB / 407.1 MB, free: 8.457 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.127, allocations: 8 kB / 407.1 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.127, allocations: 4 kB / 407.1 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000473/0.1275, allocations: 153.1 kB / 407.3 MB, free: 8.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.1277, allocations: 67.84 kB / 407.3 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003087/0.1308, allocations: 2.541 MB / 409.9 MB, free: 5.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/0.1311, allocations: 47.77 kB / 409.9 MB, free: 5.496 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.77e-05/0.1311, allocations: 16 kB / 409.9 MB, free: 5.48 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_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.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.0002256/0.1313, allocations: 174.1 kB / 410.1 MB, free: 5.301 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.458e-05/0.1314, allocations: 43.73 kB / 410.1 MB, free: 5.258 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.1315, allocations: 52.3 kB / 410.2 MB, free: 5.203 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.1315, allocations: 7.938 kB / 410.2 MB, free: 5.195 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1315, allocations: 0 / 410.2 MB, free: 5.195 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1315, allocations: 7.938 kB / 410.2 MB, free: 5.188 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/0.133, allocations: 1.005 MB / 411.2 MB, free: 4.121 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.133, allocations: 0 / 411.2 MB, free: 4.121 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/0.1332, allocations: 43.94 kB / 411.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003717/0.1336, allocations: 145 kB / 411.4 MB, free: 3.934 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.623e-05/0.1336, allocations: 8 kB / 411.4 MB, free: 3.926 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002869/0.1364, allocations: 2.538 MB / 414 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1364, allocations: 0 / 414 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.1376, allocations: 0.7131 MB / 414.7 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001888/0.1377, allocations: 152.8 kB / 414.8 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.276e-05/0.1378, allocations: 11.94 kB / 414.8 MB, free: 344 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.138, allocations: 15.98 kB / 414.8 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.032e-05/0.1381, allocations: 35.89 kB / 414.9 MB, free: 292 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.1381, allocations: 12 kB / 414.9 MB, free: 280 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000232/0.1383, allocations: 223 kB / 415.1 MB, free: 56 kB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1383, allocations: 0 / 415.1 MB, free: 56 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005687/0.1389, allocations: 151.8 kB / 415.3 MB, free: 15.9 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.001497/0.1404, allocations: 1.266 MB / 416.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009703/0.1414, allocations: 0.5264 MB / 417 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1414, allocations: 0 / 417 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005403/0.1419, allocations: 358.5 kB / 417.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.1424, allocations: 84.97 kB / 417.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005623/0.148, allocations: 3.925 MB / 421.4 MB, free: 9.508 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005215/0.1485, allocations: 0.8279 MB / 422.2 MB, free: 8.652 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001458/0.1487, allocations: 39.39 kB / 422.3 MB, free: 8.609 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002032/0.1489, allocations: 135.4 kB / 422.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of SimCode: time 8.61e-07/0.1489, allocations: 0 / 422.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06022/0.2091, allocations: 10.82 MB / 433.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/12.53, allocations: 7.859 kB / 433.2 MB, free: 13.59 MB / 366.1 MB " [Timeout remaining time 647] (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_2/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_2/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: 14.874450671952218]