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.001119/0.001119, allocations: 98.61 kB / 17.59 MB, free: 5.422 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.001202/0.001202, allocations: 191.3 kB / 18.52 MB, free: 4.496 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.355/1.355, allocations: 222.9 MB / 242.2 MB, free: 15.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009901/0.0009902, allocations: 50.42 kB / 301.3 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08225/0.08326, allocations: 49.45 MB / 350.7 MB, free: 4.438 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004919/0.08821, allocations: 3.693 MB / 354.4 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.08987, allocations: 0.9157 MB / 355.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000332/0.09023, allocations: 15.94 kB / 355.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000255/0.09049, allocations: 79.22 kB / 355.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004409/0.09097, allocations: 138.7 kB / 355.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003733/0.09135, allocations: 167.7 kB / 355.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006569/0.09202, allocations: 0.607 MB / 356.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003486/0.09238, allocations: 212.1 kB / 356.6 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003072/0.0927, allocations: 227.2 kB / 356.8 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003532/0.09306, allocations: 254.8 kB / 357 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.577e-05/0.09317, allocations: 56 kB / 357.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.987e-05/0.09328, allocations: 56 kB / 357.1 MB, free: 14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.09339, allocations: 111.6 kB / 357.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002622/0.09366, allocations: 274.7 kB / 357.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005364/0.0942, allocations: 0.6152 MB / 358.1 MB, free: 13 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.09422, allocations: 3.938 kB / 358.1 MB, free: 13 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.09422, allocations: 4 kB / 358.1 MB, free: 12.99 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.694e-05/0.09425, allocations: 0 / 358.1 MB, free: 12.99 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.001412/0.09567, allocations: 0.7845 MB / 358.9 MB, free: 12.15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.09571, allocations: 8.031 kB / 358.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.09583, allocations: 56.28 kB / 359 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004606/0.0963, allocations: 360.2 kB / 359.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.09634, allocations: 37.36 kB / 359.4 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.031e-05/0.09642, allocations: 44.36 kB / 359.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007361/0.09716, allocations: 465.5 kB / 359.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.09719, allocations: 4 kB / 359.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.334e-05/0.09724, allocations: 16 kB / 359.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.09726, allocations: 8 kB / 359.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006096/0.09787, allocations: 327.8 kB / 360.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002363/0.1002, allocations: 1.859 MB / 362.1 MB, free: 8.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007641/0.101, allocations: 0.6014 MB / 362.7 MB, free: 8.176 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005647/0.1016, allocations: 269.3 kB / 362.9 MB, free: 7.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.1016, allocations: 4.328 kB / 363 MB, free: 7.906 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004447/0.1021, allocations: 277.1 kB / 363.2 MB, free: 7.617 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.345e-06/0.1021, allocations: 7.938 kB / 363.2 MB, free: 7.609 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.00232/0.1044, allocations: 0.8383 MB / 364.1 MB, free: 6.742 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.1045, allocations: 81.11 kB / 364.1 MB, free: 6.645 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003291/0.1048, allocations: 312.5 kB / 364.5 MB, free: 6.332 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.897e-05/0.1049, allocations: 33.7 kB / 364.5 MB, free: 6.293 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.105, allocations: 232.2 kB / 364.7 MB, free: 6.062 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.1052, allocations: 134 kB / 364.8 MB, free: 5.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.1053, allocations: 82.25 kB / 364.9 MB, free: 5.844 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.1054, allocations: 354.7 kB / 365.3 MB, free: 5.488 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/0.1057, allocations: 121.1 kB / 365.4 MB, free: 5.367 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000305/0.106, allocations: 252.9 kB / 365.6 MB, free: 5.066 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005317/0.1065, allocations: 386.6 kB / 366 MB, free: 4.637 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.1065, allocations: 0 / 366 MB, free: 4.637 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008815/0.1074, allocations: 0.505 MB / 366.5 MB, free: 4.121 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1075, allocations: 8 kB / 366.5 MB, free: 4.113 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.1075, allocations: 4.469 kB / 366.5 MB, free: 4.109 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004694/0.1079, allocations: 160.6 kB / 366.7 MB, free: 3.949 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/0.1082, allocations: 59.91 kB / 366.7 MB, free: 3.891 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002777/0.111, allocations: 2.538 MB / 369.3 MB, free: 1.211 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002776/0.1113, allocations: 43.59 kB / 369.3 MB, free: 1.168 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/0.1113, allocations: 16 kB / 369.3 MB, free: 1.152 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.0002252/0.1116, allocations: 186.6 kB / 369.5 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.555e-05/0.1116, allocations: 35.62 kB / 369.6 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.583e-05/0.1117, allocations: 48.23 kB / 369.6 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1117, allocations: 11.94 kB / 369.6 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.1118, allocations: 0 / 369.6 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.1118, allocations: 0 / 369.6 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1512/0.263, allocations: 1.021 MB / 370.6 MB, free: 25.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.263, allocations: 0.5938 kB / 370.6 MB, free: 25.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/0.2632, allocations: 39.44 kB / 370.7 MB, free: 25.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004723/0.2637, allocations: 145.1 kB / 370.8 MB, free: 25.42 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.722e-05/0.2638, allocations: 10.98 kB / 370.8 MB, free: 25.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002655/0.2664, allocations: 2.545 MB / 373.4 MB, free: 23.95 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.2665, allocations: 4.781 kB / 373.4 MB, free: 23.95 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.2676, allocations: 0.7089 MB / 374.1 MB, free: 23.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001891/0.2678, allocations: 155.7 kB / 374.2 MB, free: 23.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.392e-05/0.2679, allocations: 13.84 kB / 374.3 MB, free: 23.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.2682, allocations: 13.09 kB / 374.3 MB, free: 23.49 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.2683, allocations: 37 kB / 374.3 MB, free: 23.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/0.2683, allocations: 10.5 kB / 374.3 MB, free: 23.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002547/0.2686, allocations: 221 kB / 374.5 MB, free: 23.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.2686, allocations: 4.406 kB / 374.5 MB, free: 23.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006895/0.2693, allocations: 145.8 kB / 374.7 MB, free: 23.34 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.0001454/0.2694, allocations: 115.9 kB / 374.8 MB, free: 23.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.2705, allocations: 0.5465 MB / 375.3 MB, free: 22.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.2705, allocations: 0 / 375.3 MB, free: 22.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000519/0.271, allocations: 392.8 kB / 375.7 MB, free: 22.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004919/0.2715, allocations: 91.2 kB / 375.8 MB, free: 22.71 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.2731, allocations: 0.8843 MB / 376.7 MB, free: 22.22 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.2735, allocations: 0.8294 MB / 377.5 MB, free: 21.53 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.424e-05/0.2736, allocations: 29.64 kB / 377.6 MB, free: 21.52 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2736, allocations: 0 / 377.6 MB, free: 21.52 MB / 302.1 MB Notification: Performance of Templates: time 0.012/0.2856, allocations: 7.002 MB / 384.6 MB, free: 19.85 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/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