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.001127/0.001127, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00132/0.00132, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 247.5 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 63.92 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09498/0.09614, allocations: 50.53 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004825/0.101, allocations: 3.738 MB / 362.6 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.1026, allocations: 0.9933 MB / 363.6 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.1027, allocations: 11.94 kB / 363.7 MB, free: 8.562 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001925/0.103, allocations: 79.22 kB / 363.7 MB, free: 8.484 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003315/0.1033, allocations: 142.7 kB / 363.9 MB, free: 8.344 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.1037, allocations: 179.7 kB / 364 MB, free: 8.168 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005662/0.1042, allocations: 0.6187 MB / 364.7 MB, free: 7.547 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003995/0.1047, allocations: 216 kB / 364.9 MB, free: 7.336 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002972/0.105, allocations: 243 kB / 365.1 MB, free: 7.098 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002924/0.1053, allocations: 254.9 kB / 365.4 MB, free: 6.848 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.986e-05/0.1054, allocations: 56 kB / 365.4 MB, free: 6.793 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.1055, allocations: 56 kB / 365.5 MB, free: 6.738 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.1056, allocations: 123.5 kB / 365.6 MB, free: 6.617 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002332/0.1058, allocations: 278.6 kB / 365.9 MB, free: 6.344 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005384/0.1064, allocations: 0.6346 MB / 366.5 MB, free: 5.707 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1064, allocations: 0 / 366.5 MB, free: 5.707 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.1064, allocations: 0 / 366.5 MB, free: 5.707 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.1064, allocations: 3.938 kB / 366.5 MB, free: 5.703 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.001259/0.1077, allocations: 0.7998 MB / 367.3 MB, free: 4.848 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.1077, allocations: 8.031 kB / 367.3 MB, free: 4.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001932/0.1079, allocations: 72.27 kB / 367.4 MB, free: 4.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004677/0.1084, allocations: 376.8 kB / 367.7 MB, free: 4.367 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.1084, allocations: 33.38 kB / 367.8 MB, free: 4.336 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.91e-05/0.1085, allocations: 40.38 kB / 367.8 MB, free: 4.297 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000716/0.1092, allocations: 465.5 kB / 368.3 MB, free: 3.816 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.1093, allocations: 4 kB / 368.3 MB, free: 3.812 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.126e-05/0.1093, allocations: 19.98 kB / 368.3 MB, free: 3.793 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.1093, allocations: 8 kB / 368.3 MB, free: 3.785 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005949/0.1099, allocations: 327.7 kB / 368.6 MB, free: 3.465 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002258/0.1122, allocations: 1.844 MB / 370.5 MB, free: 1.516 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007529/0.113, allocations: 0.6255 MB / 371.1 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005474/0.1135, allocations: 273 kB / 371.4 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.418e-05/0.1136, allocations: 8.312 kB / 371.4 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000436/0.114, allocations: 269.1 kB / 371.6 MB, free: 280 kB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.663e-06/0.114, allocations: 0 / 371.6 MB, free: 280 kB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.1557/0.2697, allocations: 0.845 MB / 372.5 MB, free: 20.35 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.2698, allocations: 87.09 kB / 372.6 MB, free: 20.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003859/0.2702, allocations: 323.9 kB / 372.9 MB, free: 20.15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.848e-05/0.2702, allocations: 34.89 kB / 372.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.2703, allocations: 224 kB / 373.1 MB, free: 20.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.722e-05/0.2704, allocations: 140.1 kB / 373.3 MB, free: 19.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.2706, allocations: 87.16 kB / 373.4 MB, free: 19.95 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.856e-05/0.2707, allocations: 347.9 kB / 373.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002417/0.2709, allocations: 120.3 kB / 373.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002944/0.2712, allocations: 250.2 kB / 374.1 MB, free: 19.49 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005061/0.2717, allocations: 383 kB / 374.4 MB, free: 19.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.2717, allocations: 3.781 kB / 374.4 MB, free: 19.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008822/0.2726, allocations: 0.5113 MB / 374.9 MB, free: 19.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.2727, allocations: 6.781 kB / 375 MB, free: 19.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.2727, allocations: 4.609 kB / 375 MB, free: 19.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004717/0.2731, allocations: 150.2 kB / 375.1 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.2734, allocations: 68.95 kB / 375.2 MB, free: 19.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002429/0.2759, allocations: 2.536 MB / 377.7 MB, free: 17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002644/0.2761, allocations: 43.39 kB / 377.7 MB, free: 16.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.081e-05/0.2762, allocations: 14.36 kB / 377.8 MB, free: 16.97 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.0001735/0.2764, allocations: 185.6 kB / 377.9 MB, free: 16.81 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.485e-05/0.2764, allocations: 44.86 kB / 378 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.951e-05/0.2765, allocations: 48.56 kB / 378 MB, free: 16.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2765, allocations: 4.922 kB / 378 MB, free: 16.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2765, allocations: 0 / 378 MB, free: 16.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.2765, allocations: 2.109 kB / 378 MB, free: 16.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/0.2779, allocations: 1.035 MB / 379.1 MB, free: 16.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.2779, allocations: 3.938 kB / 379.1 MB, free: 16.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.2781, allocations: 35.45 kB / 379.1 MB, free: 16.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000373/0.2785, allocations: 139.3 kB / 379.3 MB, free: 16.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/0.2785, allocations: 9.453 kB / 379.3 MB, free: 16.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002218/0.2807, allocations: 2.53 MB / 381.8 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2808, allocations: 2.062 kB / 381.8 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.2818, allocations: 0.7161 MB / 382.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.2819, allocations: 158.2 kB / 382.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.442e-05/0.282, allocations: 15.77 kB / 382.7 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.2822, allocations: 14.12 kB / 382.7 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.738e-05/0.2823, allocations: 43.73 kB / 382.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.649e-05/0.2824, allocations: 10.83 kB / 382.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002006/0.2826, allocations: 231.5 kB / 383 MB, free: 13.33 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2826, allocations: 5.281 kB / 383 MB, free: 13.33 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005496/0.2831, allocations: 143.9 kB / 383.1 MB, free: 13.3 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.0001194/0.2833, allocations: 119.3 kB / 383.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008181/0.2841, allocations: 0.5411 MB / 383.8 MB, free: 12.92 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2841, allocations: 0 / 383.8 MB, free: 12.92 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004617/0.2846, allocations: 378.3 kB / 384.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004539/0.285, allocations: 73.67 kB / 384.2 MB, free: 12.67 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.2864, allocations: 0.8793 MB / 385.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.2867, allocations: 0.8321 MB / 385.9 MB, free: 11.47 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001254/0.2868, allocations: 35.67 kB / 386 MB, free: 11.46 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.253e-05/0.2869, allocations: 32.47 kB / 386 MB, free: 11.45 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2869, allocations: 0 / 386 MB, free: 11.45 MB / 302.1 MB Notification: Performance of Templates: time 0.01138/0.2983, allocations: 6.975 MB / 393 MB, free: 9.527 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 -s gbode -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