Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008708/0.0008708, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001519/0.001519, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8716/0.8716, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.436e-05/1.576e-05, allocations: 3.125 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.004058/0.004074, allocations: 4.34 MB / 328.9 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.005997, allocations: 1.336 MB / 330.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002797/0.006276, allocations: 39.69 kB / 330.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000533/0.006809, allocations: 230.4 kB / 330.5 MB, free: 9.895 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006154/0.007425, allocations: 373.5 kB / 330.8 MB, free: 9.527 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003404/0.007765, allocations: 231.5 kB / 331.1 MB, free: 9.301 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001119/0.008884, allocations: 1.614 MB / 332.7 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005274/0.009412, allocations: 0.5475 MB / 333.2 MB, free: 7.102 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008517/0.01026, allocations: 0.9629 MB / 334.2 MB, free: 6.137 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000783/0.01105, allocations: 0.7014 MB / 334.9 MB, free: 5.434 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001741/0.01122, allocations: 164 kB / 335.1 MB, free: 5.273 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00019/0.01141, allocations: 172 kB / 335.2 MB, free: 5.105 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002527/0.01166, allocations: 458.7 kB / 335.7 MB, free: 4.656 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003791/0.01204, allocations: 0.495 MB / 336.2 MB, free: 4.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.01329, allocations: 2.154 MB / 338.3 MB, free: 1.996 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.01329, allocations: 0 / 338.3 MB, free: 1.996 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.01329, allocations: 0 / 338.3 MB, free: 1.996 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.796e-05/0.01332, allocations: 0 / 338.3 MB, free: 1.996 MB / 298.7 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.002093/0.01542, allocations: 1.888 MB / 340.2 MB, free: 64 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.01545, allocations: 11.98 kB / 340.2 MB, free: 52 kB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001484/0.0156, allocations: 156.5 kB / 340.4 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002805/0.01588, allocations: 176 kB / 340.5 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000958/0.01684, allocations: 0.9155 MB / 341.5 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.777e-05/0.01688, allocations: 74.38 kB / 341.5 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.01698, allocations: 96.38 kB / 341.6 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.01848, allocations: 1.501 MB / 343.1 MB, free: 13.06 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.0185, allocations: 3.984 kB / 343.1 MB, free: 13.06 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.019e-05/0.01857, allocations: 44 kB / 343.2 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.482e-05/0.0186, allocations: 41.98 kB / 343.2 MB, free: 12.97 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.01994, allocations: 1.296 MB / 344.5 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003711/0.02365, allocations: 3.913 MB / 348.4 MB, free: 7.668 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.0247, allocations: 0.9928 MB / 349.4 MB, free: 6.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007467/0.02545, allocations: 0.6771 MB / 350.1 MB, free: 5.992 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.704e-05/0.02549, allocations: 12.59 kB / 350.1 MB, free: 5.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005952/0.02608, allocations: 0.6439 MB / 350.8 MB, free: 5.301 MB / 314.7 MB Notification: Performance of pre-optimization done (n=75): time 1.973e-06/0.02608, allocations: 3.938 kB / 350.8 MB, free: 5.297 MB / 314.7 MB Notification: Performance of matching and sorting (n=75): time 0.004112/0.03019, allocations: 2.751 MB / 353.5 MB, free: 2.535 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/0.03026, allocations: 119.5 kB / 353.6 MB, free: 2.395 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007446/0.031, allocations: 0.8403 MB / 354.5 MB, free: 1.547 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.445e-05/0.03105, allocations: 41.7 kB / 354.5 MB, free: 1.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002596/0.03131, allocations: 0.4929 MB / 355 MB, free: 1 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.03144, allocations: 257.8 kB / 355.3 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.03158, allocations: 130.7 kB / 355.4 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.887e-05/0.03167, allocations: 341.9 kB / 355.7 MB, free: 280 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004025/0.03207, allocations: 397.7 kB / 356.1 MB, free: 15.89 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004973/0.03257, allocations: 0.5996 MB / 356.7 MB, free: 15.21 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008652/0.03343, allocations: 0.9093 MB / 357.6 MB, free: 14.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.03344, allocations: 0 / 357.6 MB, free: 14.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001305/0.03474, allocations: 1.298 MB / 358.9 MB, free: 12.95 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.03476, allocations: 4 kB / 358.9 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.03477, allocations: 4 kB / 358.9 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007086/0.03548, allocations: 481 kB / 359.4 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.03567, allocations: 87.89 kB / 359.5 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004908/0.04058, allocations: 5.414 MB / 364.9 MB, free: 6.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002596/0.04084, allocations: 91.53 kB / 365 MB, free: 6.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.35e-05/0.04087, allocations: 24 kB / 365 MB, free: 6.727 MB / 330.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_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.0003765/0.04125, allocations: 463.5 kB / 365.5 MB, free: 6.266 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.335e-05/0.04132, allocations: 99.38 kB / 365.5 MB, free: 6.168 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.04143, allocations: 112.7 kB / 365.7 MB, free: 6.055 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.04144, allocations: 8 kB / 365.7 MB, free: 6.047 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.04144, allocations: 0 / 365.7 MB, free: 6.047 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.04145, allocations: 3.984 kB / 365.7 MB, free: 6.043 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002543/0.04399, allocations: 2.438 MB / 368.1 MB, free: 3.555 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.04399, allocations: 0 / 368.1 MB, free: 3.555 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.04414, allocations: 59.91 kB / 368.2 MB, free: 3.496 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005587/0.0447, allocations: 468.6 kB / 368.6 MB, free: 3.035 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.203e-05/0.04473, allocations: 15.94 kB / 368.6 MB, free: 3.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004132/0.04886, allocations: 5.332 MB / 374 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.04886, allocations: 3.938 kB / 374 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001891/0.05076, allocations: 1.898 MB / 375.9 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002415/0.051, allocations: 207.2 kB / 376.1 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.94e-05/0.05106, allocations: 23.88 kB / 376.1 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.05126, allocations: 39.95 kB / 376.1 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.05138, allocations: 76.5 kB / 376.2 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.05141, allocations: 23.98 kB / 376.2 MB, free: 11.28 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004679/0.05188, allocations: 0.6005 MB / 376.8 MB, free: 10.69 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05188, allocations: 4 kB / 376.8 MB, free: 10.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005402/0.05242, allocations: 347.3 kB / 377.2 MB, free: 10.34 MB / 346.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_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.001894/0.05431, allocations: 2.465 MB / 379.6 MB, free: 7.848 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001241/0.05555, allocations: 1.252 MB / 380.9 MB, free: 6.582 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.05556, allocations: 4 kB / 380.9 MB, free: 6.578 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009476/0.0565, allocations: 0.7937 MB / 381.7 MB, free: 5.773 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006245/0.05713, allocations: 274.7 kB / 382 MB, free: 5.504 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009583/0.06671, allocations: 9.886 MB / 391.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005364/0.06725, allocations: 0.7382 MB / 392.6 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002558/0.0675, allocations: 147.4 kB / 392.7 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003186/0.06782, allocations: 388.4 kB / 393.1 MB, free: 10.09 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.06782, allocations: 0 / 393.1 MB, free: 10.09 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04147/0.1093, allocations: 30.01 MB / 423.1 MB, free: 12.38 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.318/8.427, allocations: 3.812 kB / 423.1 MB, free: 12.38 MB / 394.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.125062549486756]