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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 108.4 kB / 18.34 MB, free: 4.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 190.9 kB / 19.28 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB 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.00129/0.001291, allocations: 51.92 kB / 282.1 MB, free: 2.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08754/0.08885, allocations: 46.63 MB / 328.7 MB, free: 3.727 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005079/0.09397, allocations: 3.658 MB / 332.4 MB, free: 40 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.09561, allocations: 0.9553 MB / 333.3 MB, free: 15.08 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001951/0.09582, allocations: 15.88 kB / 333.4 MB, free: 15.06 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002629/0.09613, allocations: 75.22 kB / 333.4 MB, free: 14.99 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003335/0.09648, allocations: 142.8 kB / 333.6 MB, free: 14.85 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00033/0.09682, allocations: 163.8 kB / 333.7 MB, free: 14.69 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005721/0.0974, allocations: 0.5992 MB / 334.3 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003256/0.09774, allocations: 207.4 kB / 334.5 MB, free: 13.88 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002655/0.09801, allocations: 231.1 kB / 334.8 MB, free: 13.66 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000307/0.09833, allocations: 242.9 kB / 335 MB, free: 13.42 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.238e-05/0.09842, allocations: 60 kB / 335.1 MB, free: 13.36 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.879e-05/0.09851, allocations: 56 kB / 335.1 MB, free: 13.3 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.09864, allocations: 119.5 kB / 335.2 MB, free: 13.19 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002709/0.09892, allocations: 270.7 kB / 335.5 MB, free: 12.92 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006118/0.09954, allocations: 0.6112 MB / 336.1 MB, free: 12.31 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.09955, allocations: 0 / 336.1 MB, free: 12.31 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.09957, allocations: 4 kB / 336.1 MB, free: 12.3 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.09958, allocations: 0 / 336.1 MB, free: 12.3 MB / 286.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.00158/0.1012, allocations: 0.7766 MB / 336.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.1012, allocations: 12.03 kB / 336.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.1014, allocations: 52.38 kB / 336.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005539/0.1019, allocations: 368.1 kB / 337.3 MB, free: 11.02 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.445e-05/0.102, allocations: 33.38 kB / 337.3 MB, free: 10.98 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.234e-05/0.1021, allocations: 44.38 kB / 337.4 MB, free: 10.94 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008032/0.1029, allocations: 453.5 kB / 337.8 MB, free: 10.47 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.1029, allocations: 4 kB / 337.8 MB, free: 10.47 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.732e-05/0.103, allocations: 19.98 kB / 337.9 MB, free: 10.45 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/0.103, allocations: 15.98 kB / 337.9 MB, free: 10.43 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005869/0.1036, allocations: 311.8 kB / 338.2 MB, free: 10.13 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002323/0.1059, allocations: 1.82 MB / 340 MB, free: 8.203 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007916/0.1067, allocations: 0.6129 MB / 340.6 MB, free: 7.527 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005702/0.1073, allocations: 277.4 kB / 340.9 MB, free: 7.254 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.164e-05/0.1074, allocations: 8.312 kB / 340.9 MB, free: 7.246 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004723/0.1079, allocations: 265.1 kB / 341.1 MB, free: 6.969 MB / 286.1 MB Notification: Performance of pre-optimization done (n=43): time 2.184e-06/0.1079, allocations: 0 / 341.1 MB, free: 6.969 MB / 286.1 MB Notification: Performance of matching and sorting (n=43): time 0.002228/0.1101, allocations: 0.8394 MB / 342 MB, free: 6.102 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.397e-05/0.1102, allocations: 89.09 kB / 342.1 MB, free: 5.996 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003452/0.1105, allocations: 308.5 kB / 342.4 MB, free: 5.68 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.153e-05/0.1106, allocations: 37.7 kB / 342.4 MB, free: 5.637 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.1108, allocations: 220.3 kB / 342.6 MB, free: 5.418 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.1109, allocations: 134 kB / 342.8 MB, free: 5.285 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.111, allocations: 86.25 kB / 342.8 MB, free: 5.195 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1112, allocations: 354.7 kB / 343.2 MB, free: 4.84 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/0.1114, allocations: 117.1 kB / 343.3 MB, free: 4.727 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003628/0.1118, allocations: 257 kB / 343.5 MB, free: 4.418 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005819/0.1124, allocations: 377.9 kB / 343.9 MB, free: 3.996 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.1124, allocations: 0 / 343.9 MB, free: 3.996 MB / 286.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008715/0.1133, allocations: 0.5016 MB / 344.4 MB, free: 3.484 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.1133, allocations: 4 kB / 344.4 MB, free: 3.48 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.1134, allocations: 4 kB / 344.4 MB, free: 3.477 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004886/0.1138, allocations: 152.6 kB / 344.6 MB, free: 3.324 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.1141, allocations: 72.02 kB / 344.6 MB, free: 3.254 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002947/0.1171, allocations: 2.548 MB / 347.2 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/0.1173, allocations: 35.67 kB / 347.2 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.15e-05/0.1174, allocations: 24 kB / 347.3 MB, free: 0.5117 MB / 286.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.0002244/0.1176, allocations: 170.2 kB / 347.4 MB, free: 344 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.734e-05/0.1177, allocations: 47.5 kB / 347.5 MB, free: 296 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.287e-05/0.1178, allocations: 48.3 kB / 347.5 MB, free: 248 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.1178, allocations: 7.938 kB / 347.5 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1178, allocations: 0 / 347.5 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1178, allocations: 0 / 347.5 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001582/0.1194, allocations: 1.028 MB / 348.5 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.1194, allocations: 0 / 348.5 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.1196, allocations: 39.97 kB / 348.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004037/0.12, allocations: 144.1 kB / 348.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-05/0.1201, allocations: 8 kB / 348.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002892/0.123, allocations: 2.534 MB / 351.3 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.123, allocations: 0 / 351.3 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.1241, allocations: 0.7132 MB / 352 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000196/0.1243, allocations: 160.5 kB / 352.1 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.753e-05/0.1244, allocations: 15.94 kB / 352.2 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/0.1246, allocations: 15.98 kB / 352.2 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.644e-05/0.1247, allocations: 39.73 kB / 352.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.478e-05/0.1247, allocations: 11.94 kB / 352.2 MB, free: 11.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002141/0.1249, allocations: 219.1 kB / 352.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.125, allocations: 0 / 352.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006072/0.1256, allocations: 139.8 kB / 352.6 MB, free: 10.93 MB / 302.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.0001704/0.1257, allocations: 124 kB / 352.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.1268, allocations: 0.5485 MB / 353.2 MB, free: 10.24 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.1268, allocations: 0.9375 kB / 353.2 MB, free: 10.24 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005315/0.1273, allocations: 382.4 kB / 353.6 MB, free: 9.855 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.1278, allocations: 69 kB / 353.7 MB, free: 9.789 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.1294, allocations: 0.8556 MB / 354.5 MB, free: 8.906 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.1298, allocations: 0.8279 MB / 355.4 MB, free: 8.051 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001285/0.1299, allocations: 43.38 kB / 355.4 MB, free: 8.008 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.568e-05/0.13, allocations: 27.44 kB / 355.4 MB, free: 7.984 MB / 302.1 MB Notification: Performance of SimCode: time 1.753e-06/0.13, allocations: 0 / 355.4 MB, free: 7.984 MB / 302.1 MB Notification: Performance of Templates: time 0.01168/0.1417, allocations: 6.878 MB / 362.3 MB, free: 1.105 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (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 & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) 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) Reference file matches