Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001054/0.001054, allocations: 87.67 kB / 21.43 MB, free: 3.117 MB / 18.57 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.004285/0.004285, allocations: 155.3 kB / 24.69 MB, free: 9.426 MB / 18.57 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 0.8623/0.8623, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 298.5 MB, free: 3.504 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034e-05/1.149e-05, allocations: 2.281 kB / 298.5 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.1302/0.1302, allocations: 4.25 MB / 302.7 MB, free: 13.17 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.132, allocations: 1.303 MB / 304 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000208/0.1322, allocations: 35.22 kB / 304 MB, free: 13.05 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005136/0.1328, allocations: 223 kB / 304.3 MB, free: 12.97 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005249/0.1333, allocations: 379.1 kB / 304.6 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.1335, allocations: 216 kB / 304.8 MB, free: 12.76 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009326/0.1345, allocations: 1.596 MB / 306.4 MB, free: 11.94 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004861/0.1349, allocations: 0.5053 MB / 306.9 MB, free: 11.68 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006394/0.1356, allocations: 0.9382 MB / 307.9 MB, free: 11.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006123/0.1362, allocations: 0.6875 MB / 308.6 MB, free: 10.98 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001524/0.1363, allocations: 163.7 kB / 308.7 MB, free: 10.98 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.1365, allocations: 162.8 kB / 308.9 MB, free: 10.98 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002612/0.1368, allocations: 459.8 kB / 309.3 MB, free: 10.71 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003685/0.1372, allocations: 0.4947 MB / 309.8 MB, free: 10.47 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.1386, allocations: 2.131 MB / 312 MB, free: 9.699 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1386, allocations: 0 / 312 MB, free: 9.699 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1386, allocations: 0 / 312 MB, free: 9.699 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.995e-05/0.1386, allocations: 0 / 312 MB, free: 9.699 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.001945/0.1406, allocations: 1.846 MB / 313.8 MB, free: 8.633 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.1406, allocations: 17.17 kB / 313.8 MB, free: 8.625 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001453/0.1408, allocations: 159.4 kB / 314 MB, free: 8.523 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/0.1409, allocations: 145.5 kB / 314.1 MB, free: 8.449 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008295/0.1417, allocations: 0.8185 MB / 314.9 MB, free: 7.961 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.693e-05/0.1418, allocations: 77.94 kB / 315 MB, free: 7.926 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.1419, allocations: 97.52 kB / 315.1 MB, free: 7.895 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.1432, allocations: 1.484 MB / 316.6 MB, free: 7.227 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.1433, allocations: 5.438 kB / 316.6 MB, free: 7.223 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.327e-05/0.1433, allocations: 36.91 kB / 316.6 MB, free: 7.195 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.373e-05/0.1434, allocations: 44.62 kB / 316.7 MB, free: 7.191 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.1447, allocations: 1.287 MB / 318 MB, free: 6.699 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003272/0.148, allocations: 3.896 MB / 321.9 MB, free: 3.941 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009667/0.1489, allocations: 1.002 MB / 322.9 MB, free: 3.367 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007321/0.1497, allocations: 0.6858 MB / 323.6 MB, free: 3.031 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/0.1497, allocations: 7.562 kB / 323.6 MB, free: 3.031 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005766/0.1503, allocations: 0.6445 MB / 324.2 MB, free: 2.586 MB / 282.7 MB Notification: Performance of pre-optimization done (n=75): time 2.184e-06/0.1503, allocations: 1.219 kB / 324.2 MB, free: 2.586 MB / 282.7 MB Notification: Performance of matching and sorting (n=75): time 0.003686/0.154, allocations: 2.638 MB / 326.8 MB, free: 1.191 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.154, allocations: 111.8 kB / 327 MB, free: 1.066 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006048/0.1546, allocations: 0.8255 MB / 327.8 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.893e-05/0.1546, allocations: 46.34 kB / 327.8 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.1548, allocations: 495.1 kB / 328.3 MB, free: 132 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.155, allocations: 250.8 kB / 328.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.1551, allocations: 136.2 kB / 328.7 MB, free: 15.83 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1552, allocations: 398.1 kB / 329.1 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004108/0.1556, allocations: 394.9 kB / 329.5 MB, free: 15.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005166/0.1562, allocations: 0.5956 MB / 330.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008284/0.157, allocations: 0.9093 MB / 331 MB, free: 13.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.157, allocations: 0 / 331 MB, free: 13.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001259/0.1583, allocations: 1.294 MB / 332.3 MB, free: 12.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1583, allocations: 15.97 kB / 332.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.1583, allocations: 7.938 kB / 332.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006509/0.1589, allocations: 475.4 kB / 332.7 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.1591, allocations: 95.83 kB / 332.8 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004663/0.1638, allocations: 5.39 MB / 338.2 MB, free: 6.434 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000253/0.164, allocations: 79.56 kB / 338.3 MB, free: 6.355 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.509e-05/0.1641, allocations: 29 kB / 338.3 MB, free: 6.328 MB / 298.7 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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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.0003801/0.1645, allocations: 455.5 kB / 338.8 MB, free: 5.871 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.742e-05/0.1645, allocations: 95.44 kB / 338.9 MB, free: 5.777 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.1646, allocations: 112.5 kB / 339 MB, free: 5.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1647, allocations: 11.94 kB / 339 MB, free: 5.648 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1647, allocations: 0 / 339 MB, free: 5.648 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.1647, allocations: 3.984 kB / 339 MB, free: 5.645 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002694/0.1674, allocations: 2.432 MB / 341.4 MB, free: 3.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1674, allocations: 0 / 341.4 MB, free: 3.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.1675, allocations: 59.91 kB / 341.5 MB, free: 3.098 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005604/0.1681, allocations: 464.5 kB / 341.9 MB, free: 2.645 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.433e-05/0.1681, allocations: 19.98 kB / 342 MB, free: 2.625 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00433/0.1725, allocations: 5.358 MB / 347.3 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.1725, allocations: 7.922 kB / 347.3 MB, free: 13.15 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002025/0.1745, allocations: 1.902 MB / 349.2 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002602/0.1748, allocations: 199.3 kB / 349.4 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.593e-05/0.1748, allocations: 16 kB / 349.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.175, allocations: 43.94 kB / 349.5 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.1752, allocations: 80.45 kB / 349.6 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.061e-05/0.1752, allocations: 19.98 kB / 349.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005451/0.1757, allocations: 0.5888 MB / 350.2 MB, free: 10.29 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1757, allocations: 0 / 350.2 MB, free: 10.29 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006745/0.1764, allocations: 351.2 kB / 350.5 MB, free: 9.945 MB / 314.7 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,rootMeanSquareVoltage.mean.y,meanVoltage.y,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.002023/0.1784, allocations: 2.467 MB / 353 MB, free: 7.453 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001336/0.1798, allocations: 1.252 MB / 354.2 MB, free: 6.184 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1798, allocations: 4.125 kB / 354.2 MB, free: 6.18 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007455/0.1805, allocations: 0.7853 MB / 355 MB, free: 5.383 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006659/0.1812, allocations: 280.5 kB / 355.3 MB, free: 5.117 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009993/0.1912, allocations: 9.817 MB / 365.1 MB, free: 11.05 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005141/0.1917, allocations: 0.726 MB / 365.8 MB, free: 10.29 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002476/0.1919, allocations: 143.3 kB / 366 MB, free: 10.15 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003214/0.1923, allocations: 380.4 kB / 366.3 MB, free: 9.777 MB / 330.7 MB Notification: Performance of SimCode: time 7.62e-07/0.1923, allocations: 4 kB / 366.4 MB, free: 9.773 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04002/0.2323, allocations: 29.71 MB / 396.1 MB, free: 11.97 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.419/8.651, allocations: 11.92 kB / 396.1 MB, free: 11.96 MB / 362.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 10.425521006807685]