Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) 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: 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_4.0.0_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_4.0.0_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.001595/0.001595, allocations: 100.3 kB / 16.5 MB, free: 6.699 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.001512/0.001512, allocations: 193.9 kB / 17.42 MB, free: 6.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 241.1 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009139/0.0009139, allocations: 46.77 kB / 300 MB, free: 6.297 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08459/0.08552, allocations: 49.45 MB / 349.4 MB, free: 4.836 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004605/0.09017, allocations: 3.731 MB / 353.1 MB, free: 1.074 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.09151, allocations: 0.9118 MB / 354.1 MB, free: 164 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001697/0.0917, allocations: 11.94 kB / 354.1 MB, free: 152 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001993/0.0919, allocations: 51.55 kB / 354.1 MB, free: 100 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002823/0.0922, allocations: 127 kB / 354.2 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.0925, allocations: 139.9 kB / 354.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004739/0.09298, allocations: 0.5719 MB / 355 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003128/0.0933, allocations: 187.2 kB / 355.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002489/0.09356, allocations: 199.2 kB / 355.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.09384, allocations: 234.8 kB / 355.6 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.947e-05/0.09391, allocations: 32 kB / 355.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.364e-05/0.09399, allocations: 32 kB / 355.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.09409, allocations: 107.5 kB / 355.7 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002235/0.09432, allocations: 242.7 kB / 356 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005024/0.09483, allocations: 0.5878 MB / 356.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.09484, allocations: 0 / 356.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.001e-06/0.09485, allocations: 0 / 356.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.09486, allocations: 0 / 356.6 MB, free: 13.65 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001198/0.09607, allocations: 0.7845 MB / 357.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.09611, allocations: 8.031 kB / 357.3 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.55e-05/0.09621, allocations: 56.28 kB / 357.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000378/0.0966, allocations: 356.2 kB / 357.7 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/0.09663, allocations: 33.38 kB / 357.8 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.552e-05/0.09671, allocations: 52.3 kB / 357.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007208/0.09743, allocations: 457.5 kB / 358.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.09746, allocations: 7.938 kB / 358.3 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.05e-05/0.09751, allocations: 16 kB / 358.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.09753, allocations: 8 kB / 358.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005605/0.09809, allocations: 323.8 kB / 358.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002152/0.1003, allocations: 1.859 MB / 360.5 MB, free: 9.508 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007351/0.101, allocations: 0.6008 MB / 361.1 MB, free: 8.844 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005189/0.1015, allocations: 273.3 kB / 361.4 MB, free: 8.574 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.925e-05/0.1016, allocations: 8.328 kB / 361.4 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004334/0.102, allocations: 277.2 kB / 361.6 MB, free: 8.277 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 3.266e-06/0.102, allocations: 3.984 kB / 361.6 MB, free: 8.273 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002596/0.1046, allocations: 0.8383 MB / 362.5 MB, free: 7.406 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.055e-05/0.1047, allocations: 89.09 kB / 362.6 MB, free: 7.301 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004785/0.1052, allocations: 312.5 kB / 362.9 MB, free: 6.988 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.889e-05/0.1053, allocations: 33.7 kB / 362.9 MB, free: 6.949 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.1055, allocations: 216.3 kB / 363.1 MB, free: 6.734 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.1056, allocations: 138 kB / 363.2 MB, free: 6.598 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/0.1058, allocations: 82.25 kB / 363.3 MB, free: 6.512 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.106, allocations: 350.7 kB / 363.7 MB, free: 6.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003602/0.1064, allocations: 125.1 kB / 363.8 MB, free: 6.035 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004929/0.1069, allocations: 256.9 kB / 364 MB, free: 5.734 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008552/0.1078, allocations: 386.6 kB / 364.4 MB, free: 5.305 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.1078, allocations: 3.938 kB / 364.4 MB, free: 5.301 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001321/0.1091, allocations: 0.4938 MB / 364.9 MB, free: 4.797 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.1092, allocations: 8 kB / 364.9 MB, free: 4.789 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.1092, allocations: 4 kB / 364.9 MB, free: 4.785 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006882/0.1099, allocations: 168.5 kB / 365.1 MB, free: 4.617 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003578/0.1103, allocations: 59.91 kB / 365.2 MB, free: 4.559 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003964/0.1142, allocations: 2.311 MB / 367.5 MB, free: 2.121 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004022/0.1146, allocations: 35.69 kB / 367.5 MB, free: 2.086 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-05/0.1147, allocations: 20 kB / 367.5 MB, free: 2.066 MB / 302.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_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_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.0002987/0.115, allocations: 185.7 kB / 367.7 MB, free: 1.875 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.424e-05/0.1151, allocations: 39.53 kB / 367.7 MB, free: 1.836 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.1152, allocations: 48.3 kB / 367.8 MB, free: 1.789 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.1153, allocations: 4.141 kB / 367.8 MB, free: 1.785 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.1153, allocations: 7.922 kB / 367.8 MB, free: 1.777 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.1153, allocations: 0 / 367.8 MB, free: 1.777 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002181/0.1175, allocations: 1.024 MB / 368.8 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.1175, allocations: 0 / 368.8 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000272/0.1178, allocations: 39.92 kB / 368.9 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000608/0.1184, allocations: 140.7 kB / 369 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.002e-05/0.1185, allocations: 8.031 kB / 369 MB, free: 0.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2222/0.3407, allocations: 2.297 MB / 371.3 MB, free: 24.36 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.3407, allocations: 4.344 kB / 371.3 MB, free: 24.36 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001834/0.3426, allocations: 0.7118 MB / 372 MB, free: 24.21 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002669/0.3429, allocations: 154.5 kB / 372.2 MB, free: 24.12 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.993e-05/0.343, allocations: 9.125 kB / 372.2 MB, free: 24.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003982/0.3434, allocations: 17.52 kB / 372.2 MB, free: 24.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.3435, allocations: 33.58 kB / 372.2 MB, free: 24.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-05/0.3436, allocations: 14.7 kB / 372.2 MB, free: 24.1 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004225/0.344, allocations: 218.7 kB / 372.5 MB, free: 23.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 4e-07/0.344, allocations: 0 / 372.5 MB, free: 23.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001125/0.3452, allocations: 147.7 kB / 372.6 MB, free: 23.96 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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.0001726/0.3454, allocations: 120.1 kB / 372.7 MB, free: 23.87 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001484/0.3469, allocations: 0.5295 MB / 373.2 MB, free: 23.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.3469, allocations: 0.5312 kB / 373.2 MB, free: 23.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007778/0.3477, allocations: 385.5 kB / 373.6 MB, free: 23.39 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008032/0.3485, allocations: 81.91 kB / 373.7 MB, free: 23.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/0.3509, allocations: 1.033 MB / 374.7 MB, free: 22.73 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.3512, allocations: 0.8289 MB / 375.6 MB, free: 22.04 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002533/0.3515, allocations: 38.3 kB / 375.6 MB, free: 22.03 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.667e-05/0.3516, allocations: 27.42 kB / 375.6 MB, free: 22.02 MB / 302.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3516, allocations: 1.375 kB / 375.6 MB, free: 22.02 MB / 302.1 MB Notification: Performance of Templates: time 0.01883/0.3705, allocations: 6.394 MB / 382 MB, free: 21.04 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches