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.001135/0.001135, allocations: 109.5 kB / 17.06 MB, free: 6.125 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.001017/0.001017, allocations: 191 kB / 18 MB, free: 5.207 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.369/1.369, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009421/0.0009422, allocations: 51.92 kB / 351.3 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2584, allocations: 49.43 MB / 400.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004916/0.2633, allocations: 3.707 MB / 404.5 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.2649, allocations: 0.9167 MB / 405.4 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001874/0.2651, allocations: 11.94 kB / 405.4 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002415/0.2654, allocations: 75.22 kB / 405.5 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003221/0.2657, allocations: 154.7 kB / 405.6 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003143/0.266, allocations: 159.8 kB / 405.8 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000547/0.2666, allocations: 0.607 MB / 406.4 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003235/0.2669, allocations: 216 kB / 406.6 MB, free: 2.984 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002408/0.2672, allocations: 239.1 kB / 406.8 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002773/0.2675, allocations: 242.9 kB / 407 MB, free: 2.512 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.044e-05/0.2675, allocations: 56 kB / 407.1 MB, free: 2.457 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.98e-05/0.2676, allocations: 56 kB / 407.2 MB, free: 2.402 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.2677, allocations: 115.6 kB / 407.3 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002301/0.268, allocations: 274.7 kB / 407.5 MB, free: 2.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005324/0.2685, allocations: 0.6344 MB / 408.2 MB, free: 1.387 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2685, allocations: 0 / 408.2 MB, free: 1.387 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2685, allocations: 0 / 408.2 MB, free: 1.387 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.2685, allocations: 0 / 408.2 MB, free: 1.387 MB / 318.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.001191/0.2697, allocations: 0.7769 MB / 408.9 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.2698, allocations: 8.031 kB / 409 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.2699, allocations: 60.27 kB / 409 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000425/0.2703, allocations: 372.1 kB / 409.4 MB, free: 96 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.2704, allocations: 33.38 kB / 409.4 MB, free: 64 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.961e-05/0.2704, allocations: 44.38 kB / 409.5 MB, free: 20 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006998/0.2712, allocations: 461.5 kB / 409.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.2712, allocations: 0 / 409.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.988e-05/0.2712, allocations: 16 kB / 409.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.2712, allocations: 12 kB / 409.9 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005608/0.2718, allocations: 327.7 kB / 410.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002184/0.274, allocations: 1.843 MB / 412.1 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000756/0.2748, allocations: 0.5974 MB / 412.7 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000551/0.2753, allocations: 282.5 kB / 413 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.714e-05/0.2754, allocations: 4.328 kB / 413 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004286/0.2758, allocations: 273.2 kB / 413.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 1.693e-06/0.2758, allocations: 0 / 413.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.002194/0.278, allocations: 0.8422 MB / 414.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/0.2781, allocations: 89.09 kB / 414.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003312/0.2784, allocations: 304.6 kB / 414.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.2785, allocations: 41.7 kB / 414.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.2786, allocations: 212.3 kB / 414.7 MB, free: 10.47 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.846e-05/0.2787, allocations: 138.1 kB / 414.9 MB, free: 10.33 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.2789, allocations: 86.16 kB / 414.9 MB, free: 10.24 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.279, allocations: 350.7 kB / 415.3 MB, free: 9.891 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.2792, allocations: 117.1 kB / 415.4 MB, free: 9.777 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002936/0.2796, allocations: 257 kB / 415.6 MB, free: 9.469 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005005/0.2801, allocations: 383.1 kB / 416 MB, free: 9.043 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2801, allocations: 0 / 416 MB, free: 9.043 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008031/0.2809, allocations: 0.5013 MB / 416.5 MB, free: 8.531 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.2809, allocations: 10.5 kB / 416.5 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.2809, allocations: 4.469 kB / 416.5 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004523/0.2814, allocations: 152.7 kB / 416.7 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/0.2816, allocations: 67.84 kB / 416.7 MB, free: 8.301 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002792/0.2844, allocations: 2.547 MB / 419.3 MB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/0.2847, allocations: 43.72 kB / 419.3 MB, free: 5.574 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.2847, allocations: 16 kB / 419.4 MB, free: 5.559 MB / 334.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.0002209/0.2849, allocations: 182.5 kB / 419.5 MB, free: 5.371 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.805e-05/0.285, allocations: 51.45 kB / 419.6 MB, free: 5.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.107e-05/0.2851, allocations: 48.23 kB / 419.6 MB, free: 5.273 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.2851, allocations: 4 kB / 419.6 MB, free: 5.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.2851, allocations: 0 / 419.6 MB, free: 5.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.2851, allocations: 4.141 kB / 419.6 MB, free: 5.266 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/0.2866, allocations: 1.02 MB / 420.7 MB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.2866, allocations: 4.031 kB / 420.7 MB, free: 4.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.2868, allocations: 39.92 kB / 420.7 MB, free: 4.141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003881/0.2872, allocations: 140.7 kB / 420.8 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-05/0.2872, allocations: 8 kB / 420.8 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002914/0.2901, allocations: 2.538 MB / 423.4 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.2901, allocations: 0 / 423.4 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.2912, allocations: 0.7209 MB / 424.1 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.2914, allocations: 152.5 kB / 424.3 MB, free: 416 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.705e-05/0.2915, allocations: 12 kB / 424.3 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.2917, allocations: 15.98 kB / 424.3 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.481e-05/0.2918, allocations: 39.89 kB / 424.3 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/0.2918, allocations: 11.98 kB / 424.3 MB, free: 336 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002196/0.292, allocations: 215.1 kB / 424.5 MB, free: 120 kB / 334.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.292, allocations: 4 kB / 424.5 MB, free: 116 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006075/0.2927, allocations: 151.7 kB / 424.7 MB, free: 15.96 MB / 350.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.0001592/0.2928, allocations: 108 kB / 424.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.2938, allocations: 0.5485 MB / 425.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.2939, allocations: 0 / 425.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005252/0.2944, allocations: 387.5 kB / 425.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/0.2949, allocations: 80.92 kB / 425.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/0.2966, allocations: 0.8625 MB / 426.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004838/0.2971, allocations: 0.824 MB / 427.5 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001538/0.2973, allocations: 43.3 kB / 427.5 MB, free: 13.03 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.865e-05/0.2974, allocations: 27.44 kB / 427.6 MB, free: 13 MB / 350.1 MB Notification: Performance of SimCode: time 7.51e-07/0.2974, allocations: 4 kB / 427.6 MB, free: 13 MB / 350.1 MB Notification: Performance of Templates: time 0.01326/0.3107, allocations: 6.992 MB / 434.6 MB, free: 6.148 MB / 350.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