Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.0008244/0.0008244, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.00103/0.00103, allocations: 157 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8878/0.8878, allocations: 173.4 MB / 200.4 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_4_0_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_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 318.5 MB, free: 6.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.521e-05/1.697e-05, allocations: 2.281 kB / 318.5 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.00388/0.003897, allocations: 4.293 MB / 322.8 MB, free: 2.023 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.005843, allocations: 1.262 MB / 324 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003087/0.006152, allocations: 35.75 kB / 324.1 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005858/0.006738, allocations: 234.3 kB / 324.3 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006394/0.007377, allocations: 365.6 kB / 324.6 MB, free: 136 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002923/0.00767, allocations: 223.5 kB / 324.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001069/0.008739, allocations: 1.583 MB / 326.4 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005799/0.009318, allocations: 0.5437 MB / 327 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007704/0.01009, allocations: 0.9472 MB / 327.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007023/0.01079, allocations: 0.6975 MB / 328.6 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001308/0.01092, allocations: 164 kB / 328.8 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.01106, allocations: 164 kB / 328.9 MB, free: 11.78 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000244/0.0113, allocations: 458.7 kB / 329.4 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004036/0.01171, allocations: 0.5028 MB / 329.9 MB, free: 10.83 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00133/0.01304, allocations: 2.127 MB / 332 MB, free: 8.695 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.01304, allocations: 0 / 332 MB, free: 8.695 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.01304, allocations: 0 / 332 MB, free: 8.695 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.72e-05/0.01306, allocations: 0 / 332 MB, free: 8.695 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.001978/0.01504, allocations: 1.869 MB / 333.9 MB, free: 6.781 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.01508, allocations: 12.03 kB / 333.9 MB, free: 6.77 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000137/0.01521, allocations: 160.4 kB / 334.1 MB, free: 6.605 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.01536, allocations: 144 kB / 334.2 MB, free: 6.465 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.01651, allocations: 0.8845 MB / 335.1 MB, free: 5.551 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.804e-05/0.01655, allocations: 74.38 kB / 335.2 MB, free: 5.477 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-05/0.01665, allocations: 96.38 kB / 335.3 MB, free: 5.383 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.01811, allocations: 1.497 MB / 336.8 MB, free: 3.844 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.01813, allocations: 4 kB / 336.8 MB, free: 3.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.526e-05/0.0182, allocations: 40 kB / 336.8 MB, free: 3.801 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-05/0.01824, allocations: 41.98 kB / 336.8 MB, free: 3.758 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.01958, allocations: 1.292 MB / 338.1 MB, free: 2.465 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003961/0.02354, allocations: 3.905 MB / 342 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.02458, allocations: 0.993 MB / 343 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007523/0.02533, allocations: 0.6887 MB / 343.7 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.429e-05/0.02537, allocations: 8.656 kB / 343.7 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006158/0.02598, allocations: 0.6439 MB / 344.4 MB, free: 12.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=75): time 2.054e-06/0.02599, allocations: 0 / 344.4 MB, free: 12.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=75): time 0.004365/0.03035, allocations: 2.755 MB / 347.1 MB, free: 9.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.501e-05/0.03043, allocations: 119.5 kB / 347.2 MB, free: 9.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007716/0.0312, allocations: 0.8246 MB / 348.1 MB, free: 8.352 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.457e-05/0.03124, allocations: 37.7 kB / 348.1 MB, free: 8.309 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000285/0.03153, allocations: 0.489 MB / 348.6 MB, free: 7.812 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.03167, allocations: 253.8 kB / 348.8 MB, free: 7.562 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.03182, allocations: 138.6 kB / 349 MB, free: 7.422 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003868/0.03221, allocations: 394.7 kB / 349.4 MB, free: 7.027 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003935/0.0326, allocations: 393.7 kB / 349.7 MB, free: 6.645 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000481/0.03308, allocations: 0.5957 MB / 350.3 MB, free: 5.977 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008448/0.03393, allocations: 0.9093 MB / 351.2 MB, free: 5.012 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.03393, allocations: 3.938 kB / 351.3 MB, free: 5.008 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001299/0.03523, allocations: 1.286 MB / 352.5 MB, free: 3.711 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.03525, allocations: 8 kB / 352.5 MB, free: 3.703 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.03526, allocations: 7.984 kB / 352.6 MB, free: 3.695 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006913/0.03595, allocations: 472.7 kB / 353 MB, free: 3.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.03616, allocations: 95.83 kB / 353.1 MB, free: 3.137 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004781/0.04094, allocations: 5.401 MB / 358.5 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003052/0.04124, allocations: 103.6 kB / 358.6 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/0.04127, allocations: 20 kB / 358.6 MB, free: 13.49 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.0004666/0.04174, allocations: 463.5 kB / 359.1 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.266e-05/0.04182, allocations: 95.36 kB / 359.2 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.04194, allocations: 108.6 kB / 359.3 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.04195, allocations: 8 kB / 359.3 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.04195, allocations: 3.938 kB / 359.3 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.04196, allocations: 7.984 kB / 359.3 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002423/0.04438, allocations: 2.426 MB / 361.7 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.04438, allocations: 0 / 361.7 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.04454, allocations: 67.89 kB / 361.8 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005816/0.04512, allocations: 448.7 kB / 362.2 MB, free: 9.82 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.268e-05/0.04515, allocations: 23.98 kB / 362.3 MB, free: 9.797 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004531/0.04969, allocations: 5.34 MB / 367.6 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.04969, allocations: 0 / 367.6 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.05153, allocations: 1.897 MB / 369.5 MB, free: 2.414 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003325/0.05186, allocations: 203.2 kB / 369.7 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.048e-05/0.05193, allocations: 23.94 kB / 369.7 MB, free: 2.191 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.05215, allocations: 39.95 kB / 369.8 MB, free: 2.152 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.0523, allocations: 80.5 kB / 369.8 MB, free: 2.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.835e-05/0.05234, allocations: 16 kB / 369.8 MB, free: 2.055 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005647/0.05291, allocations: 0.5927 MB / 370.4 MB, free: 1.469 MB / 330.7 MB Notification: Performance of sort global known variables: time 2e-07/0.05291, allocations: 0 / 370.4 MB, free: 1.469 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001005/0.05391, allocations: 343.3 kB / 370.8 MB, free: 1.133 MB / 330.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.002219/0.05613, allocations: 2.487 MB / 373.3 MB, free: 14.62 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00158/0.05771, allocations: 1.247 MB / 374.5 MB, free: 13.36 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.05771, allocations: 0 / 374.5 MB, free: 13.36 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009481/0.05866, allocations: 0.7938 MB / 375.3 MB, free: 12.55 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009183/0.05958, allocations: 274.4 kB / 375.6 MB, free: 12.29 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/0.07031, allocations: 9.796 MB / 385.4 MB, free: 2.258 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005339/0.07084, allocations: 0.7299 MB / 386.1 MB, free: 1.492 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003097/0.07115, allocations: 143.3 kB / 386.2 MB, free: 1.348 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000322/0.07147, allocations: 388.4 kB / 386.6 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of SimCode: time 1.683e-06/0.07147, allocations: 0 / 386.6 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04498/0.1165, allocations: 29.71 MB / 416.3 MB, free: 3.637 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.434/8.551, allocations: 8.062 kB / 416.3 MB, free: 3.629 MB / 378.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 10.27965709939599]