Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001354/0.001354, allocations: 111.4 kB / 17.98 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00145/0.00145, allocations: 205.8 kB / 18.92 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 247.1 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001292, allocations: 63.95 kB / 307.1 MB, free: 0.918 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08975/0.09107, allocations: 50.53 MB / 357.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004677/0.09578, allocations: 3.78 MB / 361.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.09745, allocations: 0.9741 MB / 362.4 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002045/0.09767, allocations: 11.94 kB / 362.4 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.09789, allocations: 55.53 kB / 362.5 MB, free: 9.527 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003311/0.09826, allocations: 123 kB / 362.6 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003735/0.09864, allocations: 151.8 kB / 362.7 MB, free: 9.258 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005709/0.09922, allocations: 0.6226 MB / 363.4 MB, free: 8.633 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003454/0.09958, allocations: 216 kB / 363.6 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003236/0.09991, allocations: 239.1 kB / 363.8 MB, free: 8.188 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002866/0.1002, allocations: 246.9 kB / 364.1 MB, free: 7.945 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.22e-05/0.1003, allocations: 56 kB / 364.1 MB, free: 7.891 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.1004, allocations: 67.88 kB / 364.2 MB, free: 7.824 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.1005, allocations: 111.7 kB / 364.3 MB, free: 7.715 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002314/0.1008, allocations: 286.6 kB / 364.6 MB, free: 7.434 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004635/0.1012, allocations: 498.8 kB / 365 MB, free: 6.945 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1012, allocations: 0 / 365 MB, free: 6.945 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.1012, allocations: 3.984 kB / 365.1 MB, free: 6.941 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.1013, allocations: 4 kB / 365.1 MB, free: 6.938 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.001328/0.1026, allocations: 0.7883 MB / 365.8 MB, free: 6.094 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.1026, allocations: 12.03 kB / 365.9 MB, free: 6.082 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002045/0.1029, allocations: 68.27 kB / 365.9 MB, free: 6.016 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004343/0.1033, allocations: 372.7 kB / 366.3 MB, free: 5.617 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.948e-05/0.1033, allocations: 33.38 kB / 366.3 MB, free: 5.586 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.705e-05/0.1034, allocations: 44.36 kB / 366.4 MB, free: 5.543 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00073/0.1041, allocations: 469.5 kB / 366.8 MB, free: 5.062 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.1042, allocations: 0 / 366.8 MB, free: 5.062 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.843e-05/0.1042, allocations: 16 kB / 366.8 MB, free: 5.047 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.1042, allocations: 8 kB / 366.8 MB, free: 5.039 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005614/0.1048, allocations: 323.8 kB / 367.2 MB, free: 4.719 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002334/0.1072, allocations: 1.867 MB / 369 MB, free: 2.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007643/0.1079, allocations: 0.6248 MB / 369.7 MB, free: 2.062 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005405/0.1085, allocations: 271.8 kB / 369.9 MB, free: 1.797 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.813e-05/0.1085, allocations: 8.312 kB / 369.9 MB, free: 1.789 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004362/0.109, allocations: 269.2 kB / 370.2 MB, free: 1.508 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.764e-06/0.109, allocations: 0 / 370.2 MB, free: 1.508 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002262/0.1113, allocations: 0.8422 MB / 371 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/0.1113, allocations: 85.05 kB / 371.1 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003298/0.1117, allocations: 324.5 kB / 371.4 MB, free: 216 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.387e-05/0.1117, allocations: 41.7 kB / 371.5 MB, free: 168 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1479/0.2596, allocations: 212.3 kB / 371.7 MB, free: 20.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.2598, allocations: 139.1 kB / 371.8 MB, free: 20.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.26, allocations: 84.89 kB / 371.9 MB, free: 20.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.537e-05/0.2601, allocations: 348.2 kB / 372.2 MB, free: 20.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/0.2603, allocations: 124.3 kB / 372.4 MB, free: 20.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002687/0.2606, allocations: 254.8 kB / 372.6 MB, free: 20.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004751/0.2611, allocations: 387.6 kB / 373 MB, free: 19.9 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.2611, allocations: 1.344 kB / 373 MB, free: 19.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.000854/0.2619, allocations: 0.5068 MB / 373.5 MB, free: 19.81 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.262, allocations: 6.281 kB / 373.5 MB, free: 19.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.262, allocations: 8.938 kB / 373.5 MB, free: 19.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004642/0.2625, allocations: 150.4 kB / 373.7 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.2627, allocations: 68.77 kB / 373.7 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002349/0.2651, allocations: 2.543 MB / 376.3 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002579/0.2653, allocations: 40.47 kB / 376.3 MB, free: 17.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-05/0.2654, allocations: 19.12 kB / 376.3 MB, free: 17.76 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.0001776/0.2656, allocations: 184.4 kB / 376.5 MB, free: 17.6 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.512e-05/0.2656, allocations: 44.38 kB / 376.5 MB, free: 17.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.568e-05/0.2657, allocations: 49.03 kB / 376.6 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.2657, allocations: 5.031 kB / 376.6 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.2657, allocations: 0 / 376.6 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.2657, allocations: 2.062 kB / 376.6 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.267, allocations: 1.029 MB / 377.6 MB, free: 16.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.267, allocations: 0 / 377.6 MB, free: 16.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.2672, allocations: 40.2 kB / 377.7 MB, free: 16.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003629/0.2676, allocations: 142.6 kB / 377.8 MB, free: 16.87 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.757e-05/0.2676, allocations: 8.047 kB / 377.8 MB, free: 16.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002114/0.2697, allocations: 2.532 MB / 380.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2697, allocations: 5.125 kB / 380.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009606/0.2707, allocations: 0.7143 MB / 381.1 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.2708, allocations: 155.3 kB / 381.2 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.504e-05/0.2709, allocations: 15.8 kB / 381.2 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.2711, allocations: 16.88 kB / 381.3 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.897e-05/0.2712, allocations: 35.64 kB / 381.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.2713, allocations: 17.17 kB / 381.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002006/0.2715, allocations: 230 kB / 381.5 MB, free: 14.13 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.2715, allocations: 0 / 381.5 MB, free: 14.13 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005588/0.2721, allocations: 148.3 kB / 381.7 MB, free: 14.1 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.0001205/0.2722, allocations: 119.5 kB / 381.8 MB, free: 14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008604/0.273, allocations: 0.5449 MB / 382.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2731, allocations: 2.188 kB / 382.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004658/0.2735, allocations: 382 kB / 382.7 MB, free: 13.49 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004558/0.274, allocations: 91.31 kB / 382.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.2755, allocations: 1.086 MB / 383.9 MB, free: 12.76 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.2757, allocations: 0.8406 MB / 384.7 MB, free: 12.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.501e-05/0.2758, allocations: 29.52 kB / 384.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2758, allocations: 1.375 kB / 384.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of Templates: time 0.009218/0.2851, allocations: 7.133 MB / 391.9 MB, free: 9.914 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches