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.001055/0.001054, allocations: 111.4 kB / 17.68 MB, free: 5.496 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.001079/0.001079, allocations: 192 kB / 18.62 MB, free: 4.562 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.381/1.381, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009538/0.0009539, allocations: 46.81 kB / 302.1 MB, free: 5.141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08847/0.08944, allocations: 49.44 MB / 351.5 MB, free: 3.676 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004805/0.09428, allocations: 3.697 MB / 355.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.09609, allocations: 0.9271 MB / 356.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002364/0.09635, allocations: 11.94 kB / 356.1 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000219/0.09658, allocations: 75.22 kB / 356.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003345/0.09692, allocations: 142.7 kB / 356.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000336/0.09731, allocations: 167.8 kB / 356.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005815/0.0979, allocations: 0.6109 MB / 357.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003473/0.09826, allocations: 208.1 kB / 357.3 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002683/0.09854, allocations: 231.1 kB / 357.6 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002992/0.09885, allocations: 246.9 kB / 357.8 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.984e-05/0.09894, allocations: 56 kB / 357.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.068e-05/0.09902, allocations: 52 kB / 357.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.09915, allocations: 123.6 kB / 358 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002471/0.09941, allocations: 270.7 kB / 358.3 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005546/0.09997, allocations: 0.6306 MB / 358.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.09998, allocations: 0 / 358.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.09999, allocations: 0 / 358.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.1, allocations: 0 / 358.9 MB, free: 12.21 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.001317/0.1013, allocations: 0.7845 MB / 359.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.1014, allocations: 8.031 kB / 359.7 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.954e-05/0.1015, allocations: 60.28 kB / 359.8 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004885/0.102, allocations: 360.3 kB / 360.1 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.102, allocations: 37.31 kB / 360.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.838e-05/0.1021, allocations: 44.38 kB / 360.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007405/0.1028, allocations: 461.5 kB / 360.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.1029, allocations: 0 / 360.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.239e-05/0.1029, allocations: 23.98 kB / 360.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.103, allocations: 11.94 kB / 360.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006002/0.1036, allocations: 327.7 kB / 361 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00256/0.1061, allocations: 1.836 MB / 362.8 MB, free: 8.074 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008287/0.107, allocations: 0.6052 MB / 363.5 MB, free: 7.406 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005768/0.1076, allocations: 284.5 kB / 363.7 MB, free: 7.129 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.769e-05/0.1076, allocations: 4.328 kB / 363.7 MB, free: 7.125 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004721/0.1081, allocations: 269.2 kB / 364 MB, free: 6.844 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.693e-06/0.1081, allocations: 0 / 364 MB, free: 6.844 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002242/0.1104, allocations: 0.8422 MB / 364.8 MB, free: 5.973 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/0.1104, allocations: 85.11 kB / 364.9 MB, free: 5.871 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003172/0.1108, allocations: 312.5 kB / 365.2 MB, free: 5.559 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.1108, allocations: 33.7 kB / 365.3 MB, free: 5.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.1109, allocations: 220.3 kB / 365.5 MB, free: 5.301 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.1111, allocations: 134 kB / 365.6 MB, free: 5.168 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.1112, allocations: 94.25 kB / 365.7 MB, free: 5.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1114, allocations: 342.8 kB / 366 MB, free: 4.727 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/0.1116, allocations: 121.1 kB / 366.2 MB, free: 4.605 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000312/0.1119, allocations: 256.9 kB / 366.4 MB, free: 4.301 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005299/0.1124, allocations: 390.6 kB / 366.8 MB, free: 3.867 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1125, allocations: 0 / 366.8 MB, free: 3.867 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008294/0.1133, allocations: 0.5087 MB / 367.3 MB, free: 3.348 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.1133, allocations: 4 kB / 367.3 MB, free: 3.344 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.1133, allocations: 4 kB / 367.3 MB, free: 3.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004724/0.1138, allocations: 157 kB / 367.5 MB, free: 3.184 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/0.1141, allocations: 71.78 kB / 367.5 MB, free: 3.113 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002842/0.1169, allocations: 2.539 MB / 370.1 MB, free: 444 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002639/0.1172, allocations: 43.59 kB / 370.1 MB, free: 400 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/0.1172, allocations: 27.97 kB / 370.1 MB, free: 372 kB / 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.0002128/0.1175, allocations: 174.5 kB / 370.3 MB, free: 188 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.867e-05/0.1175, allocations: 35.62 kB / 370.3 MB, free: 152 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.111e-05/0.1176, allocations: 52.23 kB / 370.4 MB, free: 100 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.1176, allocations: 4 kB / 370.4 MB, free: 96 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.1177, allocations: 4 kB / 370.4 MB, free: 92 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.1177, allocations: 3.984 kB / 370.4 MB, free: 88 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1641/0.2818, allocations: 1.017 MB / 371.4 MB, free: 25.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.2819, allocations: 0.5625 kB / 371.4 MB, free: 25.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/0.2821, allocations: 38.55 kB / 371.5 MB, free: 25.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004285/0.2825, allocations: 141 kB / 371.6 MB, free: 25.42 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/0.2825, allocations: 9.562 kB / 371.6 MB, free: 25.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002509/0.285, allocations: 2.536 MB / 374.1 MB, free: 23.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2851, allocations: 2.344 kB / 374.1 MB, free: 23.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.2862, allocations: 0.712 MB / 374.9 MB, free: 23.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/0.2863, allocations: 150.4 kB / 375 MB, free: 23.21 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.362e-05/0.2864, allocations: 14.45 kB / 375 MB, free: 23.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/0.2866, allocations: 17.61 kB / 375 MB, free: 23.2 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.2867, allocations: 37.75 kB / 375.1 MB, free: 23.19 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-05/0.2868, allocations: 15.36 kB / 375.1 MB, free: 23.19 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002333/0.287, allocations: 216.9 kB / 375.3 MB, free: 23.06 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.287, allocations: 0.875 kB / 375.3 MB, free: 23.06 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006556/0.2877, allocations: 150 kB / 375.4 MB, free: 23.04 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.000158/0.2878, allocations: 122.7 kB / 375.6 MB, free: 22.94 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009623/0.2888, allocations: 0.5336 MB / 376.1 MB, free: 22.67 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2888, allocations: 1.031 kB / 376.1 MB, free: 22.67 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004999/0.2893, allocations: 379.1 kB / 376.5 MB, free: 22.45 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004897/0.2898, allocations: 83.09 kB / 376.5 MB, free: 22.42 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.2914, allocations: 0.851 MB / 377.4 MB, free: 21.95 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.2917, allocations: 0.8296 MB / 378.2 MB, free: 21.26 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001357/0.2918, allocations: 39.58 kB / 378.3 MB, free: 21.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.82e-05/0.2919, allocations: 31.3 kB / 378.3 MB, free: 21.24 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2919, allocations: 1.375 kB / 378.3 MB, free: 21.24 MB / 302.1 MB Notification: Performance of Templates: time 0.01304/0.305, allocations: 6.885 MB / 385.2 MB, free: 19.75 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins1/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